Class ResourceInfo
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.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.HashCode2Java 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)booleanequals(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)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()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)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
protected java.util.List<Event> event
-
misDetails
protected MISDetails misDetails
-
resourceSet
protected ResourceSet resourceSet
-
commandResult
protected ResourceInfo.CommandResult commandResult
-
jobID
protected java.lang.String jobID
-
jobPartID
protected java.lang.String jobPartID
-
level
protected ResourceInfo.Level level
-
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
-
-
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
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
-
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 isMISDetails
-
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 isResourceSet
-
getCommandResult
public ResourceInfo.CommandResult getCommandResult()
Gets the value of the commandResult property.- Returns:
- possible object is
ResourceInfo.CommandResult
-
setCommandResult
public void setCommandResult(ResourceInfo.CommandResult value)
Sets the value of the commandResult property.- Parameters:
value- allowed object isResourceInfo.CommandResult
-
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 isString
-
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 isString
-
getLevel
public ResourceInfo.Level getLevel()
Gets the value of the level property.- Returns:
- possible object is
ResourceInfo.Level
-
setLevel
public void setLevel(ResourceInfo.Level value)
Sets the value of the level property.- Parameters:
value- allowed object isResourceInfo.Level
-
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 isString
-
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 isString
-
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 isScope
-
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 isFloat
-
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
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
-
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 isFloat
-
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
-
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(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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-