Package ru.bitel.common.model

# Class Result<L>

java.lang.Object
ru.bitel.common.model.Result<L>

public class Result<L> extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected HashMap<String,Object>`
  `attributes`
  `protected List<L>`
  `list`
  `protected Page`
  `page`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Result()`
  `Result(List<L> list)`
  `Result(List<L> list, Page page)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `getAttribute(String key)`
  `<K> K`
  `getAttribute(String key, Class<K> clazz)`
  `Map<String,Object>`
  `getAttributes()`
  `List<L>`
  `getList()`
  `Page`
  `getPage()`
  `void`
  `setAttribute(String key, Object value)`
  `void`
  `setList(List<L> list)`
  `void`
  `setPage(Page page)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### list

    protected List<L> list

  - ### page

    protected Page page

  - ### attributes

    protected HashMap<String,Object> attributes

- ## Constructor Details

  - ### Result

    public Result()

  - ### Result

    public Result(List<L> list)

  - ### Result

    public Result(List<L> list, Page page)

- ## Method Details

  - ### getList

    public List<L> getList()

  - ### setList

    public void setList(List<L> list)

  - ### getAttribute

    public Object getAttribute(String key)

  - ### getAttribute

    public <K> K getAttribute(String key, Class<K> clazz)

  - ### setAttribute

    public void setAttribute(String key, Object value)

  - ### getAttributes

    public Map<String,Object> getAttributes()

  - ### getPage

    public Page getPage()

  - ### setPage

    public void setPage(Page page)