Class ResourceInfo
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.ResourceInfo
-
- All Implemented Interfaces:
java.io.Serializable
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") public class ResourceInfo extends java.lang.Object implements java.io.SerializableJava 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResourceInfo.CommandResultJava class for null.static classResourceInfo.LevelJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected ResourceInfo.CommandResultcommandResultprotected java.util.List<Event>eventprotected java.lang.StringjobIDprotected java.lang.StringjobPartIDprotected ResourceInfo.Levellevelprotected MISDetailsmisDetailsprotected java.lang.StringmoduleIDprotected java.lang.StringqueueEntryIDprotected ResourceSetresourceSetprotected Scopescopeprotected java.lang.Floatspeedprotected java.lang.FloattotalAmountprotected java.util.List<java.lang.String>types
-
Constructor Summary
Constructors Constructor Description ResourceInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object object)ResourceInfo.CommandResultgetCommandResult()Gets the value of the commandResult property.java.util.List<Event>getEvent()Gets the value of the event property.java.lang.StringgetJobID()Gets the value of the jobID property.java.lang.StringgetJobPartID()Gets the value of the jobPartID property.ResourceInfo.LevelgetLevel()Gets the value of the level property.MISDetailsgetMISDetails()Gets the value of the misDetails property.java.lang.StringgetModuleID()Gets the value of the moduleID property.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.java.lang.StringgetQueueEntryID()Gets the value of the queueEntryID property.ResourceSetgetResourceSet()Gets the value of the resourceSet property.ScopegetScope()Gets the value of the scope property.java.lang.FloatgetSpeed()Gets the value of the speed property.java.lang.FloatgetTotalAmount()Gets the value of the totalAmount property.java.util.List<java.lang.String>getTypes()Gets the value of the types property.inthashCode()voidsetCommandResult(ResourceInfo.CommandResult value)Sets the value of the commandResult property.voidsetJobID(java.lang.String value)Sets the value of the jobID property.voidsetJobPartID(java.lang.String value)Sets the value of the jobPartID property.voidsetLevel(ResourceInfo.Level value)Sets the value of the level property.voidsetMISDetails(MISDetails value)Sets the value of the misDetails property.voidsetModuleID(java.lang.String value)Sets the value of the moduleID property.voidsetQueueEntryID(java.lang.String value)Sets the value of the queueEntryID property.voidsetResourceSet(ResourceSet value)Sets the value of the resourceSet property.voidsetScope(Scope value)Sets the value of the scope property.voidsetSpeed(java.lang.Float value)Sets the value of the speed property.voidsetTotalAmount(java.lang.Float value)Sets the value of the totalAmount property.ResourceInfowithCommandResult(ResourceInfo.CommandResult value)ResourceInfowithEvent(java.util.Collection<Event> values)ResourceInfowithEvent(Event... values)ResourceInfowithJobID(java.lang.String value)ResourceInfowithJobPartID(java.lang.String value)ResourceInfowithLevel(ResourceInfo.Level value)ResourceInfowithMISDetails(MISDetails value)ResourceInfowithModuleID(java.lang.String value)ResourceInfowithQueueEntryID(java.lang.String value)ResourceInfowithResourceSet(ResourceSet value)ResourceInfowithScope(Scope value)ResourceInfowithSpeed(java.lang.Float value)ResourceInfowithTotalAmount(java.lang.Float value)ResourceInfowithTypes(java.lang.String... values)ResourceInfowithTypes(java.util.Collection<java.lang.String> values)
-
-
-
Field Detail
-
event
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.util.List<Event> event
-
misDetails
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected MISDetails misDetails
-
resourceSet
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected ResourceSet resourceSet
-
commandResult
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected ResourceInfo.CommandResult commandResult
-
jobID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.String jobID
-
jobPartID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.String jobPartID
-
level
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected ResourceInfo.Level level
-
moduleID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.String moduleID
-
queueEntryID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.String queueEntryID
-
scope
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected Scope scope
-
speed
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.Float speed
-
types
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.util.List<java.lang.String> types
-
totalAmount
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") protected java.lang.Float totalAmount
-
-
Method Detail
-
getEvent
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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
setmethod 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.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setMISDetails(MISDetails value)Sets the value of the misDetails property.- Parameters:
value- allowed object isMISDetails
-
getResourceSet
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setResourceSet(ResourceSet value)Sets the value of the resourceSet property.- Parameters:
value- allowed object isResourceSet
-
getCommandResult
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setCommandResult(ResourceInfo.CommandResult value)Sets the value of the commandResult property.- Parameters:
value- allowed object isResourceInfo.CommandResult
-
getJobID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setJobID(java.lang.String value)Sets the value of the jobID property.- Parameters:
value- allowed object isString
-
getJobPartID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setJobPartID(java.lang.String value)Sets the value of the jobPartID property.- Parameters:
value- allowed object isString
-
getLevel
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setLevel(ResourceInfo.Level value)Sets the value of the level property.- Parameters:
value- allowed object isResourceInfo.Level
-
getModuleID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setModuleID(java.lang.String value)Sets the value of the moduleID property.- Parameters:
value- allowed object isString
-
getQueueEntryID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setQueueEntryID(java.lang.String value)Sets the value of the queueEntryID property.- Parameters:
value- allowed object isString
-
getScope
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setScope(Scope value)Sets the value of the scope property.- Parameters:
value- allowed object isScope
-
getSpeed
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setSpeed(java.lang.Float value)Sets the value of the speed property.- Parameters:
value- allowed object isFloat
-
getTypes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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
setmethod 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.1", date="2022-12-20T17:59:47Z") 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.1", date="2022-12-20T17:59:47Z") public void setTotalAmount(java.lang.Float value)Sets the value of the totalAmount property.- Parameters:
value- allowed object isFloat
-
getOtherAttributes
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.1", date="2022-12-20T17:59:47Z") 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
-
withEvent
public ResourceInfo withEvent(Event... values)
-
withEvent
public ResourceInfo withEvent(java.util.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(java.lang.String value)
-
withJobPartID
public ResourceInfo withJobPartID(java.lang.String value)
-
withLevel
public ResourceInfo withLevel(ResourceInfo.Level value)
-
withModuleID
public ResourceInfo withModuleID(java.lang.String value)
-
withQueueEntryID
public ResourceInfo withQueueEntryID(java.lang.String value)
-
withScope
public ResourceInfo withScope(Scope 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-