|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.epam.cmemdp.config.beans.Products
public class Products
Field Summary | |
---|---|
protected java.util.List<Product> |
product
|
Constructor Summary | |
---|---|
Products()
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
|
java.util.List<Product> |
getProduct()
Gets the value of the product property. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.List<Product> product
Constructor Detail |
---|
public Products()
Method Detail |
---|
public java.util.List<Product> getProduct()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the product property.
For example, to add a new item, do as follows:
getProduct().add(newItem);
Objects of the following type(s) are allowed in the list
Product
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |