|
||||||||||
| 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.JDFAutoNotification
org.cip4.jdflib.resource.JDFNotification
public class JDFNotification
| Nested Class Summary | |
|---|---|
static class |
JDFNotification.EnumNotificationDetails
|
| Nested classes/interfaces inherited from class org.cip4.jdflib.auto.JDFAutoNotification |
|---|
JDFAutoNotification.EnumClass |
| 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 | |
|---|---|
JDFNotification(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFNotification |
|
JDFNotification(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFNotification |
|
JDFNotification(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
Constructor for JDFNotification |
|
| Method Summary | |
|---|---|
JDFBarcode |
appendBarcode()
append element Barcode |
JDFCounterReset |
appendCounterReset()
append element CreateCounterReset |
JDFError |
appendError()
append element Error |
JDFEvent |
appendEvent()
append element Event |
JDFFCNKey |
appendFCNKey()
append element FCNKey |
JDFMilestone |
appendMilestone()
append element Milestone |
JDFElement |
appendNotificationDetails(JDFNotification.EnumNotificationDetails details)
append one of the predefined notification details |
JDFSystemTimeSet |
appendSystemTimeSet()
append element SystemTimeSet |
JDFBarcode |
getBarcode()
get element Barcode |
String |
getCommentText()
get comment text if available, |
JDFCounterReset |
getCounterReset()
get element CreateCounterReset |
JDFBarcode |
getCreateBarcode()
get element Barcode, create if it doesn't exist |
JDFCounterReset |
getCreateCounterReset()
get element CreateCounterReset, create if it doesn't exist |
JDFError |
getCreateError()
get element Error, create if it doesn't exist |
JDFEvent |
getCreateEvent()
get element Event, create if it doesn't exist |
JDFFCNKey |
getCreateFCNKey()
get element FCNKey, create if it doesn't exist |
JDFMilestone |
getCreateMilestone()
get element Milestone, create if it doesn't exist |
JDFElement |
getCreateNotificationDetails(JDFNotification.EnumNotificationDetails details)
append one of the predefined notification details |
JDFSystemTimeSet |
getCreateSystemTimeSet()
get element SystemTimeSet, create if it doesn't exist |
JDFError |
getError()
get element Error |
JDFEvent |
getEvent()
get element Event |
JDFFCNKey |
getFCNKey()
get element FCNKey |
NodeIdentifier |
getIdentifier()
gets the NodeIdetifier that matches this |
JDFMilestone |
getMilestone()
get element Milestone |
JDFElement |
getNotificationDetails()
get the predefined notification details |
JDFNotification.EnumNotificationDetails |
getNotificationDetailsType()
|
VJDFAttributeMap |
getPartMapVector()
get part map vector |
JDFSystemTimeSet |
getSystemTimeSet()
get element SystemTimeSet |
protected ElementInfo |
getTheElementInfo()
|
boolean |
hasPartMap(JDFAttributeMap mPart)
check whether the part defined in mPart is included |
boolean |
matches(Object subset)
returns true if subset somehow matches this the semantics are defined by the filtering algorithm, thus it could be a filter or a subset i.e. subset contains either equivalent elements or null and no non-matching elements matches(null) always returns true |
void |
removePartMap(JDFAttributeMap mPart)
remove the part defined by mPart |
JDFComment |
setCommentText(String text)
set comment text , also creates the comment if not there |
JDFEvent |
setEvent(String eventID,
String eventValue,
String comment)
set this to an event, append the Event element and optionally the comment overwrites existing values |
void |
setIdentifier(NodeIdentifier ni)
|
void |
setNode(JDFNode n)
|
void |
setNode(NodeIdentifier identifier)
|
void |
setPartMap(JDFAttributeMap mPart)
set all parts to those defined by mPart |
void |
setPartMapVector(VJDFAttributeMap vParts)
set all parts to those defined in vParts |
JDFJMF |
toSignalJMF()
creates a JDFJMF that corresponds to this |
String |
toString()
toString() |
| Methods inherited from class org.cip4.jdflib.auto.JDFAutoNotification |
|---|
appendCostCenter, appendEmployee, appendPart, getAllEmployee, getAllPart, getClassJDF, getCombinedProcessIndex, getCostCenter, getCreateCostCenter, getCreateEmployee, getCreatePart, getEmployee, getJobID, getJobPartID, getModuleID, getModuleIndex, getModuleType, getPart, getTheAttributeInfo, getType, setClass, setCombinedProcessIndex, setJobID, setJobPartID, setModuleID, setModuleIndex, setModuleType, setType |
| Methods inherited from class org.cip4.jdflib.core.JDFAudit |
|---|
compare, createUpdateAudit, getAgentName, getAgentVersion, getAuditPool, getAuditType, getAuthor, getEndStatus, getIDPrefix, getPhase, getQueueEntryID, getrefID, getSeverity, getSpawnID, getStaticAgentName, getStaticAgentVersion, getStaticAuthor, getTimeStamp, getTimeStampDate, getUpdatedPreviousAudit, init, setAgentName, setAgentVersion, setAuthor, setBy, setEndStatus, 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 |
|---|
compare, 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 JDFNotification(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFNotification(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFNotification(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
public String toString()
toString in class JDFAutoNotificationObject.toString()protected ElementInfo getTheElementInfo()
getTheElementInfo in class JDFAutoNotificationJDFElement.getTheElementInfo()public VJDFAttributeMap getPartMapVector()
getPartMapVector in class JDFAuditpublic 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 JDFBarcode getCreateBarcode()
Barcode, create if it doesn't exist
public JDFBarcode appendBarcode()
Barcode
public JDFBarcode getBarcode()
Barcode
public JDFFCNKey getCreateFCNKey()
FCNKey, create if it doesn't exist
public JDFFCNKey appendFCNKey()
FCNKey
public JDFFCNKey getFCNKey()
FCNKey
public JDFSystemTimeSet getCreateSystemTimeSet()
SystemTimeSet, create if it doesn't exist
public JDFSystemTimeSet appendSystemTimeSet()
SystemTimeSet
public JDFSystemTimeSet getSystemTimeSet()
SystemTimeSet
public JDFCounterReset getCreateCounterReset()
CreateCounterReset, create if it doesn't exist
public JDFCounterReset appendCounterReset()
CreateCounterReset
public JDFCounterReset getCounterReset()
CreateCounterReset
public String getCommentText()
public JDFComment setCommentText(String text)
text - the comment text to set
JDFComment the commentpublic JDFError getCreateError()
Error, create if it doesn't exist
public JDFError appendError()
Error
public JDFError getError()
Error
public JDFEvent getCreateEvent()
Event, create if it doesn't exist
public JDFEvent appendEvent()
Event
public JDFEvent setEvent(String eventID,
String eventValue,
String comment)
eventID - Event/@EventID to seteventValue - Event/@EventValue to setcomment - the comment text, if null no comment is set
public void setNode(JDFNode n)
public void setNode(NodeIdentifier identifier)
identifier - public JDFElement appendNotificationDetails(JDFNotification.EnumNotificationDetails details)
details -
public JDFElement getCreateNotificationDetails(JDFNotification.EnumNotificationDetails details)
details -
public JDFElement getNotificationDetails()
details -
public JDFNotification.EnumNotificationDetails getNotificationDetailsType()
public JDFEvent getEvent()
Event
public JDFMilestone getCreateMilestone()
Milestone, create if it doesn't exist
public JDFMilestone appendMilestone()
Milestone
public JDFMilestone getMilestone()
Milestone
public NodeIdentifier getIdentifier()
getIdentifier in interface INodeIdentifiablepublic void setIdentifier(NodeIdentifier ni)
setIdentifier in interface INodeIdentifiableni - org.cip4.jdflib.ifaces.INodeIdentifiable#setIdentifier(org.cip4.jdflib.node.JDFNode.NodeIdentifier)public JDFJMF toSignalJMF()
toSignalJMF in interface ISignalAuditJDFJMF a JMF with a Signal that matches thisISignalAudit.toSignalJMF()public boolean matches(Object subset)
IMatches
matches in interface IMatchessubset - the object to filter against
IMatches.matches(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||