Class ResourceInfo

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

    public class ResourceInfo
    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}Event" maxOccurs="unbounded" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}MISDetails" minOccurs="0"/>
             <element ref="{http://www.CIP4.org/JDFSchema_2_0}ResourceSet"/>
           </sequence>
           <attribute name="CommandResult">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Merged"/>
                 <enumeration value="New"/>
                 <enumeration value="Rejected"/>
                 <enumeration value="Removed"/>
                 <enumeration value="Replaced"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="JobID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="JobPartID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="Level">
             <simpleType>
               <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
                 <enumeration value="Empty"/>
                 <enumeration value="Full"/>
                 <enumeration value="High"/>
                 <enumeration value="Low"/>
                 <enumeration value="OK"/>
               </restriction>
             </simpleType>
           </attribute>
           <attribute name="ModuleID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="QueueEntryID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
           <attribute name="Scope" type="{http://www.CIP4.org/JDFSchema_2_0}Scope" />
           <attribute name="Speed" type="{http://www.w3.org/2001/XMLSchema}float" />
           <attribute name="Types" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
           <attribute name="TotalAmount" type="{http://www.w3.org/2001/XMLSchema}float" />
           <anyAttribute processContents='lax' namespace='##other'/>
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • event

        protected java.util.List<Event> event
      • jobID

        protected java.lang.String jobID
      • jobPartID

        protected java.lang.String jobPartID
      • moduleID

        protected java.lang.String moduleID
      • queueEntryID

        protected java.lang.String queueEntryID
      • scope

        protected Scope scope
      • speed

        protected java.lang.Float speed
      • types

        protected java.util.List<java.lang.String> types
      • totalAmount

        protected java.lang.Float totalAmount
    • Constructor Detail

      • ResourceInfo

        public ResourceInfo()
    • Method Detail

      • getEvent

        public java.util.List<Event> getEvent()
        Gets the value of the event 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 event property.

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

            getEvent().add(newItem);
         

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

      • getMISDetails

        public MISDetails getMISDetails()
        Gets the value of the misDetails property.
        Returns:
        possible object is MISDetails
      • setMISDetails

        public void setMISDetails​(MISDetails value)
        Sets the value of the misDetails property.
        Parameters:
        value - allowed object is MISDetails
      • getResourceSet

        public ResourceSet getResourceSet()
        Gets the value of the resourceSet property.
        Returns:
        possible object is ResourceSet
      • setResourceSet

        public void setResourceSet​(ResourceSet value)
        Sets the value of the resourceSet property.
        Parameters:
        value - allowed object is ResourceSet
      • getJobID

        public java.lang.String getJobID()
        Gets the value of the jobID property.
        Returns:
        possible object is String
      • setJobID

        public void setJobID​(java.lang.String value)
        Sets the value of the jobID property.
        Parameters:
        value - allowed object is String
      • getJobPartID

        public java.lang.String getJobPartID()
        Gets the value of the jobPartID property.
        Returns:
        possible object is String
      • setJobPartID

        public void setJobPartID​(java.lang.String value)
        Sets the value of the jobPartID property.
        Parameters:
        value - allowed object is String
      • getModuleID

        public java.lang.String getModuleID()
        Gets the value of the moduleID property.
        Returns:
        possible object is String
      • setModuleID

        public void setModuleID​(java.lang.String value)
        Sets the value of the moduleID property.
        Parameters:
        value - allowed object is String
      • getQueueEntryID

        public java.lang.String getQueueEntryID()
        Gets the value of the queueEntryID property.
        Returns:
        possible object is String
      • setQueueEntryID

        public void setQueueEntryID​(java.lang.String value)
        Sets the value of the queueEntryID property.
        Parameters:
        value - allowed object is String
      • getScope

        public Scope getScope()
        Gets the value of the scope property.
        Returns:
        possible object is Scope
      • setScope

        public void setScope​(Scope value)
        Sets the value of the scope property.
        Parameters:
        value - allowed object is Scope
      • getSpeed

        public java.lang.Float getSpeed()
        Gets the value of the speed property.
        Returns:
        possible object is Float
      • setSpeed

        public void setSpeed​(java.lang.Float value)
        Sets the value of the speed property.
        Parameters:
        value - allowed object is Float
      • getTypes

        public java.util.List<java.lang.String> getTypes()
        Gets the value of the types 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 types property.

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

            getTypes().add(newItem);
         

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

      • getTotalAmount

        public java.lang.Float getTotalAmount()
        Gets the value of the totalAmount property.
        Returns:
        possible object is Float
      • setTotalAmount

        public void setTotalAmount​(java.lang.Float value)
        Sets the value of the totalAmount property.
        Parameters:
        value - allowed object is Float
      • 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
      • withJobID

        public ResourceInfo withJobID​(java.lang.String value)
      • withJobPartID

        public ResourceInfo withJobPartID​(java.lang.String value)
      • withModuleID

        public ResourceInfo withModuleID​(java.lang.String value)
      • withQueueEntryID

        public ResourceInfo withQueueEntryID​(java.lang.String value)
      • withSpeed

        public ResourceInfo withSpeed​(java.lang.Float value)
      • withTypes

        public ResourceInfo withTypes​(java.lang.String... values)
      • withTypes

        public ResourceInfo withTypes​(java.util.Collection<java.lang.String> values)
      • withTotalAmount

        public ResourceInfo withTotalAmount​(java.lang.Float 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