com.epam.cmemdp.config.beans
Class Product

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

public class Product
extends java.lang.Object
implements Findable


Field Summary
protected  java.lang.String code
           
protected  java.util.List<Group> group
           
 
Constructor Summary
Product()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.String getCode()
          Gets the value of the code property.
 java.util.List<Group> getGroup()
          Gets the value of the group property.
 void setCode(java.lang.String value)
          Sets the value of the code property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

group

protected java.util.List<Group> group

code

protected java.lang.String code
Constructor Detail

Product

public Product()
Method Detail

getGroup

public java.util.List<Group> getGroup()
Gets the value of the group 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 group property.

For example, to add a new item, do as follows:

    getGroup().add(newItem);
 

Objects of the following type(s) are allowed in the list Group


getCode

public java.lang.String getCode()
Gets the value of the code property.

Returns:
possible object is String

setCode

public void setCode(java.lang.String value)
Sets the value of the code property.

Parameters:
value - allowed object is String

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.