public class Product extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}GeneralID" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}ChildProduct" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.CIP4.org/JDFSchema_2_0}Intent" maxOccurs="unbounded" minOccurs="0"/>
</choice>
</sequence>
<attribute name="ID" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}ID" />
<attribute name="DescriptiveName" type="{http://www.CIP4.org/JDFSchema_2_0}string" />
<attribute name="Amount" type="{http://www.CIP4.org/JDFSchema_2_0}integer" />
<attribute name="ProductID" type="{http://www.CIP4.org/JDFSchema_2_0}shortString" />
<attribute name="ProductType" type="{http://www.CIP4.org/JDFSchema_2_0}NMTOKEN" />
<attribute name="ProductTypeDetails" type="{http://www.CIP4.org/JDFSchema_2_0}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
amount |
protected List<ChildProduct> |
childProducts |
protected List<Comment> |
comments |
protected String |
descriptiveName |
protected List<GeneralID> |
generalIDs |
protected String |
id |
protected List<Intent> |
intents |
protected String |
productID |
protected String |
productType |
protected String |
productTypeDetails |
| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAmount()
Gets the value of the amount property.
|
List<ChildProduct> |
getChildProducts()
Gets the value of the childProducts property.
|
List<Comment> |
getComments()
Gets the value of the comments property.
|
String |
getDescriptiveName()
Gets the value of the descriptiveName property.
|
List<GeneralID> |
getGeneralIDs()
Gets the value of the generalIDs property.
|
String |
getID()
Gets the value of the id property.
|
List<Intent> |
getIntents()
Gets the value of the intents property.
|
String |
getProductID()
Gets the value of the productID property.
|
String |
getProductType()
Gets the value of the productType property.
|
String |
getProductTypeDetails()
Gets the value of the productTypeDetails property.
|
void |
setAmount(Integer value)
Sets the value of the amount property.
|
void |
setDescriptiveName(String value)
Sets the value of the descriptiveName property.
|
void |
setID(String value)
Sets the value of the id property.
|
void |
setProductID(String value)
Sets the value of the productID property.
|
void |
setProductType(String value)
Sets the value of the productType property.
|
void |
setProductTypeDetails(String value)
Sets the value of the productTypeDetails property.
|
protected List<ChildProduct> childProducts
protected String id
protected String descriptiveName
protected Integer amount
protected String productID
protected String productType
protected String productTypeDetails
public List<Intent> getIntents()
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 intents property.
For example, to add a new item, do as follows:
getIntents().add(newItem);
Objects of the following type(s) are allowed in the list
Intent
public List<ChildProduct> getChildProducts()
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 childProducts property.
For example, to add a new item, do as follows:
getChildProducts().add(newItem);
Objects of the following type(s) are allowed in the list
ChildProduct
public List<Comment> getComments()
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 comments property.
For example, to add a new item, do as follows:
getComments().add(newItem);
Objects of the following type(s) are allowed in the list
Comment
public List<GeneralID> getGeneralIDs()
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 generalIDs property.
For example, to add a new item, do as follows:
getGeneralIDs().add(newItem);
Objects of the following type(s) are allowed in the list
GeneralID
public void setID(String value)
value - allowed object is
Stringpublic String getDescriptiveName()
Stringpublic void setDescriptiveName(String value)
value - allowed object is
Stringpublic Integer getAmount()
Integerpublic void setAmount(Integer value)
value - allowed object is
Integerpublic String getProductID()
Stringpublic void setProductID(String value)
value - allowed object is
Stringpublic String getProductType()
Stringpublic void setProductType(String value)
value - allowed object is
Stringpublic String getProductTypeDetails()
StringCopyright © 2012. All Rights Reserved.