Class JDFNodeInfo

  • 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 JDFNodeInfo
    extends JDFAutoNodeInfo
    See Also:
    Serialized Form
    • Constructor Detail

      • JDFNodeInfo

        public JDFNodeInfo​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                           java.lang.String qualifiedName)
        Constructor for JDFNodeInfo
        Parameters:
        myOwnerDocument -
        qualifiedName -
      • JDFNodeInfo

        public JDFNodeInfo​(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
                           java.lang.String myNamespaceURI,
                           java.lang.String qualifiedName)
        Constructor for JDFNodeInfo
        Parameters:
        myOwnerDocument -
        myNamespaceURI -
        qualifiedName -
      • JDFNodeInfo

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

      • toString

        public java.lang.String toString()
        toString
        Overrides:
        toString in class KElement
        Returns:
        String
        See Also:
        Object.toString()
      • ensureWorkStepID

        public void ensureWorkStepID()
      • updateBusiness

        public boolean updateBusiness​(JDFNodeInfo.EnumBusinessObject businessObject,
                                      java.lang.String newID)
        UpdateBusiness
        Parameters:
        businessObject -
        newID -
        Returns:
      • getLinkedResources

        public VElement getLinkedResources​(JDFAttributeMap mResAtt,
                                           boolean bFollowRefs)
        Get the linked resources matching some conditions
        Parameters:
        mResAtt - map of Resource attributes to search for
        bFollowRefs - true if internal references shall be followed
        Returns:
        vResource: vector with all elements matching the conditions default: GetLinkedResources(new JDFAttributeMap(), false)
      • cleanResourceAttributes

        public void cleanResourceAttributes()
        remove any resource specific attribute when making this to an element
        Overrides:
        cleanResourceAttributes in class JDFResource
      • isDefaultWorkStepID

        public static boolean isDefaultWorkStepID()
        Returns:
        the bDefaultWorkStepID
      • setDefaultWorkStepID

        public static void setDefaultWorkStepID​(boolean defaultWorkStepID)
        if set to true, all newly generated partitions are generated with a unique WorkStepID attribute
        Parameters:
        defaultWorkStepID - the bDefaultWorkStepID to set
      • getCreateJMFQuery

        public JDFQuery getCreateJMFQuery​(JDFMessage.EnumType queryType)
        gets the subscription query for a given messagetype or creates one if not yet there note that newly created query do not contain a subscription
        Parameters:
        queryType -
        Returns:
        the appropriate query
      • getEnd

        public JDFDate getEnd()
        getEnd with some better defaulting in case first or last is set
        Overrides:
        getEnd in class JDFAutoNodeInfo
        Returns: