Class Categories
- java.lang.Object
-
- ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
-
- ejava.examples.ejbwar.inventory.bo.Categories
-
- All Implemented Interfaces:
Serializable
public class Categories extends InventoryRepresentation
This class is used to represent a collection of categories to/from the server. It also contains some of the collection metadata.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private List<Category>
categories
private int
limit
private int
offset
private static long
serialVersionUID
-
Fields inherited from class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
NAMESPACE
-
-
Constructor Summary
Constructors Constructor Description Categories()
Categories(List<Category> categories, int offset, int limit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Category>
getCategories()
int
getCount()
int
getLimit()
int
getOffset()
void
setCategories(List<Category> categories)
void
setCount(int count)
void
setLimit(int limit)
void
setOffset(int offset)
-
Methods inherited from class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
getVersion, setVersion
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
offset
private int offset
-
limit
private int limit
-
-