java.lang.Object
org.apache.xerces.dom.NodeImpl
org.apache.xerces.dom.ChildNode
org.apache.xerces.dom.ParentNode
org.apache.xerces.dom.ElementImpl
org.apache.xerces.dom.ElementNSImpl
All Implemented Interfaces:
Serializable, Cloneable, IStreamWriter, Element, ElementTraversal, EventTarget, Node, NodeList, TypeInfo

public class JDFAction extends JDFAutoAction
See Also:
  • Constructor Details

    • JDFAction

      public JDFAction(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName) throws DOMException
      Constructor for JDFAction
      Parameters:
      myOwnerDocument -
      qualifiedName -
      Throws:
      DOMException
    • JDFAction

      public JDFAction(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName) throws DOMException
      Constructor for JDFAction
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
      Throws:
      DOMException
    • JDFAction

      public JDFAction(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName) throws DOMException
      Constructor for JDFAction
      Parameters:
      myOwnerDocument -
      myNamespaceURI -
      qualifiedName -
      myLocalName -
      Throws:
      DOMException
  • Method Details

    • toString

      public String toString()
      toString
      Overrides:
      toString in class KElement
      Returns:
      String
      See Also:
    • getTest

      public JDFTest getTest()
      get the Test element in the TestPool that is referenced by this action
      Returns:
      JDFTest: the referenced test, null if none exists
    • getTestPool

      public JDFTestPool getTestPool()
      get the testPool that all IDRefs in this action refer to
      Returns:
      JDFTestPool: the neighboring TestPool
    • getTestTerm

      public JDFTerm getTestTerm()
      get the root Term of the Test element in the TestPool that is referenced by this action
      Returns:
      JDFTerm: the referenced term, null if none exists
    • getActionPool

      public JDFActionPool getActionPool()
      get the action pool this resides in
      Returns:
      JDFActionPool - the actionpool
    • init

      public boolean init()
      init()
      Overrides:
      init in class JDFElement
      Returns:
      boolean true always
      See Also:
    • getIDPrefix

      protected String getIDPrefix()
      getIDPrefix
      Overrides:
      getIDPrefix in class KElement
      Returns:
      String: the default ID prefix of non-overwritten JDF elements
    • setTest

      public void setTest(JDFTest test)
      set testRef to the value of test/@ID
      Parameters:
      test - the value to set testRef to
    • setPreflightActionSetRef

      public void setPreflightActionSetRef(JDFTest test)
      set PreflightAction/@SetRef to the value of test/@ID
      Parameters:
      test - the test to use
    • getPreflightActionSetRef

      public JDFTest getPreflightActionSetRef()
      get the test defined by PreflightAction/@SetRef
      Returns:
      JDFTest: the test to use
    • getPreflightActionSetTerm

      public JDFTerm getPreflightActionSetTerm()
      get the term defined by PreflightAction/@SetRef
      Returns:
      JDFTerm: the term to use