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()
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
public String getCode()
String
public void setCode(String value)
value
- allowed object is
String
public int compareTo(Object o)
compareTo
in interface Comparable
Copyright © 2000–2025 EPAM Systems. All rights reserved.