|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
org.cip4.jdflib.core.KElement
org.cip4.jdflib.core.JDFElement
org.cip4.jdflib.core.JDFAudit
org.cip4.jdflib.auto.JDFAutoProcessRun
org.cip4.jdflib.resource.JDFProcessRun
public class JDFProcessRun
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoProcessRun |
|---|
JDFAutoProcessRun.EnumEndStatus |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.JDFAudit |
|---|
JDFAudit.EnumAuditType, JDFAudit.EnumSeverity |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.JDFElement |
|---|
JDFElement.EnumBoolean, JDFElement.EnumNamedColor, JDFElement.EnumNodeStatus, JDFElement.EnumOrientation, JDFElement.EnumPoolType, JDFElement.EnumSeparation, JDFElement.EnumSettingsPolicy, JDFElement.EnumValidationLevel, JDFElement.EnumVersion, JDFElement.EnumXYRelation |
| Nested classes/interfaces inherited from class org.cip4.jdflib.core.KElement |
|---|
KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparator |
| Field Summary |
|---|
| Fields inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
localName, namespaceURI |
| Fields inherited from class org.apache.xerces.dom.ElementImpl |
|---|
attributes, name |
| Fields inherited from class org.apache.xerces.dom.ParentNode |
|---|
firstChild, fNodeListCache, ownerDocument |
| Fields inherited from class org.apache.xerces.dom.ChildNode |
|---|
nextSibling, previousSibling |
| Fields inherited from class org.apache.xerces.dom.NodeImpl |
|---|
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE |
| Fields inherited from interface org.w3c.dom.TypeInfo |
|---|
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION |
| Constructor Summary | |
|---|---|
JDFProcessRun(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFProcessRun |
|
JDFProcessRun(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFProcessRun |
|
JDFProcessRun(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFProcessRun |
|
| Method Summary | |
|---|---|
void |
addDuration(int seconds)
add delta seconds to duration and set the updated attribute value |
void |
addPhase(JDFPhaseTime pt)
add the active times in the PhaseTime pt to this processrun |
void |
ensureNotLonger()
ensure that duration matches end-start, i.e. that duration is never longer than the full preiod between start and end |
JDFDuration |
getDuration()
get the explicit or implied duration specified by Start and End |
int |
getDurationSeconds()
get the duration in seconds |
boolean |
hasPartMap(JDFAttributeMap mPart)
check whether the part defined by mPart is included |
boolean |
init()
also sets an end time for this |
boolean |
matches(JDFAudit audit)
returns true if audit belongs to this processrun |
void |
removePartMap(JDFAttributeMap mPart)
remove the part defined by mPart |
void |
setDurationSeconds(int seconds)
set the duration in seconds |
void |
setPartMap(JDFAttributeMap mPart)
set all parts to those defined by mPart |
void |
setPartMapVector(VJDFAttributeMap vParts)
set all parts to those defined in vParts |
String |
toString()
toString() |
| Methods inherited from class org.cip4.jdflib.auto.JDFAutoProcessRun |
|---|
appendEmployee, appendPart, getAllEmployee, getAllPart, getCreateEmployee, getCreatePart, getEmployee, getEnd, getEndStatus, getPart, getReturnTime, getStart, getSubmissionTime, getTheAttributeInfo, getTheElementInfo, setDuration, setEnd, setEndStatus, setReturnTime, setStart, setSubmissionTime |
| Methods inherited from class org.cip4.jdflib.core.JDFAudit |
|---|
compare, createUpdateAudit, getAgentName, getAgentVersion, getAuditPool, getAuditType, getAuthor, getIDPrefix, getPartMapVector, getPhase, getQueueEntryID, getrefID, getSeverity, getSpawnID, getStaticAgentName, getStaticAgentVersion, getStaticAuthor, getTimeStamp, getTimeStampDate, getUpdatedPreviousAudit, setAgentName, setAgentVersion, setAuthor, setBy, setPart, setQueueEntryID, setRef, setrefID, setSeverity, setSpawnID, setStaticAgentName, setStaticAgentVersion, setStaticAuthor, setStatus, setTimeStamp, setTimeStamp, software |
| Methods inherited from class org.apache.xerces.dom.ElementNSImpl |
|---|
getBaseURI, getLocalName, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setType, setValues |
| Methods inherited from class org.apache.xerces.dom.ElementImpl |
|---|
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData |
| Methods inherited from class org.apache.xerces.dom.ParentNode |
|---|
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren |
| Methods inherited from class org.apache.xerces.dom.ChildNode |
|---|
getNextSibling, getParentNode, getPreviousSibling |
| Methods inherited from class org.apache.xerces.dom.NodeImpl |
|---|
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setUserData, setUserData |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
public JDFProcessRun(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
throws DOMException
myOwnerDocument - qualifiedName -
DOMException
public JDFProcessRun(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
throws DOMException
myOwnerDocument - myNamespaceURI - qualifiedName -
DOMException
public JDFProcessRun(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
throws DOMException
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName -
DOMException| Method Detail |
|---|
public String toString()
toString in class JDFAutoProcessRunObject.toString()
public void setDurationSeconds(int seconds)
throws JDFException
seconds - the value to set
JDFExceptionpublic int getDurationSeconds()
public JDFDuration getDuration()
getDuration in class JDFAutoProcessRunpublic void setPartMapVector(VJDFAttributeMap vParts)
setPartMapVector in class JDFElementvParts - vector of attribute maps for the partspublic void setPartMap(JDFAttributeMap mPart)
setPartMap in class JDFElementmPart - attribute map for the part to setpublic void removePartMap(JDFAttributeMap mPart)
removePartMap in class JDFElementmPart - attribute map for the part to removepublic boolean hasPartMap(JDFAttributeMap mPart)
hasPartMap in class JDFElementmPart - attribute map to look for
public void addPhase(JDFPhaseTime pt)
pt - the PhaseTimes to addpublic void ensureNotLonger()
public void addDuration(int seconds)
seconds - duration to add in secondspublic boolean init()
init in class JDFAuditJDFAudit.init()public boolean matches(JDFAudit audit)
audit -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||