Class Product
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.Product
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public class Product extends java.lang.Object implements java.io.SerializableJava 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> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}GeneralID" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}Intent" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Amount" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="CommentURL" type="{http://www.CIP4.org/JDFSchema_2_0}URL" /> <attribute name="DescriptiveName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="ExternalID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" /> <attribute name="IsRoot" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="MaxAmount" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="MinAmount" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="PartVersion" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ProductType" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ProductTypeDetails" type="{http://www.w3.org/2001/XMLSchema}string" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Integeramountprotected java.util.List<Comment>commentprotected URIcommentURLprotected java.lang.StringdescriptiveNameprotected java.lang.StringexternalIDprotected java.util.List<GeneralID>generalIDprotected java.lang.Stringidprotected java.util.List<Intent>intentprotected java.lang.BooleanisRootprotected java.lang.IntegermaxAmountprotected java.lang.IntegerminAmountprotected java.lang.StringpartVersionprotected java.lang.StringproductTypeprotected java.lang.StringproductTypeDetails
-
Constructor Summary
Constructors Constructor Description Product()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)java.lang.IntegergetAmount()Gets the value of the amount property.java.util.List<Comment>getComment()Gets the value of the comment property.URIgetCommentURL()Gets the value of the commentURL property.java.lang.StringgetDescriptiveName()Gets the value of the descriptiveName property.java.lang.StringgetExternalID()Gets the value of the externalID property.java.util.List<GeneralID>getGeneralID()Gets the value of the generalID property.java.lang.StringgetID()Gets the value of the id property.java.util.List<Intent>getIntent()Gets the value of the intent property.java.lang.IntegergetMaxAmount()Gets the value of the maxAmount property.java.lang.IntegergetMinAmount()Gets the value of the minAmount property.java.util.Map<javax.xml.namespace.QName,java.lang.String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.java.lang.StringgetPartVersion()Gets the value of the partVersion property.java.lang.StringgetProductType()Gets the value of the productType property.java.lang.StringgetProductTypeDetails()Gets the value of the productTypeDetails property.inthashCode()java.lang.BooleanisIsRoot()Gets the value of the isRoot property.voidsetAmount(java.lang.Integer value)Sets the value of the amount property.voidsetCommentURL(URI value)Sets the value of the commentURL property.voidsetDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.voidsetExternalID(java.lang.String value)Sets the value of the externalID property.voidsetID(java.lang.String value)Sets the value of the id property.voidsetIsRoot(java.lang.Boolean value)Sets the value of the isRoot property.voidsetMaxAmount(java.lang.Integer value)Sets the value of the maxAmount property.voidsetMinAmount(java.lang.Integer value)Sets the value of the minAmount property.voidsetPartVersion(java.lang.String value)Sets the value of the partVersion property.voidsetProductType(java.lang.String value)Sets the value of the productType property.voidsetProductTypeDetails(java.lang.String value)Sets the value of the productTypeDetails property.ProductwithAmount(java.lang.Integer value)ProductwithComment(java.util.Collection<Comment> values)ProductwithComment(Comment... values)ProductwithCommentURL(URI value)ProductwithDescriptiveName(java.lang.String value)ProductwithExternalID(java.lang.String value)ProductwithGeneralID(java.util.Collection<GeneralID> values)ProductwithGeneralID(GeneralID... values)ProductwithID(java.lang.String value)ProductwithIntent(java.util.Collection<Intent> values)ProductwithIntent(Intent... values)ProductwithIsRoot(java.lang.Boolean value)ProductwithMaxAmount(java.lang.Integer value)ProductwithMinAmount(java.lang.Integer value)ProductwithPartVersion(java.lang.String value)ProductwithProductType(java.lang.String value)ProductwithProductTypeDetails(java.lang.String value)
-
-
-
Field Detail
-
comment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.util.List<Comment> comment
-
generalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.util.List<GeneralID> generalID
-
intent
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.util.List<Intent> intent
-
amount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.Integer amount
-
commentURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected URI commentURL
-
descriptiveName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.String descriptiveName
-
externalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.String externalID
-
id
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.String id
-
isRoot
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.Boolean isRoot
-
maxAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.Integer maxAmount
-
minAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.Integer minAmount
-
partVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.String partVersion
-
productType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.String productType
-
productTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") protected java.lang.String productTypeDetails
-
-
Method Detail
-
getComment
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.util.List<Comment> getComment()Gets the value of the comment 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 Jakarta XML Binding object. This is why there is not a
setmethod for the comment property.For example, to add a new item, do as follows:
getComment().add(newItem);Objects of the following type(s) are allowed in the list
Comment- Returns:
- The value of the comment property.
-
getGeneralID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.util.List<GeneralID> getGeneralID()Gets the value of the generalID 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 Jakarta XML Binding object. This is why there is not a
setmethod for the generalID property.For example, to add a new item, do as follows:
getGeneralID().add(newItem);Objects of the following type(s) are allowed in the list
GeneralID- Returns:
- The value of the generalID property.
-
getIntent
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.util.List<Intent> getIntent()Gets the value of the intent 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 Jakarta XML Binding object. This is why there is not a
setmethod for the intent property.For example, to add a new item, do as follows:
getIntent().add(newItem);Objects of the following type(s) are allowed in the list
Intent- Returns:
- The value of the intent property.
-
getAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.Integer getAmount()Gets the value of the amount property.- Returns:
- possible object is
Integer
-
setAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setAmount(java.lang.Integer value)Sets the value of the amount property.- Parameters:
value- allowed object isInteger
-
getCommentURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public URI getCommentURL()Gets the value of the commentURL property.- Returns:
- possible object is
String
-
setCommentURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setCommentURL(URI value)Sets the value of the commentURL property.- Parameters:
value- allowed object isString
-
getDescriptiveName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.String getDescriptiveName()Gets the value of the descriptiveName property.- Returns:
- possible object is
String
-
setDescriptiveName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setDescriptiveName(java.lang.String value)Sets the value of the descriptiveName property.- Parameters:
value- allowed object isString
-
getExternalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.String getExternalID()Gets the value of the externalID property.- Returns:
- possible object is
String
-
setExternalID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setExternalID(java.lang.String value)Sets the value of the externalID property.- Parameters:
value- allowed object isString
-
getID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.String getID()Gets the value of the id property.- Returns:
- possible object is
String
-
setID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setID(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
isIsRoot
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.Boolean isIsRoot()Gets the value of the isRoot property.- Returns:
- possible object is
Boolean
-
setIsRoot
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setIsRoot(java.lang.Boolean value)Sets the value of the isRoot property.- Parameters:
value- allowed object isBoolean
-
getMaxAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.Integer getMaxAmount()Gets the value of the maxAmount property.- Returns:
- possible object is
Integer
-
setMaxAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setMaxAmount(java.lang.Integer value)Sets the value of the maxAmount property.- Parameters:
value- allowed object isInteger
-
getMinAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.Integer getMinAmount()Gets the value of the minAmount property.- Returns:
- possible object is
Integer
-
setMinAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setMinAmount(java.lang.Integer value)Sets the value of the minAmount property.- Parameters:
value- allowed object isInteger
-
getPartVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.String getPartVersion()Gets the value of the partVersion property.- Returns:
- possible object is
String
-
setPartVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setPartVersion(java.lang.String value)Sets the value of the partVersion property.- Parameters:
value- allowed object isString
-
getProductType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.String getProductType()Gets the value of the productType property.- Returns:
- possible object is
String
-
setProductType
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setProductType(java.lang.String value)Sets the value of the productType property.- Parameters:
value- allowed object isString
-
getProductTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.lang.String getProductTypeDetails()Gets the value of the productTypeDetails property.- Returns:
- possible object is
String
-
setProductTypeDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public void setProductTypeDetails(java.lang.String value)Sets the value of the productTypeDetails property.- Parameters:
value- allowed object isString
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2023-01-02T18:51:33Z") public java.util.Map<javax.xml.namespace.QName,java.lang.String> getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
- Returns:
- always non-null
-
withAmount
public Product withAmount(java.lang.Integer value)
-
withDescriptiveName
public Product withDescriptiveName(java.lang.String value)
-
withExternalID
public Product withExternalID(java.lang.String value)
-
withID
public Product withID(java.lang.String value)
-
withIsRoot
public Product withIsRoot(java.lang.Boolean value)
-
withMaxAmount
public Product withMaxAmount(java.lang.Integer value)
-
withMinAmount
public Product withMinAmount(java.lang.Integer value)
-
withPartVersion
public Product withPartVersion(java.lang.String value)
-
withProductType
public Product withProductType(java.lang.String value)
-
withProductTypeDetails
public Product withProductTypeDetails(java.lang.String value)
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-