public class Product extends Object implements com.epam.xml.common.Findable
| Modifier and Type | Field and Description |
|---|---|
protected String |
code |
protected List<Group> |
group |
| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
String |
getCode()
Gets the value of the code property.
|
List<Group> |
getGroup()
Gets the value of the group property.
|
void |
setCode(String value)
Sets the value of the code property.
|
String |
toString() |
public List<Group> getGroup()
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
Grouppublic String getCode()
Stringpublic void setCode(String value)
value - allowed object is
Stringpublic int compareTo(Object o)
compareTo in interface ComparableCopyright © 2000–2025 EPAM Systems. All rights reserved.