public class Product extends Object implements Findable
Modifier and Type | Field and Description |
---|---|
protected String |
code |
protected List<Group> |
group |
Constructor and Description |
---|
Product() |
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
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-2017 EPAM Systems. All Rights Reserved.