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 int
limit
private int
offset
private List<Product>
products
private static long
serialVersionUID
-
Fields inherited from class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
NAMESPACE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
int
getLimit()
int
getOffset()
List<Product>
getProducts()
void
setCount(int count)
void
setLimit(int limit)
void
setOffset(int offset)
void
setProducts(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
-
-