Class ResourceInfo

  • All Implemented Interfaces:
    java.io.Serializable

    @Generated(value="com.sun.tools.xjc.Driver",
               comments="JAXB RI v4.0.2",
               date="2023-07-17T18:40:39Z")
    public class ResourceInfo
    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}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

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.util.List<Event> event
      • misDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected MISDetails misDetails
      • resourceSet

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected ResourceSet resourceSet
      • commandResult

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected ResourceInfo.CommandResult commandResult
      • jobID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.String jobID
      • jobPartID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.String jobPartID
      • level

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected ResourceInfo.Level level
      • moduleID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.String moduleID
      • queueEntryID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.String queueEntryID
      • scope

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected Scope scope
      • speed

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.Float speed
      • types

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.util.List<java.lang.String> types
      • totalAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        protected java.lang.Float totalAmount
    • Constructor Detail

      • ResourceInfo

        public ResourceInfo()
    • Method Detail

      • getEvent

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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 Jakarta XML Binding 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

        Returns:
        The value of the event property.
      • getMISDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public MISDetails getMISDetails()
        Gets the value of the misDetails property.
        Returns:
        possible object is MISDetails
      • setMISDetails

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setMISDetails​(MISDetails value)
        Sets the value of the misDetails property.
        Parameters:
        value - allowed object is MISDetails
      • getResourceSet

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public ResourceSet getResourceSet()
        Gets the value of the resourceSet property.
        Returns:
        possible object is ResourceSet
      • setResourceSet

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setResourceSet​(ResourceSet value)
        Sets the value of the resourceSet property.
        Parameters:
        value - allowed object is ResourceSet
      • getCommandResult

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public ResourceInfo.CommandResult getCommandResult()
        Gets the value of the commandResult property.
        Returns:
        possible object is ResourceInfo.CommandResult
      • setCommandResult

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setCommandResult​(ResourceInfo.CommandResult value)
        Sets the value of the commandResult property.
        Parameters:
        value - allowed object is ResourceInfo.CommandResult
      • getJobID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public java.lang.String getJobID()
        Gets the value of the jobID property.
        Returns:
        possible object is String
      • setJobID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setJobID​(java.lang.String value)
        Sets the value of the jobID property.
        Parameters:
        value - allowed object is String
      • getJobPartID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public java.lang.String getJobPartID()
        Gets the value of the jobPartID property.
        Returns:
        possible object is String
      • setJobPartID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setJobPartID​(java.lang.String value)
        Sets the value of the jobPartID property.
        Parameters:
        value - allowed object is String
      • getLevel

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public ResourceInfo.Level getLevel()
        Gets the value of the level property.
        Returns:
        possible object is ResourceInfo.Level
      • setLevel

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setLevel​(ResourceInfo.Level value)
        Sets the value of the level property.
        Parameters:
        value - allowed object is ResourceInfo.Level
      • getModuleID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public java.lang.String getModuleID()
        Gets the value of the moduleID property.
        Returns:
        possible object is String
      • setModuleID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setModuleID​(java.lang.String value)
        Sets the value of the moduleID property.
        Parameters:
        value - allowed object is String
      • getQueueEntryID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public java.lang.String getQueueEntryID()
        Gets the value of the queueEntryID property.
        Returns:
        possible object is String
      • setQueueEntryID

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setQueueEntryID​(java.lang.String value)
        Sets the value of the queueEntryID property.
        Parameters:
        value - allowed object is String
      • getScope

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public Scope getScope()
        Gets the value of the scope property.
        Returns:
        possible object is Scope
      • setScope

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setScope​(Scope value)
        Sets the value of the scope property.
        Parameters:
        value - allowed object is Scope
      • getSpeed

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public java.lang.Float getSpeed()
        Gets the value of the speed property.
        Returns:
        possible object is Float
      • setSpeed

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setSpeed​(java.lang.Float value)
        Sets the value of the speed property.
        Parameters:
        value - allowed object is Float
      • getTypes

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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 Jakarta XML Binding 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

        Returns:
        The value of the types property.
      • getTotalAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public java.lang.Float getTotalAmount()
        Gets the value of the totalAmount property.
        Returns:
        possible object is Float
      • setTotalAmount

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        public void setTotalAmount​(java.lang.Float value)
        Sets the value of the totalAmount property.
        Parameters:
        value - allowed object is Float
      • getOtherAttributes

        @Generated(value="com.sun.tools.xjc.Driver",
                   comments="JAXB RI v4.0.2",
                   date="2023-07-17T18:40:39Z")
        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​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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