com.epam.cmemdp.config.beans
Class Products

java.lang.Object
  extended by com.epam.cmemdp.config.beans.Products
All Implemented Interfaces:
Findable, java.lang.Comparable

public class Products
extends java.lang.Object
implements Findable


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

product

protected java.util.List<Product> product
Constructor Detail

Products

public Products()
Method Detail

getProduct

public java.util.List<Product> getProduct()
Gets the value of the product property.

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


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.