Class Product

  • All Implemented Interfaces:
    java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    public class Product
    extends java.lang.Object
    implements java.io.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:
    Serialized Form
    • Field Detail

      • comment

        protected java.util.List<Comment> comment
      • generalID

        protected java.util.List<GeneralID> generalID
      • intent

        protected java.util.List<Intent> intent
      • amount

        protected java.lang.Integer amount
      • commentURL

        protected URI commentURL
      • descriptiveName

        protected java.lang.String descriptiveName
      • externalID

        protected java.lang.String externalID
      • id

        protected java.lang.String id
      • isRoot

        protected java.lang.Boolean isRoot
      • maxAmount

        protected java.lang.Integer maxAmount
      • minAmount

        protected java.lang.Integer minAmount
      • partVersion

        protected java.lang.String partVersion
      • productType

        protected java.lang.String productType
      • productTypeDetails

        protected java.lang.String productTypeDetails
    • Constructor Detail

      • Product

        public Product()
    • Method Detail

      • getComment

        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 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

        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 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

        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 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

        public java.lang.Integer getAmount()
        Gets the value of the amount property.
        Returns:
        possible object is Integer
      • setAmount

        public void setAmount​(java.lang.Integer value)
        Sets the value of the amount property.
        Parameters:
        value - allowed object is Integer
      • getCommentURL

        public URI getCommentURL()
        Gets the value of the commentURL property.
        Returns:
        possible object is String
      • setCommentURL

        public void setCommentURL​(URI value)
        Sets the value of the commentURL property.
        Parameters:
        value - allowed object is String
      • getDescriptiveName

        public java.lang.String getDescriptiveName()
        Gets the value of the descriptiveName property.
        Returns:
        possible object is String
      • setDescriptiveName

        public void setDescriptiveName​(java.lang.String value)
        Sets the value of the descriptiveName property.
        Parameters:
        value - allowed object is String
      • getExternalID

        public java.lang.String getExternalID()
        Gets the value of the externalID property.
        Returns:
        possible object is String
      • setExternalID

        public void setExternalID​(java.lang.String value)
        Sets the value of the externalID property.
        Parameters:
        value - allowed object is String
      • getID

        public java.lang.String getID()
        Gets the value of the id property.
        Returns:
        possible object is String
      • setID

        public void setID​(java.lang.String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • isIsRoot

        public java.lang.Boolean isIsRoot()
        Gets the value of the isRoot property.
        Returns:
        possible object is Boolean
      • setIsRoot

        public void setIsRoot​(java.lang.Boolean value)
        Sets the value of the isRoot property.
        Parameters:
        value - allowed object is Boolean
      • getMaxAmount

        public java.lang.Integer getMaxAmount()
        Gets the value of the maxAmount property.
        Returns:
        possible object is Integer
      • setMaxAmount

        public void setMaxAmount​(java.lang.Integer value)
        Sets the value of the maxAmount property.
        Parameters:
        value - allowed object is Integer
      • getMinAmount

        public java.lang.Integer getMinAmount()
        Gets the value of the minAmount property.
        Returns:
        possible object is Integer
      • setMinAmount

        public void setMinAmount​(java.lang.Integer value)
        Sets the value of the minAmount property.
        Parameters:
        value - allowed object is Integer
      • getPartVersion

        public java.lang.String getPartVersion()
        Gets the value of the partVersion property.
        Returns:
        possible object is String
      • setPartVersion

        public void setPartVersion​(java.lang.String value)
        Sets the value of the partVersion property.
        Parameters:
        value - allowed object is String
      • getProductType

        public java.lang.String getProductType()
        Gets the value of the productType property.
        Returns:
        possible object is String
      • setProductType

        public void setProductType​(java.lang.String value)
        Sets the value of the productType property.
        Parameters:
        value - allowed object is String
      • getProductTypeDetails

        public java.lang.String getProductTypeDetails()
        Gets the value of the productTypeDetails property.
        Returns:
        possible object is String
      • setProductTypeDetails

        public void setProductTypeDetails​(java.lang.String value)
        Sets the value of the productTypeDetails property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        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
      • withComment

        public Product withComment​(java.util.Collection<Comment> values)
      • withGeneralID

        public Product withGeneralID​(java.util.Collection<GeneralID> values)
      • withIntent

        public Product withIntent​(java.util.Collection<Intent> values)
      • withAmount

        public Product withAmount​(java.lang.Integer value)
      • withCommentURL

        public Product withCommentURL​(URI 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​(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                              org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                              java.lang.Object object,
                              org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
        Specified by:
        equals in interface org.jvnet.jaxb2_commons.lang.Equals2
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.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 java.lang.Object