Class Product

java.lang.Object
org.cip4.lib.xjdf.schema.Product
All Implemented Interfaces:
Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public class Product extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

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>
         <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:
  • Field Details

    • comment

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<Comment> comment
    • generalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<GeneralID> generalID
    • intent

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<Intent> intent
    • amount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Integer amount
    • commentURL

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected URI commentURL
    • descriptiveName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String descriptiveName
    • externalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String externalID
    • id

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String id
    • isRoot

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Boolean isRoot
    • maxAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Integer maxAmount
    • minAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Integer minAmount
    • partVersion

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String partVersion
    • productType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String productType
    • productTypeDetails

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String productTypeDetails
  • Constructor Details

    • Product

      public Product()
  • Method Details

    • getComment

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 JAXB object. This is why there is not a set method 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

    • getGeneralID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 JAXB object. This is why there is not a set method 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

    • getIntent

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 JAXB object. This is why there is not a set method 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

    • getAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setAmount(Integer value)
      Sets the value of the amount property.
      Parameters:
      value - allowed object is Integer
    • getCommentURL

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setCommentURL(URI value)
      Sets the value of the commentURL property.
      Parameters:
      value - allowed object is String
    • getDescriptiveName

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setDescriptiveName(String value)
      Sets the value of the descriptiveName property.
      Parameters:
      value - allowed object is String
    • getExternalID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setExternalID(String value)
      Sets the value of the externalID property.
      Parameters:
      value - allowed object is String
    • getID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setID(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • isIsRoot

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setIsRoot(Boolean value)
      Sets the value of the isRoot property.
      Parameters:
      value - allowed object is Boolean
    • getMaxAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setMaxAmount(Integer value)
      Sets the value of the maxAmount property.
      Parameters:
      value - allowed object is Integer
    • getMinAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setMinAmount(Integer value)
      Sets the value of the minAmount property.
      Parameters:
      value - allowed object is Integer
    • getPartVersion

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setPartVersion(String value)
      Sets the value of the partVersion property.
      Parameters:
      value - allowed object is String
    • getProductType

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setProductType(String value)
      Sets the value of the productType property.
      Parameters:
      value - allowed object is String
    • getProductTypeDetails

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setProductTypeDetails(String value)
      Sets the value of the productTypeDetails property.
      Parameters:
      value - allowed object is String
    • getOtherAttributes

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public Map<QName,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
    • withComment

      public Product withComment(Comment... values)
    • withComment

      public Product withComment(Collection<Comment> values)
    • withGeneralID

      public Product withGeneralID(GeneralID... values)
    • withGeneralID

      public Product withGeneralID(Collection<GeneralID> values)
    • withIntent

      public Product withIntent(Intent... values)
    • withIntent

      public Product withIntent(Collection<Intent> values)
    • withAmount

      public Product withAmount(Integer value)
    • withCommentURL

      public Product withCommentURL(URI value)
    • withDescriptiveName

      public Product withDescriptiveName(String value)
    • withExternalID

      public Product withExternalID(String value)
    • withID

      public Product withID(String value)
    • withIsRoot

      public Product withIsRoot(Boolean value)
    • withMaxAmount

      public Product withMaxAmount(Integer value)
    • withMinAmount

      public Product withMinAmount(Integer value)
    • withPartVersion

      public Product withPartVersion(String value)
    • withProductType

      public Product withProductType(String value)
    • withProductTypeDetails

      public Product withProductTypeDetails(String value)
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
      Specified by:
      hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object