Class Product

  • All Implemented Interfaces:
    java.io.Serializable

    @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v4.0.1",
               date="2022-12-21T00:11:33Z")
    public class Product
    extends java.lang.Object
    implements java.io.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>
             <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

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.util.List<Comment> comment
      • generalID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.util.List<GeneralID> generalID
      • intent

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.util.List<Intent> intent
      • amount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.Integer amount
      • commentURL

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected URI commentURL
      • descriptiveName

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.String descriptiveName
      • externalID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.String externalID
      • id

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.String id
      • isRoot

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.Boolean isRoot
      • maxAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.Integer maxAmount
      • minAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.Integer minAmount
      • partVersion

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.String partVersion
      • productType

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.String productType
      • productTypeDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11:33Z")
        protected java.lang.String productTypeDetails
    • Constructor Detail

      • Product

        public Product()
    • Method Detail

      • getComment

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11: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 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

        Returns:
        The value of the comment property.
      • getGeneralID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11: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 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

        Returns:
        The value of the generalID property.
      • getIntent

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11: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 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

        Returns:
        The value of the intent property.
      • getAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setAmount​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setDescriptiveName​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setExternalID​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setID​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setIsRoot​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setMaxAmount​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setMinAmount​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setPartVersion​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setProductType​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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="2022-12-21T00:11:33Z")
        public void setProductTypeDetails​(java.lang.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 v4.0.1",
                   date="2022-12-21T00:11: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
      • 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​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object