Class JDFAction

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, IStreamWriter, org.w3c.dom.Element, org.w3c.dom.ElementTraversal, org.w3c.dom.events.EventTarget, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class JDFAction
    extends JDFAutoAction
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFAction

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

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

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

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • 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
      • getIDPrefix

        protected java.lang.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