Class JobPhase
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.JobPhase
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class JobPhase 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}Activity" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.CIP4.org/JDFSchema_2_0}GangSource" 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}Part" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Amount" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="CostCenterID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="DeadLine"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="InTime"/> <enumeration value="Late"/> <enumeration value="Warning"/> </restriction> </simpleType> </attribute> <attribute name="EndTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="JobID" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="JobPartID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ModuleIDs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="PercentCompleted" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="QueueEntryID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="RelatedJobID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="RelatedJobPartID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="RestTime" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="StartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="Status" use="required" type="{http://www.CIP4.org/JDFSchema_2_0}NodeStatus" /> <attribute name="StatusDetails" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ToolIDs" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" /> <attribute name="Waste" type="{http://www.w3.org/2001/XMLSchema}float" /> <attribute name="WorkStepID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobPhase.DeadLineJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Activity>activityprotected java.lang.Floatamountprotected java.lang.StringcostCenterIDprotected JobPhase.DeadLinedeadLineprotected DateTimeendTimeprotected java.util.List<GangSource>gangSourceprotected java.lang.StringjobIDprotected java.lang.StringjobPartIDprotected MISDetailsmisDetailsprotected java.util.List<java.lang.String>moduleIDsprotected java.util.List<Part>partprotected java.lang.FloatpercentCompletedprotected java.lang.StringqueueEntryIDprotected java.lang.StringrelatedJobIDprotected java.lang.StringrelatedJobPartIDprotected DurationrestTimeprotected DateTimestartTimeprotected NodeStatusstatusprotected java.lang.StringstatusDetailsprotected java.util.List<java.lang.String>toolIDsprotected java.lang.Floatwasteprotected java.lang.StringworkStepID
-
Constructor Summary
Constructors Constructor Description JobPhase()
-
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)java.util.List<Activity>getActivity()Gets the value of the activity property.java.lang.FloatgetAmount()Gets the value of the amount property.java.lang.StringgetCostCenterID()Gets the value of the costCenterID property.JobPhase.DeadLinegetDeadLine()Gets the value of the deadLine property.DateTimegetEndTime()Gets the value of the endTime property.java.util.List<GangSource>getGangSource()Gets the value of the gangSource property.java.lang.StringgetJobID()Gets the value of the jobID property.java.lang.StringgetJobPartID()Gets the value of the jobPartID property.MISDetailsgetMISDetails()Gets the value of the misDetails property.java.util.List<java.lang.String>getModuleIDs()Gets the value of the moduleIDs 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.util.List<Part>getPart()Gets the value of the part property.java.lang.FloatgetPercentCompleted()Gets the value of the percentCompleted property.java.lang.StringgetQueueEntryID()Gets the value of the queueEntryID property.java.lang.StringgetRelatedJobID()Gets the value of the relatedJobID property.java.lang.StringgetRelatedJobPartID()Gets the value of the relatedJobPartID property.DurationgetRestTime()Gets the value of the restTime property.DateTimegetStartTime()Gets the value of the startTime property.NodeStatusgetStatus()Gets the value of the status property.java.lang.StringgetStatusDetails()Gets the value of the statusDetails property.java.util.List<java.lang.String>getToolIDs()Gets the value of the toolIDs property.java.lang.FloatgetWaste()Gets the value of the waste property.java.lang.StringgetWorkStepID()Gets the value of the workStepID property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAmount(java.lang.Float value)Sets the value of the amount property.voidsetCostCenterID(java.lang.String value)Sets the value of the costCenterID property.voidsetDeadLine(JobPhase.DeadLine value)Sets the value of the deadLine property.voidsetEndTime(DateTime value)Sets the value of the endTime 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.voidsetMISDetails(MISDetails value)Sets the value of the misDetails property.voidsetPercentCompleted(java.lang.Float value)Sets the value of the percentCompleted property.voidsetQueueEntryID(java.lang.String value)Sets the value of the queueEntryID property.voidsetRelatedJobID(java.lang.String value)Sets the value of the relatedJobID property.voidsetRelatedJobPartID(java.lang.String value)Sets the value of the relatedJobPartID property.voidsetRestTime(Duration value)Sets the value of the restTime property.voidsetStartTime(DateTime value)Sets the value of the startTime property.voidsetStatus(NodeStatus value)Sets the value of the status property.voidsetStatusDetails(java.lang.String value)Sets the value of the statusDetails property.voidsetWaste(java.lang.Float value)Sets the value of the waste property.voidsetWorkStepID(java.lang.String value)Sets the value of the workStepID property.JobPhasewithActivity(java.util.Collection<Activity> values)JobPhasewithActivity(Activity... values)JobPhasewithAmount(java.lang.Float value)JobPhasewithCostCenterID(java.lang.String value)JobPhasewithDeadLine(JobPhase.DeadLine value)JobPhasewithEndTime(DateTime value)JobPhasewithGangSource(java.util.Collection<GangSource> values)JobPhasewithGangSource(GangSource... values)JobPhasewithJobID(java.lang.String value)JobPhasewithJobPartID(java.lang.String value)JobPhasewithMISDetails(MISDetails value)JobPhasewithModuleIDs(java.lang.String... values)JobPhasewithModuleIDs(java.util.Collection<java.lang.String> values)JobPhasewithPart(java.util.Collection<Part> values)JobPhasewithPart(Part... values)JobPhasewithPercentCompleted(java.lang.Float value)JobPhasewithQueueEntryID(java.lang.String value)JobPhasewithRelatedJobID(java.lang.String value)JobPhasewithRelatedJobPartID(java.lang.String value)JobPhasewithRestTime(Duration value)JobPhasewithStartTime(DateTime value)JobPhasewithStatus(NodeStatus value)JobPhasewithStatusDetails(java.lang.String value)JobPhasewithToolIDs(java.lang.String... values)JobPhasewithToolIDs(java.util.Collection<java.lang.String> values)JobPhasewithWaste(java.lang.Float value)JobPhasewithWorkStepID(java.lang.String value)
-
-
-
Field Detail
-
activity
protected java.util.List<Activity> activity
-
gangSource
protected java.util.List<GangSource> gangSource
-
misDetails
protected MISDetails misDetails
-
part
protected java.util.List<Part> part
-
amount
protected java.lang.Float amount
-
costCenterID
protected java.lang.String costCenterID
-
deadLine
protected JobPhase.DeadLine deadLine
-
endTime
protected DateTime endTime
-
jobID
protected java.lang.String jobID
-
jobPartID
protected java.lang.String jobPartID
-
moduleIDs
protected java.util.List<java.lang.String> moduleIDs
-
percentCompleted
protected java.lang.Float percentCompleted
-
queueEntryID
protected java.lang.String queueEntryID
-
relatedJobID
protected java.lang.String relatedJobID
-
relatedJobPartID
protected java.lang.String relatedJobPartID
-
restTime
protected Duration restTime
-
startTime
protected DateTime startTime
-
status
protected NodeStatus status
-
statusDetails
protected java.lang.String statusDetails
-
toolIDs
protected java.util.List<java.lang.String> toolIDs
-
waste
protected java.lang.Float waste
-
workStepID
protected java.lang.String workStepID
-
-
Method Detail
-
getActivity
public java.util.List<Activity> getActivity()
Gets the value of the activity 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 activity property.For example, to add a new item, do as follows:
getActivity().add(newItem);Objects of the following type(s) are allowed in the list
Activity
-
getGangSource
public java.util.List<GangSource> getGangSource()
Gets the value of the gangSource 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 gangSource property.For example, to add a new item, do as follows:
getGangSource().add(newItem);Objects of the following type(s) are allowed in the list
GangSource
-
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
-
getPart
public java.util.List<Part> getPart()
Gets the value of the part 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 part property.For example, to add a new item, do as follows:
getPart().add(newItem);Objects of the following type(s) are allowed in the list
Part
-
getAmount
public java.lang.Float getAmount()
Gets the value of the amount property.- Returns:
- possible object is
Float
-
setAmount
public void setAmount(java.lang.Float value)
Sets the value of the amount property.- Parameters:
value- allowed object isFloat
-
getCostCenterID
public java.lang.String getCostCenterID()
Gets the value of the costCenterID property.- Returns:
- possible object is
String
-
setCostCenterID
public void setCostCenterID(java.lang.String value)
Sets the value of the costCenterID property.- Parameters:
value- allowed object isString
-
getDeadLine
public JobPhase.DeadLine getDeadLine()
Gets the value of the deadLine property.- Returns:
- possible object is
JobPhase.DeadLine
-
setDeadLine
public void setDeadLine(JobPhase.DeadLine value)
Sets the value of the deadLine property.- Parameters:
value- allowed object isJobPhase.DeadLine
-
getEndTime
public DateTime getEndTime()
Gets the value of the endTime property.- Returns:
- possible object is
String
-
setEndTime
public void setEndTime(DateTime value)
Sets the value of the endTime property.- Parameters:
value- allowed object isString
-
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
-
getModuleIDs
public java.util.List<java.lang.String> getModuleIDs()
Gets the value of the moduleIDs 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 moduleIDs property.For example, to add a new item, do as follows:
getModuleIDs().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getPercentCompleted
public java.lang.Float getPercentCompleted()
Gets the value of the percentCompleted property.- Returns:
- possible object is
Float
-
setPercentCompleted
public void setPercentCompleted(java.lang.Float value)
Sets the value of the percentCompleted property.- Parameters:
value- allowed object isFloat
-
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
-
getRelatedJobID
public java.lang.String getRelatedJobID()
Gets the value of the relatedJobID property.- Returns:
- possible object is
String
-
setRelatedJobID
public void setRelatedJobID(java.lang.String value)
Sets the value of the relatedJobID property.- Parameters:
value- allowed object isString
-
getRelatedJobPartID
public java.lang.String getRelatedJobPartID()
Gets the value of the relatedJobPartID property.- Returns:
- possible object is
String
-
setRelatedJobPartID
public void setRelatedJobPartID(java.lang.String value)
Sets the value of the relatedJobPartID property.- Parameters:
value- allowed object isString
-
getRestTime
public Duration getRestTime()
Gets the value of the restTime property.- Returns:
- possible object is
String
-
setRestTime
public void setRestTime(Duration value)
Sets the value of the restTime property.- Parameters:
value- allowed object isString
-
getStartTime
public DateTime getStartTime()
Gets the value of the startTime property.- Returns:
- possible object is
String
-
setStartTime
public void setStartTime(DateTime value)
Sets the value of the startTime property.- Parameters:
value- allowed object isString
-
getStatus
public NodeStatus getStatus()
Gets the value of the status property.- Returns:
- possible object is
NodeStatus
-
setStatus
public void setStatus(NodeStatus value)
Sets the value of the status property.- Parameters:
value- allowed object isNodeStatus
-
getStatusDetails
public java.lang.String getStatusDetails()
Gets the value of the statusDetails property.- Returns:
- possible object is
String
-
setStatusDetails
public void setStatusDetails(java.lang.String value)
Sets the value of the statusDetails property.- Parameters:
value- allowed object isString
-
getToolIDs
public java.util.List<java.lang.String> getToolIDs()
Gets the value of the toolIDs 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 toolIDs property.For example, to add a new item, do as follows:
getToolIDs().add(newItem);Objects of the following type(s) are allowed in the list
String
-
getWaste
public java.lang.Float getWaste()
Gets the value of the waste property.- Returns:
- possible object is
Float
-
setWaste
public void setWaste(java.lang.Float value)
Sets the value of the waste property.- Parameters:
value- allowed object isFloat
-
getWorkStepID
public java.lang.String getWorkStepID()
Gets the value of the workStepID property.- Returns:
- possible object is
String
-
setWorkStepID
public void setWorkStepID(java.lang.String value)
Sets the value of the workStepID property.- Parameters:
value- allowed object isString
-
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
-
withGangSource
public JobPhase withGangSource(GangSource... values)
-
withGangSource
public JobPhase withGangSource(java.util.Collection<GangSource> values)
-
withMISDetails
public JobPhase withMISDetails(MISDetails value)
-
withAmount
public JobPhase withAmount(java.lang.Float value)
-
withCostCenterID
public JobPhase withCostCenterID(java.lang.String value)
-
withDeadLine
public JobPhase withDeadLine(JobPhase.DeadLine value)
-
withJobID
public JobPhase withJobID(java.lang.String value)
-
withJobPartID
public JobPhase withJobPartID(java.lang.String value)
-
withModuleIDs
public JobPhase withModuleIDs(java.lang.String... values)
-
withModuleIDs
public JobPhase withModuleIDs(java.util.Collection<java.lang.String> values)
-
withPercentCompleted
public JobPhase withPercentCompleted(java.lang.Float value)
-
withQueueEntryID
public JobPhase withQueueEntryID(java.lang.String value)
-
withRelatedJobID
public JobPhase withRelatedJobID(java.lang.String value)
-
withRelatedJobPartID
public JobPhase withRelatedJobPartID(java.lang.String value)
-
withStatus
public JobPhase withStatus(NodeStatus value)
-
withStatusDetails
public JobPhase withStatusDetails(java.lang.String value)
-
withToolIDs
public JobPhase withToolIDs(java.lang.String... values)
-
withToolIDs
public JobPhase withToolIDs(java.util.Collection<java.lang.String> values)
-
withWaste
public JobPhase withWaste(java.lang.Float value)
-
withWorkStepID
public JobPhase withWorkStepID(java.lang.String 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
-
-