|
||||||||||
| 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
public class JDFAudit
This class represents a JDF-Audit which handles individual Audit elements
| Nested Class Summary | |
|---|---|
static class |
JDFAudit.EnumAuditType
|
static class |
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 | |
|---|---|
JDFAudit(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
Constructor for JDFAudit |
|
JDFAudit(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
Constructor for JDFAudit |
|
JDFAudit(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
|
|
| Method Summary | |
|---|---|
JDFEmployee |
appendEmployee()
(30) append element Employee |
int |
compare(JDFAudit a1,
JDFAudit a2)
sort by timestamp |
JDFAudit |
createUpdateAudit()
create an update audit for this |
String |
getAgentName()
Get string attribute AgentName |
String |
getAgentVersion()
Get string attribute AgentVersion |
Collection<JDFEmployee> |
getAllEmployee()
Get all Employee from the current element |
JDFAuditPool |
getAuditPool()
|
JDFAudit.EnumAuditType |
getAuditType()
GetAuditType |
String |
getAuthor()
Get string attribute Author |
JDFEmployee |
getCreateEmployee(int iSkip)
(26) getCreateEmployee |
JDFEmployee |
getEmployee(int iSkip)
(27) const get element Employee |
protected JDFElement.EnumNodeStatus |
getEndStatus()
GetEndStatus |
String |
getIDPrefix()
getIDPrefix |
VJDFAttributeMap |
getPartMapVector()
get part map vector |
JDFElement.EnumNodeStatus |
getPhase()
Deprecated. use JDFPhaseTime.getStatus() |
String |
getQueueEntryID()
Get string attribute QueueEntryID |
String |
getrefID()
Get string attribute refID |
JDFAudit.EnumSeverity |
getSeverity()
GetSeverity |
String |
getSpawnID()
Get string attribute SpawnID |
static String |
getStaticAgentName()
Gets the default static AgentName that is used to preset @AgentName when generating a new Audit |
static String |
getStaticAgentVersion()
gets the default static AgentVersion that is used to preset @AgentName when generating a new Audit |
static String |
getStaticAuthor()
Gets the default static Author that is used to preset @AgentName when generating a new Audit |
protected AttributeInfo |
getTheAttributeInfo()
|
protected ElementInfo |
getTheElementInfo()
|
String |
getTimeStamp()
Deprecated. use getTimeStampDate as the typed version |
JDFDate |
getTimeStampDate()
(12) get JDFDate attribute TimeStamp |
JDFAudit |
getUpdatedPreviousAudit()
get the previous updated audit that was updated by this |
boolean |
init()
init |
void |
setAgentName(String value)
Set attribute AgentName |
void |
setAgentVersion(String value)
Set attribute AgentVersion |
void |
setAuthor(String author)
SetAuthor |
void |
setBy(String by)
Deprecated. 2005-09-01 use setAuthor() |
void |
setEndStatus(JDFElement.EnumNodeStatus s)
SetEndStatus |
void |
setPart(JDFAttributeMap m)
Deprecated. 2005-10-20 - use setPartMap() in the various subclasses instead |
void |
setQueueEntryID(String value)
Set attribute QueueEntryID |
void |
setRef(JDFAudit previous)
Set attribute refID to the ID of previous |
void |
setrefID(String value)
Set attribute refID |
void |
setSeverity(JDFAudit.EnumSeverity s)
SetSeverity |
void |
setSpawnID(String value)
Set attribute SpawnID |
static void |
setStaticAgentName(String agentName)
sets the default static AgentName that is used to preset @AgentName when generating a new Audit |
static void |
setStaticAgentVersion(String agentVersion)
Sets the default static AgentVersion that is used to preset @AgentName when generating a new Audit |
static void |
setStaticAuthor(String author)
sets the default static Author that is used to preset @Author when generating a new Audit |
void |
setStatus(JDFElement.EnumNodeStatus s)
SetStatus |
void |
setTimeStamp()
Deprecated. 2005-12-02 use setTimeStamp(null) |
void |
setTimeStamp(JDFDate value)
Set attribute TimeStamp |
static String |
software()
Software |
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 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 JDFAudit(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String qualifiedName)
myOwnerDocument - qualifiedName -
public JDFAudit(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName)
myOwnerDocument - myNamespaceURI - qualifiedName -
public JDFAudit(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
String myNamespaceURI,
String qualifiedName,
String myLocalName)
myOwnerDocument - myNamespaceURI - qualifiedName - myLocalName - | Method Detail |
|---|
protected AttributeInfo getTheAttributeInfo()
getTheAttributeInfo in class JDFElementJDFElement.getTheAttributeInfo()protected ElementInfo getTheElementInfo()
getTheElementInfo in class JDFElementJDFElement.getTheElementInfo()public String toString()
toString in class JDFElementObject.toString()
public int compare(JDFAudit a1,
JDFAudit a2)
compare in interface Comparator<JDFAudit>a1 - an audita2 - another audit
Comparator.compare(java.lang.Object, java.lang.Object)public void setSeverity(JDFAudit.EnumSeverity s)
s - public JDFAudit.EnumSeverity getSeverity()
public void setStatus(JDFElement.EnumNodeStatus s)
setStatus in class JDFElements - public void setEndStatus(JDFElement.EnumNodeStatus s)
s - protected JDFElement.EnumNodeStatus getEndStatus()
public JDFAudit.EnumAuditType getAuditType()
@Deprecated public JDFElement.EnumNodeStatus getPhase()
@Deprecated public void setPart(JDFAttributeMap m)
m - public VJDFAttributeMap getPartMapVector()
getPartMapVector in class JDFElementpublic void setSpawnID(String value)
value - public void setrefID(String value)
value - public void setRef(JDFAudit previous)
previous - the previous audit that is referencedpublic void setAuthor(String author)
author - @Deprecated public void setBy(String by)
by - public static String software()
public boolean init()
init in class KElementpublic String getIDPrefix()
KElement
getIDPrefix in class KElementKElement.getIDPrefix()@Deprecated public void setTimeStamp()
@Deprecated public String getTimeStamp()
public JDFDate getTimeStampDate()
public String getSpawnID()
public String getrefID()
public String getAuthor()
public void setAgentName(String value)
value - public String getQueueEntryID()
public void setQueueEntryID(String value)
value - public String getAgentName()
public void setAgentVersion(String value)
value - public String getAgentVersion()
public void setTimeStamp(JDFDate value)
value - public JDFAuditPool getAuditPool()
public JDFAudit createUpdateAudit()
public JDFAudit getUpdatedPreviousAudit()
public static String getStaticAgentName()
public static void setStaticAgentName(String agentName)
agentName - The m_strAgentName to set.public static String getStaticAuthor()
public static void setStaticAuthor(String author)
author - The m_strAuthor to set.public static String getStaticAgentVersion()
public static void setStaticAgentVersion(String agentVersion)
agentVersion - The m_strAgentVersion to set.public JDFEmployee getCreateEmployee(int iSkip)
iSkip - number of elements to skip
public JDFEmployee getEmployee(int iSkip)
iSkip - number of elements to skip
public Collection<JDFEmployee> getAllEmployee()
public JDFEmployee appendEmployee()
throws JDFException
JDFException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||