|
||||||||||
| 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.auto.JDFAutoJobPhase
org.cip4.jdflib.jmf.JDFJobPhase
public class JDFJobPhase
describes the actual status of jobs in a device Note that the old EnumStatus local class has been move to @see JDFNode.EnumNodeStatus
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoJobPhase |
|---|
JDFAutoJobPhase.EnumActivation, JDFAutoJobPhase.EnumDeadLine |
| 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 | |
|---|---|
JDFJobPhase(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFJobPhase |
|
JDFJobPhase(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFJobPhase |
|
JDFJobPhase(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFJobPhase |
|
| Method Summary | |
|---|---|
JDFNode |
appendNode()
append a node |
void |
applyNode(JDFNode node)
apply all values of a JDF Node to this |
JDFModuleStatus |
createModuleStatusFromModulePhase(JDFModulePhase mp)
creates a new ModuleStatus in this based on the values in mp generally used to create messages from audits |
double |
getAmountDifference(JDFJobPhase lastphase)
return the differential amount produced between this phase and lastphase |
JDFNode |
getCreateNode()
get a node, create if it doesn't exist |
NodeIdentifier |
getIdentifier()
gets the NodeIdetifier that matches this |
String |
getJobID()
Method getJobID. |
String |
getJobPartID()
Method getJobID. |
JDFNode |
getNode()
get node |
VJDFAttributeMap |
getPartMapVector()
get part map vector |
double |
getPhaseAmount()
returns the phase amount, defaults to amount if not specified |
JDFDate |
getPhaseStartTime()
returns the phase starttime, defaults to starttime if not specified |
double |
getPhaseWaste()
returns the phase waste amount, defaults to waste if not specified |
String |
getQueueEntryID()
Method getQueueEntryID. |
JDFAutoQueueEntry.EnumQueueEntryStatus |
getQueueEntryStatus()
|
String |
getStatusDetails()
Returns detailed status information. |
JDFStatusQuParams |
getStatusQuParams()
get the JDFStatusQuParams that apply to the jobphase |
protected ElementInfo |
getTheElementInfo()
|
double |
getWasteDifference(JDFJobPhase lastphase)
return the differential waste amount produced between this phase and lastphase |
boolean |
hasPartMap(JDFAttributeMap mPart)
check whether the part defined in mPart is included |
boolean |
isSamePhase(JDFJobPhase lastphase,
boolean bExact)
returns true if this is the same phase, i.e. the |
boolean |
mergeLastPhase(JDFJobPhase lastphase)
creates a new phasetime that spans lastphase and this phase assume that amounts are correctly handled id starttimes are identical |
void |
removePartMap(JDFAttributeMap mPart)
remove the part defined in mPart |
void |
setIdentifier(NodeIdentifier ni)
|
void |
setPartMap(JDFAttributeMap mPart)
set part to the one defined in mPart |
void |
setPartMapVector(VJDFAttributeMap vParts)
set all parts to those defined in vParts |
String |
toString()
toString() |
| 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 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 JDFJobPhase(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFJobPhase(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFJobPhase(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
public String toString()
toString in class JDFAutoJobPhaseJDFAutoJobPhase.toString()protected ElementInfo getTheElementInfo()
getTheElementInfo in class JDFAutoJobPhasepublic String getStatusDetails()
getStatusDetails in class JDFAutoJobPhasepublic String getQueueEntryID()
getQueueEntryID in class JDFAutoJobPhasepublic String getJobID()
getJobID in class JDFAutoJobPhasepublic String getJobPartID()
getJobPartID in class JDFAutoJobPhasepublic VJDFAttributeMap getPartMapVector()
getPartMapVector in class JDFElementpublic 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 for the part to remove
public JDFNode getCreateNode()
public JDFNode appendNode()
public void applyNode(JDFNode node)
node - the node to applypublic JDFNode getNode()
public JDFStatusQuParams getStatusQuParams()
JDFStatusQuParams that apply to the jobphase
public NodeIdentifier getIdentifier()
getIdentifier in interface INodeIdentifiablepublic void setIdentifier(NodeIdentifier ni)
setIdentifier in interface INodeIdentifiableni - INodeIdentifiable.setIdentifier(org.cip4.jdflib.node.NodeIdentifier)public JDFModuleStatus createModuleStatusFromModulePhase(JDFModulePhase mp)
mp - the modulephase to copy
public double getAmountDifference(JDFJobPhase lastphase)
lastphase - the phase
public double getWasteDifference(JDFJobPhase lastphase)
lastphase -
public boolean isSamePhase(JDFJobPhase lastphase,
boolean bExact)
lastphase - the phase to compare withbExact - if true, use startTime as hook, else compare stati
public boolean mergeLastPhase(JDFJobPhase lastphase)
lastphase - the phase to merge
public double getPhaseAmount()
getPhaseAmount in class JDFAutoJobPhasepublic JDFDate getPhaseStartTime()
getPhaseStartTime in class JDFAutoJobPhasepublic double getPhaseWaste()
getPhaseWaste in class JDFAutoJobPhasepublic JDFAutoQueueEntry.EnumQueueEntryStatus getQueueEntryStatus()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||