Class JDFNodeInfo

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

public class JDFNodeInfo extends JDFAutoNodeInfo
See Also:
  • Constructor Details

    • JDFNodeInfo

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

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

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

    • getTheAttributeInfo

      protected AttributeInfo getTheAttributeInfo()
      Overrides:
      getTheAttributeInfo in class JDFResource
      Returns:
    • getTheElementInfo

      protected ElementInfo getTheElementInfo()
      Overrides:
      getTheElementInfo in class JDFResource
      Returns:
      the elementinfo
    • toString

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

      public boolean init()
      Description copied from class: JDFResource
      default initialization
      Overrides:
      init in class JDFAutoNodeInfo
      Returns:
      true if ok
      See Also:
    • ensureWorkStepID

      public void ensureWorkStepID()
    • updateBusiness

      public boolean updateBusiness(JDFNodeInfo.EnumBusinessObject businessObject, 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:
    • getStart

      public JDFDate getStart()
      getStart with some better defaulting
      Overrides:
      getStart in class JDFAutoNodeInfo
      Returns: