Class Products
- java.lang.Object
-
- ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
-
- ejava.examples.ejbwar.inventory.bo.Products
-
- All Implemented Interfaces:
Serializable
@JsonbAnnotation public class Products extends InventoryRepresentation
This class is used to represent a collection of products 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 intlimitprivate intoffsetprivate List<Product>productsprivate static longserialVersionUID-
Fields inherited from class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
NAMESPACE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCount()intgetLimit()intgetOffset()List<Product>getProducts()voidsetCount(int count)voidsetLimit(int limit)voidsetOffset(int offset)voidsetProducts(List<Product> products)-
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
-
-