Package org.cip4.lib.xjdf.schema
Class ProcessRun
- java.lang.Object
-
- org.cip4.lib.xjdf.schema.ProcessRun
-
- All Implemented Interfaces:
java.io.Serializable,org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2
public class ProcessRun 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}Part" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="Duration" type="{http://www.w3.org/2001/XMLSchema}duration" /> <attribute name="End" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="EndStatus" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="Aborted"/> <enumeration value="Completed"/> </restriction> </simpleType> </attribute> <attribute name="QueueEntryID" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="ReturnTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="Start" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="SubmissionTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessRun.EndStatusJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected Durationdurationprotected DateTimeendprotected ProcessRun.EndStatusendStatusprotected java.util.List<Part>partprotected java.lang.StringqueueEntryIDprotected DateTimereturnTimeprotected DateTimestartprotected DateTimesubmissionTime
-
Constructor Summary
Constructors Constructor Description ProcessRun()
-
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)DurationgetDuration()Gets the value of the duration property.DateTimegetEnd()Gets the value of the end property.ProcessRun.EndStatusgetEndStatus()Gets the value of the endStatus 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.StringgetQueueEntryID()Gets the value of the queueEntryID property.DateTimegetReturnTime()Gets the value of the returnTime property.DateTimegetStart()Gets the value of the start property.DateTimegetSubmissionTime()Gets the value of the submissionTime property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetDuration(Duration value)Sets the value of the duration property.voidsetEnd(DateTime value)Sets the value of the end property.voidsetEndStatus(ProcessRun.EndStatus value)Sets the value of the endStatus property.voidsetQueueEntryID(java.lang.String value)Sets the value of the queueEntryID property.voidsetReturnTime(DateTime value)Sets the value of the returnTime property.voidsetStart(DateTime value)Sets the value of the start property.voidsetSubmissionTime(DateTime value)Sets the value of the submissionTime property.ProcessRunwithDuration(Duration value)ProcessRunwithEnd(DateTime value)ProcessRunwithEndStatus(ProcessRun.EndStatus value)ProcessRunwithPart(java.util.Collection<Part> values)ProcessRunwithPart(Part... values)ProcessRunwithQueueEntryID(java.lang.String value)ProcessRunwithReturnTime(DateTime value)ProcessRunwithStart(DateTime value)ProcessRunwithSubmissionTime(DateTime value)
-
-
-
Field Detail
-
part
protected java.util.List<Part> part
-
duration
protected Duration duration
-
end
protected DateTime end
-
endStatus
protected ProcessRun.EndStatus endStatus
-
queueEntryID
protected java.lang.String queueEntryID
-
returnTime
protected DateTime returnTime
-
start
protected DateTime start
-
submissionTime
protected DateTime submissionTime
-
-
Method Detail
-
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
-
getDuration
public Duration getDuration()
Gets the value of the duration property.- Returns:
- possible object is
String
-
setDuration
public void setDuration(Duration value)
Sets the value of the duration property.- Parameters:
value- allowed object isString
-
getEnd
public DateTime getEnd()
Gets the value of the end property.- Returns:
- possible object is
String
-
setEnd
public void setEnd(DateTime value)
Sets the value of the end property.- Parameters:
value- allowed object isString
-
getEndStatus
public ProcessRun.EndStatus getEndStatus()
Gets the value of the endStatus property.- Returns:
- possible object is
ProcessRun.EndStatus
-
setEndStatus
public void setEndStatus(ProcessRun.EndStatus value)
Sets the value of the endStatus property.- Parameters:
value- allowed object isProcessRun.EndStatus
-
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
-
getReturnTime
public DateTime getReturnTime()
Gets the value of the returnTime property.- Returns:
- possible object is
String
-
setReturnTime
public void setReturnTime(DateTime value)
Sets the value of the returnTime property.- Parameters:
value- allowed object isString
-
getStart
public DateTime getStart()
Gets the value of the start property.- Returns:
- possible object is
String
-
setStart
public void setStart(DateTime value)
Sets the value of the start property.- Parameters:
value- allowed object isString
-
getSubmissionTime
public DateTime getSubmissionTime()
Gets the value of the submissionTime property.- Returns:
- possible object is
String
-
setSubmissionTime
public void setSubmissionTime(DateTime value)
Sets the value of the submissionTime 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
-
withPart
public ProcessRun withPart(Part... values)
-
withPart
public ProcessRun withPart(java.util.Collection<Part> values)
-
withDuration
public ProcessRun withDuration(Duration value)
-
withEnd
public ProcessRun withEnd(DateTime value)
-
withEndStatus
public ProcessRun withEndStatus(ProcessRun.EndStatus value)
-
withQueueEntryID
public ProcessRun withQueueEntryID(java.lang.String value)
-
withReturnTime
public ProcessRun withReturnTime(DateTime value)
-
withStart
public ProcessRun withStart(DateTime value)
-
withSubmissionTime
public ProcessRun withSubmissionTime(DateTime 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
-
-