Class Resource

  • 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",
               comments="JAXB RI v2.3.6",
               date="2022-12-16T10:16:20Z")
    public class Resource
    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}AmountPool" minOccurs="0"/>
             <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}Part" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}SpecificResource" minOccurs="0"/>
             <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="Brand" type="{http://www.w3.org/2001/XMLSchema}string" />
           <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="Duration" type="{http://www.w3.org/2001/XMLSchema}duration" />
           <attribute name="Expires" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="ExternalID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="GrossWeight" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="ID" type="{http://www.w3.org/2001/XMLSchema}ID" />
           <attribute name="Orientation" type="{http://www.CIP4.org/JDFSchema_2_0}Orientation" />
           <attribute name="ResourceWeight" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="Start" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
           <attribute name="StartOffset" type="{http://www.w3.org/2001/XMLSchema}duration" />
           <attribute name="Status">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Available"/>
                 <enumeration value="Unavailable"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="Transformation" type="{http://www.CIP4.org/JDFSchema_2_0}matrix" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • amountPool

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected AmountPool amountPool
      • comment

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.util.List<Comment> comment
      • generalID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.util.List<GeneralID> generalID
      • part

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.util.List<Part> part
      • specificResource

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected javax.xml.bind.JAXBElement<? extends SpecificResource> specificResource
      • any

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.util.List<java.lang.Object> any
      • brand

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.lang.String brand
      • commentURL

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

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.lang.String descriptiveName
      • duration

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected Duration duration
      • expires

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected DateTime expires
      • externalID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.lang.String externalID
      • grossWeight

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.lang.Float grossWeight
      • id

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.lang.String id
      • orientation

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected Orientation orientation
      • resourceWeight

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected java.lang.Float resourceWeight
      • start

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected DateTime start
      • startOffset

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected Duration startOffset
      • status

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected Resource.Status status
      • transformation

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        protected Matrix transformation
    • Constructor Detail

      • Resource

        public Resource()
    • Method Detail

      • getAmountPool

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public AmountPool getAmountPool()
        Gets the value of the amountPool property.
        Returns:
        possible object is AmountPool
      • setAmountPool

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setAmountPool​(AmountPool value)
        Sets the value of the amountPool property.
        Parameters:
        value - allowed object is AmountPool
      • getComment

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        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

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        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

      • getPart

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public java.util.List<Part> getPart()
        Gets the value of the part 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 part property.

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

            getPart().add(newItem);
         

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

      • getAny

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public java.util.List<java.lang.Object> getAny()
        Gets the value of the any 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 any property.

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

            getAny().add(newItem);
         

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

      • getBrand

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public java.lang.String getBrand()
        Gets the value of the brand property.
        Returns:
        possible object is String
      • setBrand

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setBrand​(java.lang.String value)
        Sets the value of the brand property.
        Parameters:
        value - allowed object is String
      • getCommentURL

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        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-16T10:16:20Z")
        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-16T10:16:20Z")
        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 v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setDescriptiveName​(java.lang.String value)
        Sets the value of the descriptiveName property.
        Parameters:
        value - allowed object is String
      • getDuration

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public Duration getDuration()
        Gets the value of the duration property.
        Returns:
        possible object is String
      • setDuration

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setDuration​(Duration value)
        Sets the value of the duration property.
        Parameters:
        value - allowed object is String
      • getExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public DateTime getExpires()
        Gets the value of the expires property.
        Returns:
        possible object is String
      • setExpires

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setExpires​(DateTime value)
        Sets the value of the expires property.
        Parameters:
        value - allowed object is String
      • getExternalID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        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 v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setExternalID​(java.lang.String value)
        Sets the value of the externalID property.
        Parameters:
        value - allowed object is String
      • getGrossWeight

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public java.lang.Float getGrossWeight()
        Gets the value of the grossWeight property.
        Returns:
        possible object is Float
      • setGrossWeight

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setGrossWeight​(java.lang.Float value)
        Sets the value of the grossWeight property.
        Parameters:
        value - allowed object is Float
      • getID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        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 v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setID​(java.lang.String value)
        Sets the value of the id property.
        Parameters:
        value - allowed object is String
      • getOrientation

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public Orientation getOrientation()
        Gets the value of the orientation property.
        Returns:
        possible object is Orientation
      • setOrientation

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setOrientation​(Orientation value)
        Sets the value of the orientation property.
        Parameters:
        value - allowed object is Orientation
      • getResourceWeight

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public java.lang.Float getResourceWeight()
        Gets the value of the resourceWeight property.
        Returns:
        possible object is Float
      • setResourceWeight

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setResourceWeight​(java.lang.Float value)
        Sets the value of the resourceWeight property.
        Parameters:
        value - allowed object is Float
      • getStart

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public DateTime getStart()
        Gets the value of the start property.
        Returns:
        possible object is String
      • setStart

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setStart​(DateTime value)
        Sets the value of the start property.
        Parameters:
        value - allowed object is String
      • getStartOffset

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public Duration getStartOffset()
        Gets the value of the startOffset property.
        Returns:
        possible object is String
      • setStartOffset

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setStartOffset​(Duration value)
        Sets the value of the startOffset property.
        Parameters:
        value - allowed object is String
      • getStatus

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public Resource.Status getStatus()
        Gets the value of the status property.
        Returns:
        possible object is Resource.Status
      • setStatus

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setStatus​(Resource.Status value)
        Sets the value of the status property.
        Parameters:
        value - allowed object is Resource.Status
      • getTransformation

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public Matrix getTransformation()
        Gets the value of the transformation property.
        Returns:
        possible object is String
      • setTransformation

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        public void setTransformation​(Matrix value)
        Sets the value of the transformation property.
        Parameters:
        value - allowed object is String
      • getOtherAttributes

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v2.3.6",
                   date="2022-12-16T10:16:20Z")
        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 Resource withComment​(java.util.Collection<Comment> values)
      • withGeneralID

        public Resource withGeneralID​(java.util.Collection<GeneralID> values)
      • withPart

        public Resource withPart​(java.util.Collection<Part> values)
      • withSpecificResource

        public Resource withSpecificResource​(javax.xml.bind.JAXBElement<? extends SpecificResource> value)
      • withAny

        public Resource withAny​(java.lang.Object... values)
      • withAny

        public Resource withAny​(java.util.Collection<java.lang.Object> values)
      • withBrand

        public Resource withBrand​(java.lang.String value)
      • withCommentURL

        public Resource withCommentURL​(URI value)
      • withDescriptiveName

        public Resource withDescriptiveName​(java.lang.String value)
      • withExternalID

        public Resource withExternalID​(java.lang.String value)
      • withGrossWeight

        public Resource withGrossWeight​(java.lang.Float value)
      • withID

        public Resource withID​(java.lang.String value)
      • withResourceWeight

        public Resource withResourceWeight​(java.lang.Float value)
      • withTransformation

        public Resource withTransformation​(Matrix 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