Class PurchaseOrder

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

    @Generated(value="com.sun.tools.xjc.Driver",
               date="2020-04-08T08:04:58+00:00",
               comments="JAXB RI v2.3.2")
    public class PurchaseOrder
    extends BaseElement
    implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2

    Java class for PurchaseOrder complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="PurchaseOrder">
       <complexContent>
         <extension base="{http://www.printtalk.org/schema_20}BaseElement">
           <sequence>
             <element name="MasterContract" type="{http://www.printtalk.org/schema_20}MasterContract" minOccurs="0"/>
             <element name="Pricing" type="{http://www.printtalk.org/schema_20}Pricing" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}Comment" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}XJDF" maxOccurs="unbounded"/>
           </sequence>
           <attribute name="Expires" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="QuoteID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="ReorderID" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
           <attribute name="ReturnAudits" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
           <attribute name="ReturnJDF" type="{http://www.w3.org/2001/XMLSchema}boolean" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • masterContract

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected MasterContract masterContract
      • pricing

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected Pricing pricing
      • comment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected org.cip4.lib.xjdf.schema.Comment comment
      • xjdf

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.util.List<org.cip4.lib.xjdf.schema.XJDF> xjdf
      • expires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected org.cip4.lib.xjdf.type.DateTime expires
      • quoteID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.String quoteID
      • reorderID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.util.List<java.lang.String> reorderID
      • returnAudits

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.util.List<java.lang.String> returnAudits
      • returnJDF

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        protected java.lang.Boolean returnJDF
    • Constructor Detail

      • PurchaseOrder

        public PurchaseOrder()
    • Method Detail

      • getMasterContract

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public MasterContract getMasterContract()
        Gets the value of the masterContract property.
        Returns:
        possible object is MasterContract
      • setMasterContract

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setMasterContract​(MasterContract value)
        Sets the value of the masterContract property.
        Parameters:
        value - allowed object is MasterContract
      • getPricing

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public Pricing getPricing()
        Gets the value of the pricing property.
        Returns:
        possible object is Pricing
      • setPricing

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setPricing​(Pricing value)
        Sets the value of the pricing property.
        Parameters:
        value - allowed object is Pricing
      • getComment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public org.cip4.lib.xjdf.schema.Comment getComment()
        Gets the value of the comment property.
        Returns:
        possible object is Comment
      • setComment

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setComment​(org.cip4.lib.xjdf.schema.Comment value)
        Sets the value of the comment property.
        Parameters:
        value - allowed object is Comment
      • getXJDF

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.util.List<org.cip4.lib.xjdf.schema.XJDF> getXJDF()
        Gets the value of the xjdf 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 xjdf property.

        For example, to add a new item, do as follows:

            getXJDF().add(newItem);
         

        Objects of the following type(s) are allowed in the list XJDF

      • getExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public org.cip4.lib.xjdf.type.DateTime getExpires()
        Gets the value of the expires property.
        Returns:
        possible object is String
      • setExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setExpires​(org.cip4.lib.xjdf.type.DateTime value)
        Sets the value of the expires property.
        Parameters:
        value - allowed object is String
      • getQuoteID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.String getQuoteID()
        Gets the value of the quoteID property.
        Returns:
        possible object is String
      • setQuoteID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setQuoteID​(java.lang.String value)
        Sets the value of the quoteID property.
        Parameters:
        value - allowed object is String
      • getReorderID

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.util.List<java.lang.String> getReorderID()
        Gets the value of the reorderID 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 reorderID property.

        For example, to add a new item, do as follows:

            getReorderID().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getReturnAudits

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.util.List<java.lang.String> getReturnAudits()
        Gets the value of the returnAudits 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 returnAudits property.

        For example, to add a new item, do as follows:

            getReturnAudits().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • isReturnJDF

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public java.lang.Boolean isReturnJDF()
        Gets the value of the returnJDF property.
        Returns:
        possible object is Boolean
      • setReturnJDF

        @Generated(value="com.sun.tools.xjc.Driver",
                   date="2020-04-08T08:04:58+00:00",
                   comments="JAXB RI v2.3.2")
        public void setReturnJDF​(java.lang.Boolean value)
        Sets the value of the returnJDF property.
        Parameters:
        value - allowed object is Boolean
      • withComment

        public PurchaseOrder withComment​(org.cip4.lib.xjdf.schema.Comment value)
      • withXJDF

        public PurchaseOrder withXJDF​(org.cip4.lib.xjdf.schema.XJDF... values)
      • withXJDF

        public PurchaseOrder withXJDF​(java.util.Collection<org.cip4.lib.xjdf.schema.XJDF> values)
      • withExpires

        public PurchaseOrder withExpires​(org.cip4.lib.xjdf.type.DateTime value)
      • withQuoteID

        public PurchaseOrder withQuoteID​(java.lang.String value)
      • withReorderID

        public PurchaseOrder withReorderID​(java.lang.String... values)
      • withReorderID

        public PurchaseOrder withReorderID​(java.util.Collection<java.lang.String> values)
      • withReturnAudits

        public PurchaseOrder withReturnAudits​(java.lang.String... values)
      • withReturnAudits

        public PurchaseOrder withReturnAudits​(java.util.Collection<java.lang.String> values)
      • withReturnJDF

        public PurchaseOrder withReturnJDF​(java.lang.Boolean 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
        Overrides:
        equals in class BaseElement
      • equals

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