Class ResourceInfo

java.lang.Object
org.cip4.lib.xjdf.schema.ResourceInfo
All Implemented Interfaces:
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-18T20:00:09Z") public class ResourceInfo extends Object implements 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:
  • Field Details

    • event

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<Event> event
    • misDetails

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected MISDetails misDetails
    • resourceSet

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected ResourceSet resourceSet
    • commandResult

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected ResourceInfo.CommandResult commandResult
    • jobID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String jobID
    • jobPartID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String jobPartID
    • level

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected ResourceInfo.Level level
    • moduleID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String moduleID
    • queueEntryID

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected String queueEntryID
    • scope

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Scope scope
    • speed

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float speed
    • types

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected List<String> types
    • totalAmount

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") protected Float totalAmount
  • Constructor Details

    • ResourceInfo

      public ResourceInfo()
  • Method Details

    • getEvent

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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setJobID(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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setJobPartID(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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setModuleID(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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setQueueEntryID(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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") 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 v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setSpeed(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 v2.3.6", date="2022-12-18T20:00:09Z") public List<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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.6", date="2022-12-18T20:00:09Z") public 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 v2.3.6", date="2022-12-18T20:00:09Z") public void setTotalAmount(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 v2.3.6", date="2022-12-18T20:00:09Z") public Map<QName,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
    • withEvent

      public ResourceInfo withEvent(Event... values)
    • withEvent

      public ResourceInfo withEvent(Collection<Event> values)
    • withMISDetails

      public ResourceInfo withMISDetails(MISDetails value)
    • withResourceSet

      public ResourceInfo withResourceSet(ResourceSet value)
    • withCommandResult

      public ResourceInfo withCommandResult(ResourceInfo.CommandResult value)
    • withJobID

      public ResourceInfo withJobID(String value)
    • withJobPartID

      public ResourceInfo withJobPartID(String value)
    • withLevel

      public ResourceInfo withLevel(ResourceInfo.Level value)
    • withModuleID

      public ResourceInfo withModuleID(String value)
    • withQueueEntryID

      public ResourceInfo withQueueEntryID(String value)
    • withScope

      public ResourceInfo withScope(Scope value)
    • withSpeed

      public ResourceInfo withSpeed(Float value)
    • withTypes

      public ResourceInfo withTypes(String... values)
    • withTypes

      public ResourceInfo withTypes(Collection<String> values)
    • withTotalAmount

      public ResourceInfo withTotalAmount(Float value)
    • equals

      public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)
      Specified by:
      equals in interface org.jvnet.jaxb2_commons.lang.Equals2
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class 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 Object