org.cip4.jdflib.node
Class JDFNode

java.lang.Object
  extended by org.apache.xerces.dom.NodeImpl
      extended by org.apache.xerces.dom.ChildNode
          extended by org.apache.xerces.dom.ParentNode
              extended by org.apache.xerces.dom.ElementImpl
                  extended by org.apache.xerces.dom.ElementNSImpl
                      extended by org.cip4.jdflib.core.KElement
                          extended by org.cip4.jdflib.core.JDFElement
                              extended by org.cip4.jdflib.node.JDFNode
All Implemented Interfaces:
Serializable, Cloneable, INodeIdentifiable, IURLSetter, Element, EventTarget, Node, NodeList, TypeInfo

public class JDFNode
extends JDFElement
implements INodeIdentifiable, IURLSetter

This is the main node for the JDF ticket. Others are around, but this is the main one to do editing.

See Also:
Serialized Form

Nested Class Summary
static class JDFNode.CombinedProcessIndexHelper
           
 class JDFNode.CombinedProcessLinkHelper
           
static class JDFNode.EnumActivation
          inner class EnumActivation:
Enumeration for attribute Activation
static class JDFNode.EnumCleanUpMerge
          Enumeration for the policy of cleaning up the Spawn and Merge audits
static class JDFNode.EnumProcessUsage
          Enumeration for accessing typesafe nodes
static class JDFNode.EnumType
          inner class EnumType: Enumeration for accessing typesafe node types
 class JDFNode.StatusSynch
          synchronization of stati based on child jdf node status
 
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
static JDFNode.EnumActivation Activation_Active
          Deprecated. use EnumActivation.Active
static JDFNode.EnumActivation Activation_Held
          Deprecated. use EnumActivation.Held
static JDFNode.EnumActivation Activation_Inactive
          Deprecated. use EnumActivation.Inactive
static JDFNode.EnumActivation Activation_Informative
          Deprecated. use EnumActivation.EnumActivation.Informative
static JDFNode.EnumActivation Activation_TestRun
          Deprecated. use EnumActivation.TestRun
static JDFNode.EnumActivation Activation_TestRunAndGo
          Deprecated. use EnumActivation.TestRunAndGo
static JDFNode.EnumProcessUsage ProcessUsage_Accepted
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Ancestor
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Any
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_AnyInput
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_AnyOutput
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_BackEndSheet
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Book
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_BookBlock
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Box
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Case
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Child
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Cover
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_CoverBoard
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_CoverMaterial
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Document
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_FrontEndSheet
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Good
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Input
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Jacket
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Label
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Marks
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Mother
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Plate
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Proof
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Rejected
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_RingBinder
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_SpineBoard
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Surface
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumProcessUsage ProcessUsage_Waste
          Deprecated. use EnumProcessUsage.xxx
static JDFNode.EnumType Type_AdhesiveBinding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Approval
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_AssetListCreation
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_BlockPreparation
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_BoxPacking
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Buffer
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Bundling
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_CaseMaking
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_CasingIn
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ChannelBinding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_CoilBinding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Collecting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ColorCorrection
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ColorSpaceConversion
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Combine
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Combined
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ContactCopying
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ContoneCalibration
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ConventionalPrinting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_CoverApplication
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Creasing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Cutting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_DBDocTemplateLayout
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_DBTemplateMerging
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Delivery
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_DigitalDelivery
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_DigitalPrinting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Dividing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Embossing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_EndSheetGluing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Feeding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_FilmToPlateCopying
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Folding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_FormatConversion
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Gathering
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Gluing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_HeadBandApplication
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_HoleMaking
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_IDPrinting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ImageReplacement
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ImageSetting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Imposition
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_InkZoneCalculation
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Inserting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Interpreting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Jacketing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Labeling
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Laminating
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_LayoutElementProduction
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_LayoutPreparation
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_LongitudinalRibbonOperations
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ManualLabor
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Numbering
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Ordering
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Packing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Palletizing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_PDFToPSConversion
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Perforating
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_PlasticCombBinding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Preflight
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_PreviewGeneration
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_PrintRolling
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ProcessGroup
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Product
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Proofing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_PSToPDFConversion
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_QualityControl
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Rendering
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ResourceDefinition
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_RingBinding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_SaddleStitching
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Scanning
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Screening
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Separation
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ShapeCutting
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Shrinking
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_SideSewing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_SoftProofing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_SpinePreparation
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_SpineTaping
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Split
          Deprecated. use EnumType.Type_xxx x
static JDFNode.EnumType Type_Stacking
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Stitching
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Strapping
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_StripBinding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Stripping
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ThreadSealing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_ThreadSewing
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Tiling
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Trapping
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Trimming
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Verification
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_WireCombBinding
          Deprecated. use EnumType.xxx
static JDFNode.EnumType Type_Wrapping
          Deprecated. use EnumType.xxx
 
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.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Fields inherited from interface org.w3c.dom.TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
 
Constructor Summary
JDFNode(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName)
          Constructor for JDFNode
JDFNode(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName)
          Constructor for JDFNode
JDFNode(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName, String myLocalName)
          Constructor for JDFNode
 
Method Summary
 JDFNode addCombined(VString tasks)
          add a combined node
 JDFComponent addComponent(String cType, boolean bInput, JDFNode resRoot, boolean bLink)
          Deprecated. use standard addResource
 JDFResource addConsumable(String strName, boolean bInput, JDFNode resRoot, boolean bLink)
          Deprecated. use addResource(name, null, true, null, true)
 JDFResource addHandling(String strName, boolean bInput, JDFNode resRoot, boolean bLink)
          Deprecated. use addResource(name, null, true, null, true)
 JDFResource addInternalPipe(String resourceName, int indexOutput, int indexInput)
          add an internal pipe (an input and an output link to an explicitly defined exchange resource)
 JDFNode addJDFNode(JDFNode.EnumType typ)
          add a JDFNode
 JDFNode addJDFNode(String typ)
          add a JDFNode remove @Types to avoid inconsistent JDF
 JDFAudit addModified(String by)
          addModified
 JDFResource addParameter(String strName, boolean bInput, JDFNode resRoot, boolean bLink)
          Deprecated. use addResource(strName, JDFResource.EnumClass.Parameter, bInput, resRoot, bLink, null)
 JDFNode addProcess(String prodName)
          Deprecated. use addJDFNode(EnumType typ) or addJDFNode(String typ)
 JDFNode addProcessGroup(VString tasks)
          Add a process group node
 JDFNode addProduct()
          add a product node to this
 JDFResource addResource(String strName, JDFResource.EnumResourceClass resClass, boolean bInput, JDFNode resRoot, boolean bLink, String nameSpaceURI)
          Deprecated. use addResource(String strName, JDFResource.EnumResourceClass resClass, EnumUsage usage, EnumProcessUsage processUsage, JDFNode resRoot, String nameSpaceURI)
 JDFResource addResource(String strName, JDFResource.EnumResourceClass resClass, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage, JDFNode resRoot, String nameSpaceURI, JDFResource toReplace)
          addResource - add a resource to resroot and link it to this process
 JDFResource addResource(String strName, JDFResourceLink.EnumUsage usage)
          addResource - add a resource to resroot and link it to this process utility with the minimal parameter set
 JDFNode addTask(String task)
          Deprecated. use addJDFNode
 JDFNode addTask(String task, VString tasks)
          Deprecated. use addJDFNode
 void addTypes(JDFNode.EnumType typ)
          add typ to the types list if this is a combined node or gray box
 JDFAncestorPool appendAncestorPool()
           
 JDFAuditPool appendAuditPool()
           
 JDFCustomerInfo appendCustomerInfo()
          appends a CustomerInfo to this
 JDFResource appendMatchingResource(String resName, JDFNode.EnumProcessUsage processUsage, JDFNode resourceRoot)
          Method AppendMatchingResource.
 JDFNodeInfo appendNodeInfo()
          appends a NodeInfo to this
 JDFNodeInfo appendNodeInfo(int combinedProcessIndex)
          appends a NodeInfo for a given combinedprocessindex to this
 JDFResourceLinkPool appendResourceLinkPool()
          Append a ResourceLinkPool element, return existing element if one already exist
 JDFResourcePool appendResourcePool()
          append a ResourcePool element, return existing element if one already exist
 JDFStatusPool appendStatusPool()
          append a StatusPool element, return existing element if one already exist
 Collection<JDFResource> checkSpawnedResources(VString vRWResources, VJDFAttributeMap vSpawnParts)
          add any resources that live in ancestor nodes to this node
 JDFResourceAudit cloneResourceToModify(JDFResourceLink resLink)
          clone the target resource of this and generate a ResourceAudit in the parent node's AuditPool.
 boolean containsType(String type)
          Check whether typ or types contains type
 JDFResourceLink ensureLink(JDFResource jdfResource, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage)
          ensureLink: if it does not yet exist, create a resourceLink in the resourceLinkPool that refers to the resource jdfResource also sets the appropriate combined process index
 void ensureValidRefsPosition(JDFResource r)
          ensure that the linked resource and all referenced resources are correctly positioned
 void ensureValidResPosition(JDFResource r2)
           
 void eraseUnlinkedResources()
          removes all unlinked resources
 boolean fitsActivation(JDFNode.EnumActivation active, boolean bWalkThroughAncestors)
          the activation state of this node
 boolean fixNiCi(JDFElement.EnumVersion version)
          fix NodeInfo and CustomerInfo
 JDFNode.EnumActivation getActivation()
          Deprecated. 060406 use getActivation(false)
 JDFNode.EnumActivation getActivation(boolean bWalkThroughAncestors)
          get attribute Activation; defaults to Active
 HashSet<JDFElement> getAllRefs(HashSet<JDFElement> vDoneRefs, boolean bRecurse)
          get inter-resource linked resource refs and resourcs links
 VString getAllTypes()
          Gets the vector of the string Type/Types attribute values of the given JDFNode by recursively traversing the tree
returns exactly one element="Product" if the tested node's type is product
 String getAncestorAttribute(String attrib, String nameSpaceURI, String def)
          searches for the first element occurence in the parent nodes and then the ancestor elements of the root ancestorpool
 KElement getAncestorElement(String element, String nameSpaceURI)
          searches for the first element occurence in this and the ancestor elements
 String getAncestorElementAttribute(String element, String attrib, String nameSpaceURI, String def)
          searches for the first attribute occurence in the ancestor elements subelements
 VString getAncestorIDs()
          Get an ordered list of all Parents ID attributes:
the last entry is the direct parent, the last-1 entry is the grandparent etc.
 JDFNode getAncestorNode(int nSkip)
          Deprecated. use getParentJDF()
 JDFAncestorPool getAncestorPool()
           
 JDFAuditPool getAuditPool()
           
 String getCategory()
          get string attribute Category
 String getCategory(boolean bInherit)
          Deprecated. - use getCategory() instead
 JDFNode getChildJDFNode(String id, boolean bDirect)
          get a Child JDFNode with a given ID attribute
 int getCombinedProcessIndex(JDFNode.EnumType typ, int start)
          get the first index of a process in types after start
 int getCombinedProcessIndex(String typ, int start)
          get the first index of a process in types after start
 Vector getCombinedTypes()
          Deprecated. use getTypes() or getEnumTypes()
 VElement getCompleted()
          get a vector with all nodes
 JDFAncestorPool getCreateAncestorPool()
           
 JDFAuditPool getCreateAuditPool()
           
 JDFCustomerInfo getCreateCustomerInfo()
          gets the existing CustomerInfo or creates a new one if none exists this method will check if a NodeInfo exists,
 JDFNodeInfo getCreateNodeInfo()
          gets the existing NodeInfo or creates a new one if none exists this method will check if a NodeInfo exists,
 JDFResource getCreateResource(String strName, JDFResourceLink.EnumUsage usage, int i)
          Get the linked resource with name=strName; create it if it does not exist
 JDFResourceLinkPool getCreateResourceLinkPool()
          Get element ResourceLinkPool, create if it doesn't exist
 JDFResourcePool getCreateResourcePool()
          Get element ResourcePool, create if it doesn't exist
 JDFStatusPool getCreateStatusPool()
          Get element StatusPool, create if it doesn't exist
 JDFCustomerInfo getCustomerInfo()
          gets the existing CustomerInfo
 String getCustomerInfoBillingCode()
          Deprecated. 06�221 use getInheritedCustomerInfo(String attName)
 JDFCompany getCustomerInfoCompany()
          Deprecated. 06�221 use getInheritedCustomerInfo(String attName)
 JDFContact getCustomerInfoContact(int iSkip)
          Deprecated. 06�221 use getInheritedCustomerInfo(String attName)
 String getCustomerInfoCustomerID()
          Deprecated. 06�221 use getInheritedCustomerInfo(String attName)
 String getCustomerInfoCustomerJobName()
          Deprecated. 06�221 use getInheritedCustomerInfo(String attName)
 JDFCustomerMessage getCustomerInfoCustomerMessage(int iSkip)
          Deprecated. 06�221 use getInheritedCustomerInfo(String attName)
 String getCustomerInfoCustomerOrderID()
          Deprecated. 06�221 use getInheritedCustomerInfo(String attName)
 String getCustomerInfoCustomerProjectID()
          Deprecated. 06�221 use getInheritedCustomerInfo(String attName)
 JDFNode.EnumProcessUsage getEnumProcessUsage(String info, int i)
          get the resource that matches the typesafe link described by i
 JDFNode.EnumType getEnumType()
          get the enumerated type value of @Type
 Vector<JDFNode.EnumType> getEnumTypes()
          get the Types as a vector of EnumType
 VJDFAttributeMap getExecutablePartitions(JDFResourceLink link, JDFResource.EnumResStatus minStatus)
          Deprecated. only for backward compatibility !!!
 VJDFAttributeMap getExecutablePartitions(JDFResourceLink link, JDFResource.EnumResStatus minStatus, boolean bCheckNodeStatus)
          Gets the executable partitions of the resource in this node (with corresponding resource link).
 VJDFAttributeMap getExecutablePartitions(JDFResourceLink link, JDFResource res, JDFResource.EnumResStatus minStatus)
          Deprecated. use getExecutablePartitions(link, minStatus);
 int getGenericLinksLength()
          Deprecated. use m_strGenericLinkNames.length;
 VString getICSVersions(boolean bInherit)
          get NMTOKENS attribute ICSVersions
 NodeIdentifier getIdentifier()
          gets the NodeIdetifier that matches this
 String getIDPrefix()
          getIDPrefix
 JDFCustomerInfo getInheritedCustomerInfo()
          Deprecated. 06�221 use getInheritedCustomerInfo(String xPath)
 JDFCustomerInfo getInheritedCustomerInfo(String xPath)
          get first CustomerInfo element from child list or child list of any ancestor
 JDFNodeInfo getInheritedNodeInfo()
          Deprecated. 060221 use getInheritedNodeInfo(String xPath)
 JDFNodeInfo getInheritedNodeInfo(String xPath)
          get first NodeInfo element from child list or child list of any ancestor
 VString getInsertLinkVector(int nMax)
          get a vector of Link names that may be inserted in this element if the links need a processusage, the format is LinkName:ProcessUsage
 VElement getIntents()
          Get vector of linked input resource intents
 VString getInvalidLinks(JDFElement.EnumValidationLevel level, int nMax)
          typesafe validator utility
 String getJobID(boolean bInherit)
          get string attribute JobID
 JDFNode getJobPart(NodeIdentifier nodeID)
          getJobPart - get a child node with a given jobpartid
 JDFNode getJobPart(String jobPartID, String jobID)
          getJobPart - get a child node with a given jobpartid
 String getJobPartID()
          Deprecated. use getJobPartID(false);
 String getJobPartID(boolean bInherit)
          get string attribute JobID
 JDFResourceLink getLink(int index, String linkName, JDFAttributeMap mLinkAtt, String linkNS)
          getLink - get the n'th link matching mLinkAtt out of the resource link pool
 JDFResourceLink getLink(JDFResource r, boolean bInput)
          Deprecated. use getLink(resource, EnumUsage)
 JDFResourceLink getLink(JDFResource r, JDFResourceLink.EnumUsage usage)
          getLink - get the resourcelink that resides in the ResourceLinkPool of this node and references the resource r
 VElement getLinkedResources(JDFAttributeMap mResAtt, boolean bFollowRefs)
          get the linked resources matching certain conditions
combines all linked resources from ResourceLinkPool, CustomerInfo, NodeInfo and AuditPool
 VElement getLinks(String linkName, JDFAttributeMap mLinkAtt, String linkNS)
          Deprecated. - use getResourceLinks
 VElement getLinks(String linkName, String nameSpaceURI)
          Deprecated. this routine does not belong here at all!
 VElement getLinksForCombinedProcessIndex(int combinedProcessIndex)
          get the links that are selected by a given CombinedProcessIndex
all links with no CombinedProcessIndex are included in the list
 VElement getLinksForType(JDFNode.EnumType type, int nType)
          get the links that are selected by a given CombinedProcessIndex
all links with no CombinedProcessIndex are included in the list
 JDFResourceLink getMatchingLink(String resName, JDFNode.EnumProcessUsage processUsage, int pos)
          get the link that matches the typesafe resource name
if the Resource type is not defined for the process represented by this node, the link is ignored (see JDF Spec Chapter 6)
 VElement getMatchingLinks(String resName, boolean bLink, JDFNode.EnumProcessUsage processUsage)
          get the links that match the typesafe resource name if the Resource type is not defined for the process represented by this node see chapter 6 JDFSpec, then the links are ignored
 VElement getMatchingNodes(NodeIdentifier ni)
          returns all subnodes of this (including this) that match ni
 JDFResource getMatchingResource(String resName, int processUsage, JDFAttributeMap partMap, int pos)
          Deprecated. use getMatchingResource(String resName, EnumProcessUsage processUsage, JDFAttributeMap partMap, int pos))
 JDFResource getMatchingResource(String resName, JDFNode.EnumProcessUsage processUsage, JDFAttributeMap partMap, int pos)
          get the resource that matches a typesafe resource name if the Resource type is not defined for the process represented by this node see chapter 6 JDFSpec, then the resource is ignored
 int getMaxJobPartId(String idPrefix)
          gets the maximum job part id; note that this assumes integer job part ids return
 JDFElement.EnumVersion getMaxVersion(boolean bInherit)
          get attribute MaxVersion, defaults to version if not set
 int getMinID()
          Deprecated. - actually does more harm than good
 VString getMissingLinks(int nMax)
          Deprecated. use getMissingLinkVector
 VString getMissingLinkVector(int nMax)
          get a vector of Link names that are missing in this element
if the links need a processusage, the format is LinkName:ProcessUsage
 VString getNamedFeatures()
          Get NMTOKENS attribute NamedFeatures
 VString GetNamedFeatures(boolean bInherit)
          Deprecated. - use getNamedFeatures() instead
 JDFNodeInfo getNodeInfo()
          gets the existing local NodeInfo if it is a resource or an element and the NodeInfo is unique for all CombinedProcessIndex values
 JDFNodeInfo getNodeInfo(int combinedProcessIndex)
          gets the existing local NodeInfo for a given CombinedProcessIndex
 JDFBusinessInfo getNodeInfoBusinessInfo()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDuration getNodeInfoCleanupDuration()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFAutoMISDetails.EnumCostType getNodeInfoCostType()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFAutoNodeInfo.EnumDueLevel getNodeInfoDueLevel()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFEmployee getNodeInfoEmployee()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDate getNodeInfoEnd()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDate getNodeInfoFirstEnd()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDate getNodeInfoFirstStart()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFXYPair getNodeInfoIPPVersion()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFJMF getNodeInfoJMF(int iSkip)
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 int getNodeInfoJobPriority()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDate getNodeInfoLastEnd()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDate getNodeInfoLastStart()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 String getNodeInfoNaturalLang()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFNotificationFilter getNodeInfoNotificationFilter(int iSkip)
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 VJDFAttributeMap getNodeInfoPartMapVector()
          return the partMapVector defined in AncestorPool or NodeInfo or output resource in that sequence, null if no NodeInfo exists, or NodeInfo has no Part elements
 String getNodeInfoRoute()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDuration getNodeInfoSetupDuration()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDate getNodeInfoStart()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 String getNodeInfoTargetRoute()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFDuration getNodeInfoTotalDuration()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 JDFAutoMISDetails.EnumWorkType getNodeInfoWorkType()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 String getNodeInfoWorkTypeDetails()
          Deprecated. 06�221 use getInheritedNodeInfo(String attName)
 VString getParentIds()
          Get an ordered list of the ids of the parents of this node
the last element in the pool is the direct parent, the second to last is the grandparent etc.
 JDFNode getParentJDF()
          get the Parent JDFNode, null if the parent element is the document or an envelope xml
 JDFNode getParentJDFNode()
          Deprecated. use getParentJDF()
 VString getPartIDKeys(JDFAttributeMap partMap)
          get a heuristic partidkey vector from the partitons of the linked resources
 VJDFAttributeMap getPartMapVector()
          return the partMapVector defined in AncestorPool, null if no AncestorPool exists, or AncestorPool has no Part elements
 JDFElement.EnumNodeStatus getPartStatus(JDFAttributeMap mattr)
          Deprecated. us 2 parameter method
 JDFElement.EnumNodeStatus getPartStatus(JDFAttributeMap mattr, int method)
          get the node's partition status, even if the link does not match mattr
 String getPartStatusDetails(JDFAttributeMap mattr)
          get the node's partition statusdetails
 Vector getPredecessors(boolean bPre)
          Deprecated. use getPredecessors(bPre,false);
 VElement getPredecessors(boolean bPre, boolean bDirect)
          get a vector of all direct predecessor or following nodes, depending on bPre
 JDFNode[] getProcessNodes()
          Deprecated. use getvJDFNode(null,null,false) and skip intermediate nodes
 JDFElement.EnumNodeStatus getProcessStatus(JDFAttributeMap mattr)
          Deprecated. use getPartStatus()
 String getProjectID()
          Deprecated. use getProjectID(boolean bInherit)
 String getProjectID(boolean bInherit)
          get string attribute ProjectID
 String getRelatedJobID(boolean bInherit)
          get string attribute RelatedJobID
 String getRelatedJobPartID(boolean bInherit)
          get string attribute RelatedJobPartID
 JDFResource getResource(String strName, JDFResourceLink.EnumUsage usage, int i)
          Get the linked resource with name=strName
 JDFResource getResource(String strName, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage, int i)
          Get the linked resource with name=strName
 JDFResource getResource(String strName, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage, int i, String namespaceURI)
          Get the linked resource with name=strName
 VString getResourceIDs(boolean isInput)
          Returns the input or output resource IDs of this process node.
 JDFResourceLinkPool getResourceLinkPool()
          get the first ResourceLinkPool element
 VElement getResourceLinks()
          Deprecated. use getResourceLinks(null)
 VElement getResourceLinks(JDFAttributeMap mLinkAtt)
          get the resourcelinks in the resourcepool of this node
 VElement getResourceLinks(String linkName, JDFAttributeMap mLinkAtt, String linkNS)
          getLinks - get the links matching mLinkAtt out of the resource link pool
 JDFResourcePool getResourcePool()
          get the first ResourcePool element
 JDFNode getRoot()
          getRoot - this function returns the root of the JDF document
 String getSpawnID()
          Deprecated. use getSpawnID(boolean)
 String getSpawnID(boolean bInherit)
          get string attribute SpawnID
 String getStatusDetails()
          get string attribute StatusDetails
 String getStatusDetails(boolean bInherit)
          Deprecated. - use getStatusDetails() instead
 VJDFAttributeMap getStatusPartMapVector()
          return the partMapVector defined by nodeInfo partitioning null if nodeInfo is not partitioned or if the node status is neither pool nor part
 JDFStatusPool getStatusPool()
          get the first StatusPool element
 JDFNode.StatusSynch getStatusSynch()
          get the status synchroniter
 JDFResource getTargetResource(String id)
          Returns a resource with id anywhere in the tree below this node similar to getTarget(id) but looks only in the resource pool's direct children
 boolean getTemplate()
          get boolean attribute Template, default=false
 String getTemplateID(boolean bInherit)
          get string attribute TemplateID
 String getTemplateVersion(boolean bInherit)
          get string attribute TemplateVersion
protected  AttributeInfo getTheAttributeInfo()
          definition of optional attributes in the JDF namespace
protected  ElementInfo getTheElementInfo()
           
 String getType()
          getType - get node Type
 VString getTypes()
          get the Types as a vector of strings
 String getTypesString()
          getType - get node Types or Type attribute
 VElement getUnknownLinkVector(VString vInNameSpace, int nMax)
          get a vector of ResourceLink elements that exist but are unknown by this element
 VElement getUnlinkedResources(boolean bLocal)
          Deprecated. - Use @see UnlinkFinder
 String getURL()
          gets the CommentURL this allows us to implement IURLSetter and automagically manipulate attatched commenturl files
 JDFElement.EnumNodeStatus getVectorPartStatus(VJDFAttributeMap vMap)
          get the status for the vector v
 String getVectorPartStatusDetails(VJDFAttributeMap vMap)
          get the statusdetails for the vector v
 JDFElement.EnumVersion getVersion(boolean bInherit)
          get enum attribute "version"
 Vector getvJDFNode(String task, boolean active)
          Deprecated. use public Vector getvJDFNode(task, JDFNode.EnumActivation.Unknown, false)
 VElement getvJDFNode(String task, JDFNode.EnumActivation active, boolean bDirect)
          Get a vector of all JDF children with type nodeType
 String getWorkStepID(JDFAttributeMap map)
          get the NodeInfo/@workstepid for a given partition if no workstepID exists, returns jobPartID
 boolean hasActivation(boolean bInherit)
          Check existance of attribute Activation
 boolean hasAncestorAttribute(String attrib, String nameSpaceURI)
          true if a non default attribute occurence in the parent nodes and then the ancestor elements of the root ancestorpool exists
 boolean hasAncestorElement(String element, String nameSpaceURI)
          Deprecated.  
 boolean hasAncestorElementAttribute(String element, String attrib, String nameSpaceURI)
          true if a non default attribute occurs in the parent nodes and the ancestor elements subelements of the root ancestorpool exists
 boolean hasAncestorPool()
          Deprecated. use numChildElements(ElementName.ANCESTORPOOL, null) > 0;
 boolean hasCustomerInfo()
          Deprecated. use getCustomerInfo()!=null
 boolean hasInvalidLinks(JDFElement.EnumValidationLevel level)
          true if invalid Links are in this element
 boolean hasJobID(boolean bInherit)
          Deprecated.  
 boolean hasNodeInfo()
          Deprecated. use getNodeInfo()!=null
 boolean hasParent(JDFNode p)
          check whether a node with the same ID as one in p's ancestorpool exists in this document
 boolean hasProjectID()
          Deprecated.  
 boolean hasProjectID(boolean bInherit)
          Deprecated.  
 boolean hasStatusPool()
          Deprecated.  
 boolean hasType()
          Deprecated. use inline hasAttribute
 boolean hasVersion(boolean bInherit)
          Check existence of attribute "version"
 boolean init()
          init - init the node
 void insertTypeInTypes(JDFNode.EnumType type, int beforePos)
          insert a new Process into @Types at the position pos
 boolean isActive()
          Deprecated. use fitsActivation
 boolean isActive(boolean bWalkThroughAnchestors)
          Deprecated. use fitsActivation
 boolean isCombined()
          Deprecated. use JDFConstants.COMBINED.equals(getType());
 boolean isExecutable(JDFAttributeMap partMap, boolean bCheckChildren)
          isExecutable - checks whether a node is executable by checking the resources linked by the resourcelinkpool and @Status or NodeInfo/@NodeStatus and JDF/@Activation
 boolean isGroupNode()
          Is this a group node type (ProcessGroup or Product)?
 boolean isJDFRoot()
          is this the JDF root element, i.e. it has no JDF above it
 boolean isProcessGroup()
          Deprecated. use JDFConstants.PROCESSGROUP.equals(getType());
 boolean isProcessNode()
          Checks if this node is a simple process (including Combined) leaf node.
 boolean isProduct()
          Deprecated. use JDFConstants.PRODUCT.equals(getType());
 boolean isSuccessor(JDFNode proc)
          Checks if this process is the successor of the given process node.
 boolean isTypesNode()
          Is this a group node type that allows @Types (ProcessGroup or Combined)?
 boolean isValid(JDFElement.EnumValidationLevel level)
          typesafe validator, checks whether all resource links are ok
 boolean isValidLink(JDFElement.EnumValidationLevel level, JDFResourceLink rl, Vector<Integer> doneNameList, Vector<Integer> doneIndexList)
          isValidLink check whether an index is legal for this class
 VString linkInfo()
          definition of resource link usage, cardinality and ProcessUsage in the JDF namespace
 JDFResourceLink linkMatchingResource(JDFResource resource, JDFNode.EnumProcessUsage processUsage, JDFAttributeMap partMap)
          Append a resource that matches the typesafe link described by resource name
 VString linkNames()
          definition of resource link names in the JDF namespace
 void linkOutputs(JDFNode thePreviousNode)
          links all output resources of thePreviousNode as inputs to this
 JDFResourceLink linkResource(JDFResource jdfResource, boolean input, boolean bForce)
          Deprecated. use linkResource(enum)
 JDFResourceLink linkResource(JDFResource jdfResource, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage)
          LinkResource: create a resourceLink in the resourceLinkPool that refers to the resource jdfResource also sets the appropriate combined process index
 JDFNode mergeJDF(JDFNode toMerge, String urlMerge, JDFNode.EnumCleanUpMerge cleanPolicy, JDFResource.EnumAmountMerge amountPolicy)
          Deprecated. use JDFMerge class
 JDFNode mergeNode(JDFNode e, boolean bDelete)
          merge nodes in a way that no duplicate elements are created
attention !!
 int numCustomerInfos()
          Deprecated. must never be more than one...
 int numMatchingLinks(String resName, boolean bLink, JDFNode.EnumProcessUsage processUsage)
          get the number of links that match the typesafe link resource name
 int numNodeInfos()
          Deprecated. must never be more than one...
 VElement prepareNodeInfo(VJDFAttributeMap vSpawnParts)
          prepare the nodeinfo for a list of parts, e.g. for a partitioned spawn if nodeinfo is prepartitioned it will return a vector of all matching leaves
 JDFResourceAudit prepareToModifyLink(JDFResourceLink resLink)
          Generate a ResourceAudit in the parent node's AuditPool an initial copy of the not yet modified resourcelink is inserted
call JDFResourceAudit.UpdateLink with the modified link to finalize
 void removeAncestorPool()
          Deprecated.  
 boolean removeCompleted()
          Deprecated.  
 void removeCustomerInfo()
          remove element Customerinfo whether it is an element or a resource
 void removeCustomerInfos()
          Deprecated. 060220 use removeCustomerInfo
 void removeFromTypes(String type, int iSkip)
          remove a type from the types list - also cleaning up combinedprocessindex
 boolean removeMatchingLink(String resName, int processUsage, boolean bRemoveResource, int pos)
          remove the link that matches the typesafe link resource name
 boolean removeMatchingLinks(String resName, JDFNode.EnumProcessUsage processUsage, boolean bRemoveResource)
          remove the link that matches the typesafe link resource name
 void removeNode(boolean bLeaveSubmit)
          Deprecated.  
 void removeNodeInfo()
          remove element NodeInfo with ProcessUsage="Ancestor" is infinity.
 void removeNodeInfos()
          Deprecated. removes only 1 NodeInfo. In Version 1.3 the cardinality of NodeInfo
 JDFResource removeResource(String nodeName, int iSkip)
          removes a Resource from this ResourceLinkPool and from the resourcePool if it is no longer linked to any other process
 void removeSpawnID()
          Deprecated.  
static boolean resourceTypeEqual(JDFResource res1, JDFResource res2)
          ResourceTypeEqual
Checks whether the given resources are of the same type.
 void setActivation(JDFNode.EnumActivation bActive)
          Set attribute Activation
 void setCategory(String value)
          set attribute Category
 void setCombined(VString vCombiNodes)
          setCombined - set the combined node types to the values in vCombiNodes
 void setICSVersions(VString value)
          set attribute ICSVersions
 void setIdentifier(NodeIdentifier ni)
           
 void setJobID(String value)
          set attribute JobID
 void setJobPartID(String jobPartID)
          Set attribute JobPartID
 void setMaxVersion(JDFElement.EnumVersion enumVer)
          set MaxVersion to enumVer
 void setMaxVersion(String value)
          Deprecated. use setMaxVersion(EnumVersion)
 void setNamedFeatures(VString value)
          set attribute NamedFeatures
 boolean setPartStatus(JDFAttributeMap mattr, JDFElement.EnumNodeStatus status)
          Deprecated. use 3 parameter version
 boolean setPartStatus(JDFAttributeMap mattr, JDFElement.EnumNodeStatus status, String statusDetails)
          set the node's partition status if nodeinfo is partitioned, all leaves NodeStati below part are removed
 boolean setPartStatus(VJDFAttributeMap vmattr, JDFElement.EnumNodeStatus status)
          Deprecated. use 3 parameter version
 boolean setPartStatus(VJDFAttributeMap vmattr, JDFElement.EnumNodeStatus status, String statusDetails)
          sets the node's partition status and StatusDetails
 JDFDoc setPhase(JDFElement.EnumNodeStatus nodeStatus, String nodeStatusDetails, JDFAutoDeviceInfo.EnumDeviceStatus deviceStatus, String deviceStatusDetails, VJDFAttributeMap vPartMap)
          Deprecated. use the version with deviceID
 void setProjectID(String strValue)
          set attribute ProjectID
 void setRelatedJobID(String value)
          set attribute ProjectID
 void setRelatedJobPartID(String value)
          set attribute RelatedJobPartID
 void setSpawnID(String value)
          Set attribute SpawnID
 void setStatusDetails(String value)
          set attribute StatusDetails
 void setTemplate(boolean value)
          set attribute Template
 void setTemplateID(String value)
          set attribute TemplateID
 void setTemplateVersion(String value)
          set attribute TemplateVersion
 void setType(JDFNode.EnumType typ)
          setType set the type attribute to the enumeration type also set xsi:type etc
 boolean setType(String newType, boolean checkName)
          setType set the type attribute to the string type
 void setTypes(VString vCombiNodes)
          set node Types , also set Type to Combined
 void setURL(String url)
          sets the CommentURL this allows us to implement IURLSetter and automagically manipulate attatched commenturl files
 void setVersion(String value)
          Deprecated. use JDFElement.setVersion(EnumVersion.getEnum(value))
 void sortChildren()
          sorts all elements alphabetically also recurses into the resourcepool and the sub JDF Node NO other sub-elements are sorted
 JDFNode spawn(String parentURL, String spawnURL, VString vRWResources_in, VJDFAttributeMap vSpawnParts, boolean bSpawnROPartsOnly, boolean bCopyNodeInfo, boolean bCopyCustomerInfo, boolean bCopyComments)
          Deprecated. - use JDFSpawn class ( see code below)
 JDFNode spawnInformative(String parentURL, String spawnURL, VJDFAttributeMap vSpawnParts, boolean bSpawnROPartsOnly, boolean bCopyNodeInfo, boolean bCopyCustomerInfo, boolean bCopyComments)
          Deprecated. use JDFSpawn.spawnInformative()
 void synchParentAmounts()
          synchronize the amounts of a gray box parent with the expanded jdfnode
 void toGrayBox(boolean bExpand)
          make any combined or single type process to a gray box
 String toString()
          toString - StringRepresentation of JDFNode
protected static String[] typeLinkInfo(JDFNode.EnumType typeNum)
          definition of resource link usage, cardinality and ProcessUsage in the JDF namespace for a given EnumType
protected static String[] typeLinkNames(JDFNode.EnumType typeNum)
          definition of resource link names in the JDF namespace
 JDFNode unSpawn(String spawnID)
          Deprecated. use new JDFSpawn(this).unSpawn(spawnID);
 void updatePartStatus(VJDFAttributeMap vMap, boolean updateKids, boolean updateParents)
          Deprecated. use 4 parameter version
 void updatePartStatus(VJDFAttributeMap vMap, boolean updateKids, boolean updateParents, int method)
          update the node status or nodeinfo/@NodeStatus for all partitions specified in vMap
 void upDateStatus()
          Deprecated. use updatePartStatus(VJDFAttributeMAP)
 
Methods inherited from class org.cip4.jdflib.core.JDFElement
appendAnchor, appendBestEffortExceptions, appendComment, appendElement, appendGeneralID, appendGeneralID, appendHRef, appendHRef, appendMustHonorExceptions, appendOperatorInterventionExceptions, appendPreview, appendrRefs, attributeType, clearTargets, cloneNewDoc, copyInto, deprecatedAttributes, eraseDefaultAttributes, exclusiveOneOfAttribute, exclusiveOneOfElement, fixVersion, getAtrType, getAttributeInfo, getBestEffortExceptions, getChildElement, getChildElements, getChildElementVector_JDFElement, getChildElementVector, getChildIds, getChildrenByTagName, getChildrenByTagName, getChildWithAttribute, getChildWithMatchingAttribute, getComment, getComment, getCommentURL, getCreateComment, getCreatePreview, getCreateRefElement, getDeepElementByID, getDefaultAttributeMap, getDefaultJDFVersion, getDeprecatedAttributes, getDeprecatedElements, getDescriptiveName, getElement_JDFElement, getElement, getElementIDPrefix, getElementNameVector, getEnumAttribute, getEnumerationsAttribute, getEnumerationsAttribute, getEnumforAttribute, getEnumNodeName, getEnumString, getFirstVersion, getGeneralID, getGeneralID, getGeneralID, getGeneralIDMap, getGeneralIDVectorMap, getHRef, getHRefs, getHRefs, getInsertElements, getInsertElementVector, getInvalidAttributes, getInvalidElements_JDFElement, getInvalidElements, getJDFRoot, getJMFRoot, getLastVersion, getLinkRoot, getMissingAttributes, getMissingAttributeVector, getMissingElements, getMissingElementVector, getMustHonorExceptions, getNamesVector, getOperatorInterventionExceptions, getOwnerDocument_JDFElement, getParentJDF, getPartMap, getPrereleaseAttributes, getPrereleaseElements, getPreview, getRefElement, getRefElements, getRefString, getrRefs, getSchemaURL, getSchemaURL, getSettingsPolicy, getStatus, getTarget_JDFElement, getTarget, getTarget, getTheAttributeInfo_JDFElement, getTheElementInfo_JDFElement, getTypeForAttribute, getUnknownAttributes, getUnknownAttributeVector, getUnknownElements, getUnknownElementVector, getUnknownPoolElements, getURLDoc, getURLInputStream, getValueForNewAttribute, getVersion, getvHRefRes, getvHRefRes, getXMLDocUserData, hasMissingAttributes, hasMissingElements, hasPartMap, hasSettingsPolicy, hasUnknownAttributes, hasUnknownElements, idString, includesMatchingAttribute, inlineRefElements, insertBefore, isComment, isCommentStatic, isDirty, isInJDFNameSpace, isInJDFNameSpaceStatic, isInJDFNameSpaceStatic, isJDFNode, isRefElement, isRefElementStatic, isResource, isResourceLink, isResourceLinkStatic, isResourceStatic, isResourceUpdate, isValid_JDFElement, jdfVersion, knownAttributes, knownElements, matchesPath, newID, numChildElements_JDFElement, numChildElements, optionalAttributes, optionalElements, prereleaseAttributes, prereleaseElements, refElement, removeBestEffortExceptions, removeChild, removeChild, removeChildren, removeExtensions, removeFromBestEffortExceptions, removeFromMustHonorExceptions, removeFromOperatorInterventionExceptions, removeFromrRefs, removeGeneralID, removePartMap, removeRefElement, removeSettingsPolicy, replaceChild, requiredAttributes, requiredElements, requiredLevel, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNameTimeStamp, setAttributes, setBestEffortExceptions, setCommentURL, setDefaultJDFVersion, setDescriptiveName, setDirty, setEnumerationsAttribute, setGeneralID, setLongID, setMustHonorExceptions, setOperatorInterventionExceptions, setPartMap, setPartMapVector, setSettingsPolicy, setStatus, setVersion, setvStringAttribute, stringToVersion, uniqueElements, upDaterRefs, validAttribute, validAttribute, validEnumAttribute, validEnumerationsAttribute, validResourcePosition, version
 
Methods inherited from class org.cip4.jdflib.core.KElement
addAttribute, addAttribute, addNameSpace, ancestorDistance, appendAttribute, appendCData, appendCData, appendChild, appendElement, appendElementN, appendElementRaw, appendEntityReference, appendText, appendTextElement, appendXMLComment, appendXMLComment, buildXPath, buildXPath, buildXPath, clone, copyAttribute, copyAttribute, copyElement, copyElements, copyXPathValue, createRoot, deleteNode, eraseEmptyAttributes, eraseEmptyNodes, fillHashSet, fitsName_KElement, fitsName, flush, generateDotID, getAttribute_KElement, getAttribute_KElement, getAttribute, getAttribute, getAttributeMap, getAttributeVector_KElement, getAttributeVector, getBoolAttribute, getCData, getChildAttributeList, getChildByTagName, getChildElementArray, getChildElementVector_KElement, getChildElementVector, getChildElementVector, getChildFromList, getChildFromList, getChildNode, getChildNodes_KElement, getChildNodeVector, getChildrenByClass, getChildrenByTagName_KElement, getChildrenFromList, getChildrenWithAttribute, getCreateElement_KElement, getCreateElement, getCreateElement, getCreateXPathElement, getDeepElement, getDeepParent, getDeepParent, getDeepParentChild, getDeepParentNotName, getDocRoot, getDOMAttr, getElement_KElement, getElement, getElementByClass, getElementHashMap, getElementsByTagName_KElement, getFirstChildElement, getFirstChildElement, getFirstChildElement, getFirstElementNode, getID, getInheritedAttribute, getInheritedElement, getInheritedXPathAttribute, getIntAttribute, getLocalNameStatic, getLongAttribute, getMultipleIDs, getNamespaceURI, getNamespaceURIFromPrefix, getNextElementNode, getNextSiblingElement, getNextSiblingElement, getNextSiblingElement, getNumCDatas, getNumChildNodes, getNumChildText, getNumXMLComments, getOwnerDocument_KElement, getParentNode_KElement, getPreviousSiblingElement, getPreviousSiblingElement, getRealAttribute, getTarget_KElement, getText, getText, getTree, getTreeElement, getXMLComment, getXMLNSNameSpace, getXMLNSPrefix, getXPathAttribute, getXPathAttributeMap, getXPathElement, getXPathElementVector, getXSIType, hasAttribute_KElement, hasAttribute, hasAttribute, hasAttributes, hasChildElement, hasChildElements, hasChildNodes, hasChildText, hasXPathNode, includesAttribute, includesAttributes, insertAt, insertBefore, isAncestor, isEqual, isWildCard, matchesPath, matchesPathName, mergeElement, moveAttribute, moveAttribute, moveElement, moveElements, moveMe, normalize, numChildElements_KElement, numChildNodes, numSiblingElements, pushUp, removeAllText, removeAttribute_KElement, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeAttributes, removeCData, removeChildNode, removeChildren, removeChildText, removeExtensions, removeFromAttribute, removeXMLComment, removeXPathAttribute, removeXPathElement, renameAttribute, renameElement, replaceElement, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setAttributeNSRaw, setAttributeRaw, setAttributes, setAttributes, setAttributes, setAttributesRaw, setBoolAttribute, setDirty, setID, setIntAttribute, setNamespaceURI, setNodeValue, setPrefix, setRealAttribute, setText, setvStringAttribute, setXMLComment, setXPathAttribute, setXPathValue, setXPathValues, setXSIType, sortChild, sortChild, sortChildren, toDisplayXML, toXML, toXML, uniqueID, write2File, write2File, write2Stream, xmlNameSpace, xmlnsLocalName, xmlnsPrefix
 
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 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
 

Field Detail

Activation_Inactive

@Deprecated
public static final JDFNode.EnumActivation Activation_Inactive
Deprecated. use EnumActivation.Inactive

Activation_Informative

@Deprecated
public static final JDFNode.EnumActivation Activation_Informative
Deprecated. use EnumActivation.EnumActivation.Informative

Activation_Held

@Deprecated
public static final JDFNode.EnumActivation Activation_Held
Deprecated. use EnumActivation.Held

Activation_TestRun

@Deprecated
public static final JDFNode.EnumActivation Activation_TestRun
Deprecated. use EnumActivation.TestRun

Activation_TestRunAndGo

@Deprecated
public static final JDFNode.EnumActivation Activation_TestRunAndGo
Deprecated. use EnumActivation.TestRunAndGo

Activation_Active

@Deprecated
public static final JDFNode.EnumActivation Activation_Active
Deprecated. use EnumActivation.Active

Type_ProcessGroup

@Deprecated
public static final JDFNode.EnumType Type_ProcessGroup
Deprecated. use EnumType.xxx

Type_Combined

@Deprecated
public static final JDFNode.EnumType Type_Combined
Deprecated. use EnumType.xxx

Type_Product

@Deprecated
public static final JDFNode.EnumType Type_Product
Deprecated. use EnumType.xxx

Type_Approval

@Deprecated
public static final JDFNode.EnumType Type_Approval
Deprecated. use EnumType.xxx

Type_Buffer

@Deprecated
public static final JDFNode.EnumType Type_Buffer
Deprecated. use EnumType.xxx

Type_Combine

@Deprecated
public static final JDFNode.EnumType Type_Combine
Deprecated. use EnumType.xxx

Type_Delivery

@Deprecated
public static final JDFNode.EnumType Type_Delivery
Deprecated. use EnumType.xxx

Type_ManualLabor

@Deprecated
public static final JDFNode.EnumType Type_ManualLabor
Deprecated. use EnumType.xxx

Type_Ordering

@Deprecated
public static final JDFNode.EnumType Type_Ordering
Deprecated. use EnumType.xxx

Type_Packing

@Deprecated
public static final JDFNode.EnumType Type_Packing
Deprecated. use EnumType.xxx

Type_QualityControl

@Deprecated
public static final JDFNode.EnumType Type_QualityControl
Deprecated. use EnumType.xxx

Type_ResourceDefinition

@Deprecated
public static final JDFNode.EnumType Type_ResourceDefinition
Deprecated. use EnumType.xxx

Type_Split

@Deprecated
public static final JDFNode.EnumType Type_Split
Deprecated. use EnumType.Type_xxx x

Type_Verification

@Deprecated
public static final JDFNode.EnumType Type_Verification
Deprecated. use EnumType.xxx

Type_AssetListCreation

@Deprecated
public static final JDFNode.EnumType Type_AssetListCreation
Deprecated. use EnumType.xxx

Type_ColorCorrection

@Deprecated
public static final JDFNode.EnumType Type_ColorCorrection
Deprecated. use EnumType.xxx

Type_ColorSpaceConversion

@Deprecated
public static final JDFNode.EnumType Type_ColorSpaceConversion
Deprecated. use EnumType.xxx

Type_ContactCopying

@Deprecated
public static final JDFNode.EnumType Type_ContactCopying
Deprecated. use EnumType.xxx

Type_ContoneCalibration

@Deprecated
public static final JDFNode.EnumType Type_ContoneCalibration
Deprecated. use EnumType.xxx

Type_DBDocTemplateLayout

@Deprecated
public static final JDFNode.EnumType Type_DBDocTemplateLayout
Deprecated. use EnumType.xxx

Type_DBTemplateMerging

@Deprecated
public static final JDFNode.EnumType Type_DBTemplateMerging
Deprecated. use EnumType.xxx

Type_DigitalDelivery

@Deprecated
public static final JDFNode.EnumType Type_DigitalDelivery
Deprecated. use EnumType.xxx

Type_FilmToPlateCopying

@Deprecated
public static final JDFNode.EnumType Type_FilmToPlateCopying
Deprecated. use EnumType.xxx

Type_FormatConversion

@Deprecated
public static final JDFNode.EnumType Type_FormatConversion
Deprecated. use EnumType.xxx

Type_ImageReplacement

@Deprecated
public static final JDFNode.EnumType Type_ImageReplacement
Deprecated. use EnumType.xxx

Type_ImageSetting

@Deprecated
public static final JDFNode.EnumType Type_ImageSetting
Deprecated. use EnumType.xxx

Type_Imposition

@Deprecated
public static final JDFNode.EnumType Type_Imposition
Deprecated. use EnumType.xxx

Type_InkZoneCalculation

@Deprecated
public static final JDFNode.EnumType Type_InkZoneCalculation
Deprecated. use EnumType.xxx

Type_Interpreting

@Deprecated
public static final JDFNode.EnumType Type_Interpreting
Deprecated. use EnumType.xxx

Type_LayoutElementProduction

@Deprecated
public static final JDFNode.EnumType Type_LayoutElementProduction
Deprecated. use EnumType.xxx

Type_LayoutPreparation

@Deprecated
public static final JDFNode.EnumType Type_LayoutPreparation
Deprecated. use EnumType.xxx

Type_PDFToPSConversion

@Deprecated
public static final JDFNode.EnumType Type_PDFToPSConversion
Deprecated. use EnumType.xxx

Type_Preflight

@Deprecated
public static final JDFNode.EnumType Type_Preflight
Deprecated. use EnumType.xxx

Type_PreviewGeneration

@Deprecated
public static final JDFNode.EnumType Type_PreviewGeneration
Deprecated. use EnumType.xxx

Type_Proofing

@Deprecated
public static final JDFNode.EnumType Type_Proofing
Deprecated. use EnumType.xxx

Type_PSToPDFConversion

@Deprecated
public static final JDFNode.EnumType Type_PSToPDFConversion
Deprecated. use EnumType.xxx

Type_Rendering

@Deprecated
public static final JDFNode.EnumType Type_Rendering
Deprecated. use EnumType.xxx

Type_Scanning

@Deprecated
public static final JDFNode.EnumType Type_Scanning
Deprecated. use EnumType.xxx

Type_Screening

@Deprecated
public static final JDFNode.EnumType Type_Screening
Deprecated. use EnumType.xxx

Type_Separation

@Deprecated
public static final JDFNode.EnumType Type_Separation
Deprecated. use EnumType.xxx

Type_SoftProofing

@Deprecated
public static final JDFNode.EnumType Type_SoftProofing
Deprecated. use EnumType.xxx

Type_Stripping

@Deprecated
public static final JDFNode.EnumType Type_Stripping
Deprecated. use EnumType.xxx

Type_Tiling

@Deprecated
public static final JDFNode.EnumType Type_Tiling
Deprecated. use EnumType.xxx

Type_Trapping

@Deprecated
public static final JDFNode.EnumType Type_Trapping
Deprecated. use EnumType.xxx

Type_ConventionalPrinting

@Deprecated
public static final JDFNode.EnumType Type_ConventionalPrinting
Deprecated. use EnumType.xxx

Type_DigitalPrinting

@Deprecated
public static final JDFNode.EnumType Type_DigitalPrinting
Deprecated. use EnumType.xxx

Type_IDPrinting

@Deprecated
public static final JDFNode.EnumType Type_IDPrinting
Deprecated. use EnumType.xxx

Type_AdhesiveBinding

@Deprecated
public static final JDFNode.EnumType Type_AdhesiveBinding
Deprecated. use EnumType.xxx

Type_BlockPreparation

@Deprecated
public static final JDFNode.EnumType Type_BlockPreparation
Deprecated. use EnumType.xxx

Type_BoxPacking

@Deprecated
public static final JDFNode.EnumType Type_BoxPacking
Deprecated. use EnumType.xxx

Type_Bundling

@Deprecated
public static final JDFNode.EnumType Type_Bundling
Deprecated. use EnumType.xxx

Type_CaseMaking

@Deprecated
public static final JDFNode.EnumType Type_CaseMaking
Deprecated. use EnumType.xxx

Type_CasingIn

@Deprecated
public static final JDFNode.EnumType Type_CasingIn
Deprecated. use EnumType.xxx

Type_ChannelBinding

@Deprecated
public static final JDFNode.EnumType Type_ChannelBinding
Deprecated. use EnumType.xxx

Type_CoilBinding

@Deprecated
public static final JDFNode.EnumType Type_CoilBinding
Deprecated. use EnumType.xxx

Type_Collecting

@Deprecated
public static final JDFNode.EnumType Type_Collecting
Deprecated. use EnumType.xxx

Type_CoverApplication

@Deprecated
public static final JDFNode.EnumType Type_CoverApplication
Deprecated. use EnumType.xxx

Type_Creasing

@Deprecated
public static final JDFNode.EnumType Type_Creasing
Deprecated. use EnumType.xxx

Type_Cutting

@Deprecated
public static final JDFNode.EnumType Type_Cutting
Deprecated. use EnumType.xxx

Type_Dividing

@Deprecated
public static final JDFNode.EnumType Type_Dividing
Deprecated. use EnumType.xxx

Type_Embossing

@Deprecated
public static final JDFNode.EnumType Type_Embossing
Deprecated. use EnumType.xxx

Type_EndSheetGluing

@Deprecated
public static final JDFNode.EnumType Type_EndSheetGluing
Deprecated. use EnumType.xxx

Type_Feeding

@Deprecated
public static final JDFNode.EnumType Type_Feeding
Deprecated. use EnumType.xxx

Type_Folding

@Deprecated
public static final JDFNode.EnumType Type_Folding
Deprecated. use EnumType.xxx

Type_Gathering

@Deprecated
public static final JDFNode.EnumType Type_Gathering
Deprecated. use EnumType.xxx

Type_Gluing

@Deprecated
public static final JDFNode.EnumType Type_Gluing
Deprecated. use EnumType.xxx

Type_HeadBandApplication

@Deprecated
public static final JDFNode.EnumType Type_HeadBandApplication
Deprecated. use EnumType.xxx

Type_HoleMaking

@Deprecated
public static final JDFNode.EnumType Type_HoleMaking
Deprecated. use EnumType.xxx

Type_Inserting

@Deprecated
public static final JDFNode.EnumType Type_Inserting
Deprecated. use EnumType.xxx

Type_Jacketing

@Deprecated
public static final JDFNode.EnumType Type_Jacketing
Deprecated. use EnumType.xxx

Type_Labeling

@Deprecated
public static final JDFNode.EnumType Type_Labeling
Deprecated. use EnumType.xxx

Type_Laminating

@Deprecated
public static final JDFNode.EnumType Type_Laminating
Deprecated. use EnumType.xxx

Type_LongitudinalRibbonOperations

@Deprecated
public static final JDFNode.EnumType Type_LongitudinalRibbonOperations
Deprecated. use EnumType.xxx

Type_Numbering

@Deprecated
public static final JDFNode.EnumType Type_Numbering
Deprecated. use EnumType.xxx

Type_Palletizing

@Deprecated
public static final JDFNode.EnumType Type_Palletizing
Deprecated. use EnumType.xxx

Type_Perforating

@Deprecated
public static final JDFNode.EnumType Type_Perforating
Deprecated. use EnumType.xxx

Type_PlasticCombBinding

@Deprecated
public static final JDFNode.EnumType Type_PlasticCombBinding
Deprecated. use EnumType.xxx

Type_PrintRolling

@Deprecated
public static final JDFNode.EnumType Type_PrintRolling
Deprecated. use EnumType.xxx

Type_RingBinding

@Deprecated
public static final JDFNode.EnumType Type_RingBinding
Deprecated. use EnumType.xxx

Type_SaddleStitching

@Deprecated
public static final JDFNode.EnumType Type_SaddleStitching
Deprecated. use EnumType.xxx

Type_ShapeCutting

@Deprecated
public static final JDFNode.EnumType Type_ShapeCutting
Deprecated. use EnumType.xxx

Type_Shrinking

@Deprecated
public static final JDFNode.EnumType Type_Shrinking
Deprecated. use EnumType.xxx

Type_SideSewing

@Deprecated
public static final JDFNode.EnumType Type_SideSewing
Deprecated. use EnumType.xxx

Type_SpinePreparation

@Deprecated
public static final JDFNode.EnumType Type_SpinePreparation
Deprecated. use EnumType.xxx

Type_SpineTaping

@Deprecated
public static final JDFNode.EnumType Type_SpineTaping
Deprecated. use EnumType.xxx

Type_Stacking

@Deprecated
public static final JDFNode.EnumType Type_Stacking
Deprecated. use EnumType.xxx

Type_Stitching

@Deprecated
public static final JDFNode.EnumType Type_Stitching
Deprecated. use EnumType.xxx

Type_Strapping

@Deprecated
public static final JDFNode.EnumType Type_Strapping
Deprecated. use EnumType.xxx

Type_StripBinding

@Deprecated
public static final JDFNode.EnumType Type_StripBinding
Deprecated. use EnumType.xxx

Type_ThreadSealing

@Deprecated
public static final JDFNode.EnumType Type_ThreadSealing
Deprecated. use EnumType.xxx

Type_ThreadSewing

@Deprecated
public static final JDFNode.EnumType Type_ThreadSewing
Deprecated. use EnumType.xxx

Type_Trimming

@Deprecated
public static final JDFNode.EnumType Type_Trimming
Deprecated. use EnumType.xxx

Type_WireCombBinding

@Deprecated
public static final JDFNode.EnumType Type_WireCombBinding
Deprecated. use EnumType.xxx

Type_Wrapping

@Deprecated
public static final JDFNode.EnumType Type_Wrapping
Deprecated. use EnumType.xxx

ProcessUsage_AnyInput

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_AnyInput
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_AnyOutput

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_AnyOutput
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Any

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Any
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Rejected

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Rejected
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Accepted

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Accepted
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Marks

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Marks
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Document

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Document
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Surface

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Surface
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Waste

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Waste
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Proof

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Proof
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Input

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Input
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Plate

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Plate
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Good

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Good
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Cover

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Cover
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_BookBlock

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_BookBlock
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Box

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Box
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_CoverMaterial

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_CoverMaterial
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_SpineBoard

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_SpineBoard
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_CoverBoard

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_CoverBoard
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Case

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Case
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_FrontEndSheet

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_FrontEndSheet
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_BackEndSheet

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_BackEndSheet
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Child

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Child
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Mother

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Mother
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Jacket

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Jacket
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Book

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Book
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Label

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Label
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_RingBinder

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_RingBinder
Deprecated. use EnumProcessUsage.xxx

ProcessUsage_Ancestor

@Deprecated
public static final JDFNode.EnumProcessUsage ProcessUsage_Ancestor
Deprecated. use EnumProcessUsage.xxx
Constructor Detail

JDFNode

public JDFNode(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
               String qualifiedName)
Constructor for JDFNode

Parameters:
myOwnerDocument -
qualifiedName -

JDFNode

public JDFNode(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
               String myNamespaceURI,
               String qualifiedName)
Constructor for JDFNode

Parameters:
myOwnerDocument -
myNamespaceURI -
qualifiedName -

JDFNode

public JDFNode(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument,
               String myNamespaceURI,
               String qualifiedName,
               String myLocalName)
Constructor for JDFNode

Parameters:
myOwnerDocument -
myNamespaceURI -
qualifiedName -
myLocalName -
Method Detail

getTheAttributeInfo

protected AttributeInfo getTheAttributeInfo()
definition of optional attributes in the JDF namespace

Overrides:
getTheAttributeInfo in class JDFElement
Returns:
comma separated list of optional attributes for JDF nodes

getTheElementInfo

protected ElementInfo getTheElementInfo()
Overrides:
getTheElementInfo in class JDFElement
Returns:
the elementinfo

toString

public String toString()
toString - StringRepresentation of JDFNode

Overrides:
toString in class JDFElement
Returns:
String
See Also:
Object.toString()

init

public boolean init()
init - init the node

Overrides:
init in class KElement
Returns:
boolean: always true

isJDFRoot

public boolean isJDFRoot()
is this the JDF root element, i.e. it has no JDF above it

Returns:
true, if this is a root

linkNames

public VString linkNames()
definition of resource link names in the JDF namespace

Returns:
String list of resource names that may be linked

linkInfo

public VString linkInfo()
definition of resource link usage, cardinality and ProcessUsage in the JDF namespace

Returns:
String list of resource information usages that may be linked

typeLinkNames

protected static String[] typeLinkNames(JDFNode.EnumType typeNum)
definition of resource link names in the JDF namespace

Parameters:
typeNum -
Returns:
String list of resource names that may be linked

typeLinkInfo

protected static String[] typeLinkInfo(JDFNode.EnumType typeNum)
definition of resource link usage, cardinality and ProcessUsage in the JDF namespace for a given EnumType

Parameters:
typeNum - EnumType to get LinkInfo for
Returns:
String list of resource information usages that may be linked for this EnumType

setPartStatus

@Deprecated
public boolean setPartStatus(VJDFAttributeMap vmattr,
                                        JDFElement.EnumNodeStatus status)
Deprecated. use 3 parameter version

sets the node's partition status and StatusDetails

Parameters:
vmattr - vector Attribute maps of partition
status - Status to set
Returns:
boolean: success or not

setPartStatus

public boolean setPartStatus(VJDFAttributeMap vmattr,
                             JDFElement.EnumNodeStatus status,
                             String statusDetails)
sets the node's partition status and StatusDetails

Parameters:
vmattr - vector Attribute maps of partition
status - Status to set
statusDetails -
Returns:
boolean: success or not

setPartStatus

@Deprecated
public boolean setPartStatus(JDFAttributeMap mattr,
                                        JDFElement.EnumNodeStatus status)
Deprecated. use 3 parameter version

set the node's partition status if nodeinfo is partitioned, all leaves NodeStati below part are removed

Parameters:
mattr - Attribute map of partition
status - Status to set
Returns:
boolean: success or not

setPartStatus

public boolean setPartStatus(JDFAttributeMap mattr,
                             JDFElement.EnumNodeStatus status,
                             String statusDetails)
set the node's partition status if nodeinfo is partitioned, all leaves NodeStati below part are removed

Parameters:
mattr - Attribute map of partition
status - Status to set
statusDetails -
Returns:
boolean: success or not

getVectorPartStatus

public JDFElement.EnumNodeStatus getVectorPartStatus(VJDFAttributeMap vMap)
get the status for the vector v

Parameters:
vMap - the vevtor of partmaps
Returns:
the status, null if the value is not consistent

getVectorPartStatusDetails

public String getVectorPartStatusDetails(VJDFAttributeMap vMap)
get the statusdetails for the vector v

Parameters:
vMap - the vevtor of partmaps
Returns:
the status, null if the value is not consistent

getPartStatus

@Deprecated
public JDFElement.EnumNodeStatus getPartStatus(JDFAttributeMap mattr)
Deprecated. us 2 parameter method

get the node's partition status

Parameters:
mattr - Attribute map of partition
Returns:
JDFElement.EnumNodeStatus: Status of the partition, null if no Status exists

getPartStatus

public JDFElement.EnumNodeStatus getPartStatus(JDFAttributeMap mattr,
                                               int method)
get the node's partition status, even if the link does not match mattr

Parameters:
mattr - Attribute map of partition
method - : -1, 0 or 1; -1 min status; 0 equals, 1 max status
Returns:
JDFElement.EnumNodeStatus: Status of the partition, null if no Status exists

getPartStatusDetails

public String getPartStatusDetails(JDFAttributeMap mattr)
get the node's partition statusdetails

Parameters:
mattr - Attribute map of partition
Returns:
String: Status of the partition, null if no Status exists (note the null return!)

setPhase

@Deprecated
public JDFDoc setPhase(JDFElement.EnumNodeStatus nodeStatus,
                                  String nodeStatusDetails,
                                  JDFAutoDeviceInfo.EnumDeviceStatus deviceStatus,
                                  String deviceStatusDetails,
                                  VJDFAttributeMap vPartMap)
Deprecated. use the version with deviceID

Set the Status and StatusDetails of this node update the PhaseTime audit or append a new phasetime as appropriate also generate a status JMF

Parameters:
nodeStatus - the new status of the node
nodeStatusDetails - the new statusDetails of the node
deviceStatus - the new status of the device
deviceStatusDetails - the new statusDetails of the device
vPartMap - the vector of parts to that should be set
Returns:
The root element representing the PhaseTime JMF

getStatusPartMapVector

public VJDFAttributeMap getStatusPartMapVector()
return the partMapVector defined by nodeInfo partitioning null if nodeInfo is not partitioned or if the node status is neither pool nor part

Returns:
the vector of PartMaps

getPartMapVector

public VJDFAttributeMap getPartMapVector()
return the partMapVector defined in AncestorPool, null if no AncestorPool exists, or AncestorPool has no Part elements

Overrides:
getPartMapVector in class JDFElement
Returns:
the vector of PartMaps

getNodeInfoPartMapVector

public VJDFAttributeMap getNodeInfoPartMapVector()
return the partMapVector defined in AncestorPool or NodeInfo or output resource in that sequence, null if no NodeInfo exists, or NodeInfo has no Part elements

Returns:
the vector of PartMaps

getActivation

@Deprecated
public JDFNode.EnumActivation getActivation()
Deprecated. 060406 use getActivation(false)

getActivation

Returns:
EnumActivation

getActivation

public JDFNode.EnumActivation getActivation(boolean bWalkThroughAncestors)
get attribute Activation; defaults to Active

Parameters:
bWalkThroughAncestors - if true, walks through all ancestors which may overwrite the local activation state; if false only the explicit activation, if any, is returned
Returns:
the enumeration value of the attribute

setActivation

public void setActivation(JDFNode.EnumActivation bActive)
Set attribute Activation

Parameters:
bActive - the value to set the attribute to

addModified

public JDFAudit addModified(String by)
addModified

Parameters:
by -
Returns:
JDFAudit

getResource

public JDFResource getResource(String strName,
                               JDFResourceLink.EnumUsage usage,
                               JDFNode.EnumProcessUsage processUsage,
                               int i)
Get the linked resource with name=strName

Parameters:
strName - the resource name
usage - the ResourceLink Usage, if null either in or out are accepted
processUsage -
i - the nuber of matches to skip, if negative, count backwards
Returns:
the matching resource, null if none matches

getResource

public JDFResource getResource(String strName,
                               JDFResourceLink.EnumUsage usage,
                               int i)
Get the linked resource with name=strName

Parameters:
strName - the resource name
usage - the ResourceLink Usage, if null either in or out are accepted
i - the nuber of matches to skip, if negative, count backwards
Returns:
the matching resource, null if none matches

getResource

public JDFResource getResource(String strName,
                               JDFResourceLink.EnumUsage usage,
                               JDFNode.EnumProcessUsage processUsage,
                               int i,
                               String namespaceURI)
Get the linked resource with name=strName

Parameters:
strName - the resource name if strName has a prefix, the explicit DOM level 1 resource with prefix will be searched
usage - the ResourceLink Usage, if null either in or out are accepted
processUsage - the processUsage of the respective resource
i - the nuber of matches to skip, if negative, count backwards
namespaceURI - if null and no prefix, assume JDF namespace, else correct lvl 2 handling
Returns:
the matching resource, null if none matches

getCreateResource

public JDFResource getCreateResource(String strName,
                                     JDFResourceLink.EnumUsage usage,
                                     int i)
Get the linked resource with name=strName; create it if it does not exist

Parameters:
strName - the resource name
usage - the ResourceLink Usage, if null either in or out are accepted
i - the nuber of matches to skip, if negative, count backwards
Returns:
the matching resource,
Throws:
JDFException - if resource does not exist and EnumUsage is null

addResource

@Deprecated
public JDFResource addResource(String strName,
                                          JDFResource.EnumResourceClass resClass,
                                          boolean bInput,
                                          JDFNode resRoot,
                                          boolean bLink,
                                          String nameSpaceURI)
Deprecated. use addResource(String strName, JDFResource.EnumResourceClass resClass, EnumUsage usage, EnumProcessUsage processUsage, JDFNode resRoot, String nameSpaceURI)

addResource - add a resource to resroot and link it to this process

Parameters:
strName - the localname of the resource
resClass - the JFD/@Class of the resource; if null, find from factory
bInput - if true, the resource is linked as input, else output
resRoot - the node where to add the Resource, if null defaults to this. Note that the link is always in this
bLink - if true, creat a ResourceLink to the newly created resource
nameSpaceURI - the nsURI of the resource, if null take the default ns
Returns:
JDFResource

addResource

public JDFResource addResource(String strName,
                               JDFResourceLink.EnumUsage usage)
addResource - add a resource to resroot and link it to this process utility with the minimal parameter set

Parameters:
strName - the localname of the resource
usage - the Usage attribute of the ResourceLink. If null, the resource is not linked
Returns:
JDFResource the new resource

addResource

public JDFResource addResource(String strName,
                               JDFResource.EnumResourceClass resClass,
                               JDFResourceLink.EnumUsage usage,
                               JDFNode.EnumProcessUsage processUsage,
                               JDFNode resRoot,
                               String nameSpaceURI,
                               JDFResource toReplace)
addResource - add a resource to resroot and link it to this process

Parameters:
strName - the localname of the resource
resClass - the JFD/@Class of the resource; if null, find the resource class from factory
usage - the Usage attribute of the ResourceLink. If null, the resource is not linked
processUsage - the processUsage attribute of the link to the resource
resRoot - the node to add the Resource to, defaults to 'this' if null. Note that the link is always in 'this'
nameSpaceURI - the nsURI of the resource, if null take the default ns
toReplace - the resource to replace by this - also add a resource audit
Returns:
JDFResource

linkResource

@Deprecated
public JDFResourceLink linkResource(JDFResource jdfResource,
                                               boolean input,
                                               boolean bForce)
Deprecated. use linkResource(enum)

LinkResource: create a resourceLink in the resourceLinkPool that refers to the resource jdfResource also sets the appropriate combined process index

Parameters:
jdfResource - the resource or partition to link to
input - it true, link as input, else link as output
bForce - if true, create a new link, even if an existing link already exists
Returns:
JDFResourceLink the new link

linkResource

public JDFResourceLink linkResource(JDFResource jdfResource,
                                    JDFResourceLink.EnumUsage usage,
                                    JDFNode.EnumProcessUsage processUsage)
LinkResource: create a resourceLink in the resourceLinkPool that refers to the resource jdfResource also sets the appropriate combined process index

Parameters:
jdfResource - the resource or partition to link to
usage - Usage of the resource
processUsage - processUsage of the resource
Returns:
JDFResourceLink the new link

ensureLink

public JDFResourceLink ensureLink(JDFResource jdfResource,
                                  JDFResourceLink.EnumUsage usage,
                                  JDFNode.EnumProcessUsage processUsage)
ensureLink: if it does not yet exist, create a resourceLink in the resourceLinkPool that refers to the resource jdfResource also sets the appropriate combined process index

Parameters:
jdfResource - the resource or partition to link to
usage - Usage of the resource
processUsage - processUsage of the resource
Returns:
JDFResourceLink the link

ensureValidRefsPosition

public void ensureValidRefsPosition(JDFResource r)
ensure that the linked resource and all referenced resources are correctly positioned

Parameters:
r -

ensureValidResPosition

public void ensureValidResPosition(JDFResource r2)
Parameters:
r2 -

getResourceLinks

@Deprecated
public VElement getResourceLinks()
Deprecated. use getResourceLinks(null)

get the resourcelinks in the resourcepool of this node

Returns:
VElement the vector of ResorceLinks:

getResourceLinks

public VElement getResourceLinks(JDFAttributeMap mLinkAtt)
get the resourcelinks in the resourcepool of this node

Parameters:
mLinkAtt - the map of attributes
Returns:
VElement - the vector of ResourceLinks, null if none exist:

getLinkedResources

public VElement getLinkedResources(JDFAttributeMap mResAtt,
                                   boolean bFollowRefs)
get the linked resources matching certain conditions
combines all linked resources from ResourceLinkPool, CustomerInfo, NodeInfo and AuditPool

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

getUnlinkedResources

@Deprecated
public VElement getUnlinkedResources(boolean bLocal)
Deprecated. - Use @see UnlinkFinder

get all the unlinked resources in this node
TODO: also include resources that are only linked by other unlinked resources

Parameters:
bLocal - if true, only in the local resourcepool, else also recurse into children
Returns:
vElement vector with all

getPredecessors

@Deprecated
public Vector getPredecessors(boolean bPre)
Deprecated. use getPredecessors(bPre,false);

get a vector of all direct predecessor or following nodes, depending on bPre

Parameters:
bPre - if true get predecessors, if false get following nodes
Returns:
Vector of pre / post decessor nodes

getPredecessors

public VElement getPredecessors(boolean bPre,
                                boolean bDirect)
get a vector of all direct predecessor or following nodes, depending on bPre

Parameters:
bPre - if true get predecessors, if false get following nodes
bDirect - if true, only return the direct condidates
Returns:
Vector of pre / post decessor nodes

isExecutable

public boolean isExecutable(JDFAttributeMap partMap,
                            boolean bCheckChildren)
isExecutable - checks whether a node is executable by checking the resources linked by the resourcelinkpool and @Status or NodeInfo/@NodeStatus and JDF/@Activation

Parameters:
partMap - the Attribute to check
bCheckChildren - if true, calculates the availability Status of a resource from all child partition leaves, else the Status is taken from the appropriate leaf itself
Returns:
boolean - true if the node is executable, false if not default: isExecutable(null, true)

getProcessStatus

@Deprecated
public JDFElement.EnumNodeStatus getProcessStatus(JDFAttributeMap mattr)
Deprecated. use getPartStatus()

gets the status of a certain partition of the node. The partition is given by a map of partition attributes or by a JDFResource object containing such a map.

Parameters:
mattr -
Returns:

resourceTypeEqual

public static boolean resourceTypeEqual(JDFResource res1,
                                        JDFResource res2)
ResourceTypeEqual
Checks whether the given resources are of the same type. Resources are considered equal by this method if they have identical Class attributes and their resource type is equal. Basically the resource type is the node name.
Two resources with different node names are considered equal if their Type attributes from the ToolConfig.xml file are equal. This is not implemented yet. Instead of it is hard-coded that "RunList" and "HDM:ReportList" are of the same type.

Parameters:
res1 - first resource
res2 - second resource
Returns:
boolean

getvJDFNode

public VElement getvJDFNode(String task,
                            JDFNode.EnumActivation active,
                            boolean bDirect)
Get a vector of all JDF children with type nodeType

Parameters:
task - node type
active - Activation of the requested nodes, if null ignore activation
bDirect - if true, get direct children only, else recurse down the tree and include this, i.e. return a complete tree starting at this
Returns:
VElement of JDF nodes

getvJDFNode

@Deprecated
public Vector getvJDFNode(String task,
                                     boolean active)
Deprecated. use public Vector getvJDFNode(task, JDFNode.EnumActivation.Unknown, false)

getvJDFNode

Parameters:
task -
active -
Returns:
Vector of JDFNodes

isActive

@Deprecated
public boolean isActive()
Deprecated. use fitsActivation

isActive

Returns:
boolean

isActive

@Deprecated
public boolean isActive(boolean bWalkThroughAnchestors)
Deprecated. use fitsActivation

Parameters:
bWalkThroughAnchestors -
Returns:
boolean

fitsActivation

public boolean fitsActivation(JDFNode.EnumActivation active,
                              boolean bWalkThroughAncestors)
the activation state of this node

Parameters:
active -
bWalkThroughAncestors - if true, walks through all anchestors which may overwrite the local activation state
Returns:
boolean true if the activations are compatible

removeNode

@Deprecated
public void removeNode(boolean bLeaveSubmit)
Deprecated. 

removeNode - remove a node. If bLeaveSubmit is true, leave a stub with the id and status field

Parameters:
bLeaveSubmit - if true, leave a stub with id and status field

addTask

@Deprecated
public JDFNode addTask(String task,
                                  VString tasks)
Deprecated. use addJDFNode

addTask

Parameters:
task -
tasks -
Returns:
JDFNode

addTask

@Deprecated
public JDFNode addTask(String task)
Deprecated. use addJDFNode

addTask

Parameters:
task -
Returns:
JDFNode

setType

public void setType(JDFNode.EnumType typ)
setType set the type attribute to the enumeration type also set xsi:type etc

Parameters:
typ - the new type to set this to

setType

public boolean setType(String newType,
                       boolean checkName)
setType set the type attribute to the string type

Parameters:
newType - the new type to set this to
checkName - if true, check whether this type exists and throw an exception if not
Returns:
ignore, always true
Throws:
JDFException - if type is not a known JDF type

getType

public String getType()
getType - get node Type

Returns:
String - the type

getTypesString

public String getTypesString()
getType - get node Types or Type attribute

Returns:
String - the type

fixNiCi

public boolean fixNiCi(JDFElement.EnumVersion version)
fix NodeInfo and CustomerInfo

Parameters:
version - target version
Returns:

isValid

public boolean isValid(JDFElement.EnumValidationLevel level)
typesafe validator, checks whether all resource links are ok

Overrides:
isValid in class JDFElement
Parameters:
level - validation level
Returns:
true if this node is valid

hasInvalidLinks

public boolean hasInvalidLinks(JDFElement.EnumValidationLevel level)
true if invalid Links are in this element

Parameters:
level - validation level
Returns:
boolean - true if unknown Links are in this element

getInvalidLinks

public VString getInvalidLinks(JDFElement.EnumValidationLevel level,
                               int nMax)
typesafe validator utility

Parameters:
level - validation level
nMax - max. size of the returned vector
Returns:
vector of invalid Link names

getStatusSynch

public JDFNode.StatusSynch getStatusSynch()
get the status synchroniter

Returns:

updatePartStatus

@Deprecated
public void updatePartStatus(VJDFAttributeMap vMap,
                                        boolean updateKids,
                                        boolean updateParents)
Deprecated. use 4 parameter version

update the node status or nodeinfo/@NodeStatus for all partitions specified in vMap

Parameters:
vMap - the map of partitions to apply the update algorithm to
updateKids - if true, also recursively update all kids, if false move to root without updating kids
updateParents - if true, recurse down to the root, updatimg the satus based on modifications in this

updatePartStatus

public void updatePartStatus(VJDFAttributeMap vMap,
                             boolean updateKids,
                             boolean updateParents,
                             int method)
update the node status or nodeinfo/@NodeStatus for all partitions specified in vMap

Parameters:
vMap - the map of partitions to apply the update algorithm to
updateKids - if true, also recursively update all kids, if false move to root without updating kids
updateParents - if true, recurse down to the root, updatimg the satus based on modifications in this
method - : -1, 0 or 1; -1 min status; 0 equals, 1 max status

upDateStatus

@Deprecated
public void upDateStatus()
Deprecated. use updatePartStatus(VJDFAttributeMAP)

UpDateStatus - update the status of a node depending on its resources and child nodes


getJobPart

public JDFNode getJobPart(NodeIdentifier nodeID)
getJobPart - get a child node with a given jobpartid

Parameters:
nodeID - the NodeIdentifier of the job part
Returns:
JDFNode

getJobPart

public JDFNode getJobPart(String jobPartID,
                          String jobID)
getJobPart - get a child node with a given jobpartid

Parameters:
jobPartID - the ID of the part job
jobID - the ID of the job
Returns:
JDFNode

checkSpawnedResources

public Collection<JDFResource> checkSpawnedResources(VString vRWResources,
                                                     VJDFAttributeMap vSpawnParts)
add any resources that live in ancestor nodes to this node

Parameters:
vRWResources - vector of resource names and Usage / ProcessUsage that are spawned as rw
the format is one of:
  • ResName

  • ResName:Input

  • ResName:Output

  • ResName:ProcessUsage

  • ID
    vSpawnParts - vector of JDFAttributeMaps that describe the parts to spawn
    Returns:
    HashSet of resources or resource partitions that would be spawned rw multiple times

  • getAllRefs

    public HashSet<JDFElement> getAllRefs(HashSet<JDFElement> vDoneRefs,
                                          boolean bRecurse)
    get inter-resource linked resource refs and resourcs links

    Overrides:
    getAllRefs in class JDFElement
    Parameters:
    vDoneRefs -
    bRecurse - if true, also return references linked from the resource pool directly
    Returns:
    HashSet of referenced resource refs and links

    setCombined

    public void setCombined(VString vCombiNodes)
    setCombined - set the combined node types to the values in vCombiNodes

    Parameters:
    vCombiNodes -

    getCombinedTypes

    @Deprecated
    public Vector getCombinedTypes()
    Deprecated. use getTypes() or getEnumTypes()

    getCombinedTypes - get the list of combined types if this is a combined node

    Returns:
    Vector

    addComponent

    @Deprecated
    public JDFComponent addComponent(String cType,
                                                boolean bInput,
                                                JDFNode resRoot,
                                                boolean bLink)
    Deprecated. use standard addResource

    addComponent - add a component resource to resroot and link it to this process

    Parameters:
    cType -
    bInput -
    resRoot -
    bLink -
    Returns:
    JDFComponent

    setSpawnID

    public void setSpawnID(String value)
    Set attribute SpawnID

    Parameters:
    value - the value to set the attribute to

    spawn

    @Deprecated
    public JDFNode spawn(String parentURL,
                                    String spawnURL,
                                    VString vRWResources_in,
                                    VJDFAttributeMap vSpawnParts,
                                    boolean bSpawnROPartsOnly,
                                    boolean bCopyNodeInfo,
                                    boolean bCopyCustomerInfo,
                                    boolean bCopyComments)
    Deprecated. - use JDFSpawn class ( see code below)

    spawn a node; url is the file name of the new node, vRWResourceUsage is the vector of Resources Usages (or Names if no usage exists for the process) that are spawned RW, all others are spawned read only; vParts is the vector of part maps that are to be spawned, defaults to no part, i.e. the whole thing

    Parameters:
    parentURL -
    spawnURL - URL of the spawned JDF file
    vRWResources_in - vector of resource names and Usage / ProcessUsage that are spawned as rw
    the format is one of:
    ResName:Input
    ResName:Output
    ResName:ProcessUsage
    vSpawnParts - vector of mAttributes that describe the parts to spawn, only valid PartIDKeys are allowed
    bSpawnROPartsOnly - if true, only the parts of RO resources that are specified in vParts are spawned, else the complete resource is spawned
    bCopyNodeInfo - copy the NodeInfo elements into the Ancestors
    bCopyCustomerInfo - copy the CustomerInfo elements into the Ancestors
    bCopyComments - copy the Comment elements into the Ancestors
    Returns:
    The spawned node
    Since:
    050831 added bCopyComments

    spawnInformative

    @Deprecated
    public JDFNode spawnInformative(String parentURL,
                                               String spawnURL,
                                               VJDFAttributeMap vSpawnParts,
                                               boolean bSpawnROPartsOnly,
                                               boolean bCopyNodeInfo,
                                               boolean bCopyCustomerInfo,
                                               boolean bCopyComments)
    Deprecated. use JDFSpawn.spawnInformative()

    spawn a node in informative mode without modifying the root JDF; url is the file name of the new node, the parameters except for the list of rw resources, which are by definition empty, are identical to those of Spawn vRWResourceUsage is the vector of Resources Usages, Resource Names or Resource IDs that are spawned RW, all others are spawned read only; vParts is the vector of part maps that are to be spawned, defaults to no part, i.e. the whole thing

    Parameters:
    parentURL -
    spawnURL - URL of the spawned JDF file
    vSpawnParts - vector of mAttributes that describe the parts to spawn
    bSpawnROPartsOnly - if true, only the parts of RO resources that are specified in vParts are spawned, else the complete resource is spawned
    bCopyNodeInfo - copy the NodeInfo elements into the Ancestors
    bCopyCustomerInfo - copy the CustomerInfo elements into the Ancestors
    bCopyComments - copy the Comment elements into the Ancestors
    Returns:
    JDFDoc - the spawned node's owner document.

    unSpawn

    @Deprecated
    public JDFNode unSpawn(String spawnID)
    Deprecated. use new JDFSpawn(this).unSpawn(spawnID);

    Method unSpawn. undo a spawn, removing any and all bookkeeping of that spawning

    Parameters:
    spawnID - spawnID of the spawn to undo
    Returns:
    the fixed unspawned node

    mergeNode

    public JDFNode mergeNode(JDFNode e,
                             boolean bDelete)
    merge nodes in a way that no duplicate elements are created
    attention !! this kills pools !!

    Parameters:
    e - the node element to merge with the current node
    bDelete - if true KElement e will be deleted
    Returns:
    JDFNode: the merged node element

    getLink

    @Deprecated
    public JDFResourceLink getLink(JDFResource r,
                                              boolean bInput)
    Deprecated. use getLink(resource, EnumUsage)

    getLink - get the resourcelink that resides in the ResourceLinkPool of this node and references the resource r

    Parameters:
    r - the resource you are searching a link for
    bInput -
    Returns:
    JDFResourceLink - the resource link you was searching for or if not found, a new empty JDFResource Link

    getLink

    public JDFResourceLink getLink(JDFResource r,
                                   JDFResourceLink.EnumUsage usage)
    getLink - get the resourcelink that resides in the ResourceLinkPool of this node and references the resource r

    Parameters:
    r - the resource you are searching a link for
    usage - the usage attribute of the link. If null, both input and output resourelinks will be returned
    Returns:
    JDFResourceLink - the resource link you was searching for or if not found, null

    getRoot

    public JDFNode getRoot()
    getRoot - this function returns the root of the JDF document

    Returns:
    JDFNode - the root node of the document

    getAncestorIDs

    public VString getAncestorIDs()
    Get an ordered list of all Parents ID attributes:
    the last entry is the direct parent, the last-1 entry is the grandparent etc.
    This is analog to the definition of JDFAncestorPool

    Returns:
    vector of strings representing the node IDs

    getAncestorNode

    @Deprecated
    public JDFNode getAncestorNode(int nSkip)
    Deprecated. use getParentJDF()

    getAncestorNode - return the ancestor node

    Parameters:
    nSkip -
    Returns:
    JDFNode - the ancestor node

    getAncestorAttribute

    public String getAncestorAttribute(String attrib,
                                       String nameSpaceURI,
                                       String def)
    searches for the first element occurence in the parent nodes and then the ancestor elements of the root ancestorpool

    Parameters:
    attrib - the element name
    nameSpaceURI - the XML-namespace
    def - the default value, if there is no ancestor attribute
    Returns:
    String - value of attribute found, value of def if not available

    hasAncestorAttribute

    public boolean hasAncestorAttribute(String attrib,
                                        String nameSpaceURI)
    true if a non default attribute occurence in the parent nodes and then the ancestor elements of the root ancestorpool exists

    Parameters:
    attrib - the attribute name
    nameSpaceURI - the XML-namespace
    Returns:
    true if the attribute exists

    hasActivation

    public boolean hasActivation(boolean bInherit)
    Check existance of attribute Activation

    Parameters:
    bInherit - recurse through ancestors and Ancestor elements of the AncestorPool when searching
    Returns:
    true if attribute Activation exists

    hasJobID

    @Deprecated
    public boolean hasJobID(boolean bInherit)
    Deprecated. 

    Check existence of attribute JobID

    Parameters:
    bInherit - recurse through ancestors and Ancestor elements of the AncestorPool when searching
    Returns:
    true if attribute JobID exists

    getAncestorElement

    public KElement getAncestorElement(String element,
                                       String nameSpaceURI)
    searches for the first element occurence in this and the ancestor elements

    Parameters:
    element - the attribute name
    nameSpaceURI - the XML-namespace
    Returns:
    the KElement found
    Since:
    180502

    hasAncestorElement

    @Deprecated
    public boolean hasAncestorElement(String element,
                                                 String nameSpaceURI)
    Deprecated. 

    true if a non default attribute occurs in the parent nodes and then the ancestor elements of the root ancestorpool exists

    Parameters:
    element - the attribute name
    nameSpaceURI - the XML-namespace
    Returns:
    boolean - true if the attribute exists
    Since:
    180502

    addParameter

    @Deprecated
    public JDFResource addParameter(String strName,
                                               boolean bInput,
                                               JDFNode resRoot,
                                               boolean bLink)
    Deprecated. use addResource(strName, JDFResource.EnumClass.Parameter, bInput, resRoot, bLink, null)

    addParameter - add a parameter resource to resroot and link it to this process

    Parameters:
    strName -
    bInput -
    resRoot -
    bLink -
    Returns:
    JDFResource

    addConsumable

    @Deprecated
    public JDFResource addConsumable(String strName,
                                                boolean bInput,
                                                JDFNode resRoot,
                                                boolean bLink)
    Deprecated. use addResource(name, null, true, null, true)

    addConsumable - add a consumable resource to resroot and link it to this process

    Parameters:
    strName -
    bInput -
    resRoot -
    bLink -
    Returns:
    JDFResource

    addHandling

    @Deprecated
    public JDFResource addHandling(String strName,
                                              boolean bInput,
                                              JDFNode resRoot,
                                              boolean bLink)
    Deprecated. use addResource(name, null, true, null, true)

    addHandling - add a handling resource to resroot and link it to this process

    Parameters:
    strName -
    bInput -
    resRoot -
    bLink -
    Returns:
    JDFResource

    isCombined

    @Deprecated
    public boolean isCombined()
    Deprecated. use JDFConstants.COMBINED.equals(getType());

    isCombined - is this a Combined resource type ?

    Returns:
    boolean - true if it is, otherwise false

    isProduct

    @Deprecated
    public boolean isProduct()
    Deprecated. use JDFConstants.PRODUCT.equals(getType());

    Is this a Combined node type ?

    Returns:
    boolean - true if this is a product node

    isProcessGroup

    @Deprecated
    public boolean isProcessGroup()
    Deprecated. use JDFConstants.PROCESSGROUP.equals(getType());

    Is this a Combined node type ?

    Returns:
    boolean - true if this is a combined node

    isGroupNode

    public boolean isGroupNode()
    Is this a group node type (ProcessGroup or Product)?

    Returns:
    boolean - true if this is a combined node

    isTypesNode

    public boolean isTypesNode()
    Is this a group node type that allows @Types (ProcessGroup or Combined)?

    Returns:
    boolean - true if this is a combined node

    getIDPrefix

    public String getIDPrefix()
    getIDPrefix

    Overrides:
    getIDPrefix in class KElement
    Returns:
    the ID prefix of JDFNode

    getJobID

    public String getJobID(boolean bInherit)
    get string attribute JobID

    Parameters:
    bInherit - recurse through ancestors when searching
    Returns:
    String - attribute value

    getJobPartID

    @Deprecated
    public String getJobPartID()
    Deprecated. use getJobPartID(false);

    get string attribute JobID

    Returns:
    attribute value

    getJobPartID

    public String getJobPartID(boolean bInherit)
    get string attribute JobID

    Parameters:
    bInherit - if true recurse through ancestors when searching
    Returns:
    String - attribute value

    setJobPartID

    public void setJobPartID(String jobPartID)
    Set attribute JobPartID

    Parameters:
    jobPartID - the value to set the attribute to

    setJobID

    public void setJobID(String value)
    set attribute JobID

    Parameters:
    value - the value to set the attribute to

    hasStatusPool

    @Deprecated
    public boolean hasStatusPool()
    Deprecated. 

    test element StatusPool existence

    Returns:
    boolean - true if a matching element exists

    getSpawnID

    @Deprecated
    public String getSpawnID()
    Deprecated. use getSpawnID(boolean)

    get string attribute SpawnID

    Returns:
    String - attribute value

    getSpawnID

    public String getSpawnID(boolean bInherit)
    get string attribute SpawnID

    Parameters:
    bInherit - if true recurse through ancestors when searching
    Returns:
    String - attribute value

    removeSpawnID

    @Deprecated
    public void removeSpawnID()
    Deprecated. 

    remove attribute SpawnID


    removeAncestorPool

    @Deprecated
    public void removeAncestorPool()
    Deprecated. 

    remove element AncestorPool


    getParentJDFNode

    @Deprecated
    public JDFNode getParentJDFNode()
    Deprecated. use getParentJDF()

    get the Parent JDFNode, null if the parent element is the document or an envelope xml

    Returns:
    JDFNode: the parent JDF, null if this is the root JDF

    getParentJDF

    public JDFNode getParentJDF()
    get the Parent JDFNode, null if the parent element is the document or an envelope xml

    Overrides:
    getParentJDF in class JDFElement
    Returns:
    JDFNode: the parent JDF, null if this is the root JDF

    hasType

    @Deprecated
    public boolean hasType()
    Deprecated. use inline hasAttribute

    Check existence of attribute Type

    Returns:
    boolean - true if attribute Type exists

    containsType

    public boolean containsType(String type)
    Check whether typ or types contains type

    Parameters:
    type - the type to check for
    Returns:
    boolean - true if attribute Type is either in Type or types always true for null

    getInsertLinkVector

    public VString getInsertLinkVector(int nMax)
    get a vector of Link names that may be inserted in this element if the links need a processusage, the format is LinkName:ProcessUsage

    Parameters:
    nMax - maximum size of the returned vector
    Returns:
    vector of strings that contains insertable link names

    getEnumProcessUsage

    public JDFNode.EnumProcessUsage getEnumProcessUsage(String info,
                                                        int i)
    get the resource that matches the typesafe link described by i

    Parameters:
    info - the LinkInfo string for this name
    i - the index of the pu to find
    Returns:
    the enumerated process usage of this checked link

    hasAncestorPool

    @Deprecated
    public boolean hasAncestorPool()
    Deprecated. use numChildElements(ElementName.ANCESTORPOOL, null) > 0;

    test element AncestorPool existance

    Returns:
    bool true if a matching element exists

    hasProjectID

    @Deprecated
    public boolean hasProjectID(boolean bInherit)
    Deprecated. 

    Check existance of attribute ProjectID

    Parameters:
    bInherit - recurse through ancestors when searching
    Returns:
    true if attribute ProjectID exists

    hasProjectID

    @Deprecated
    public boolean hasProjectID()
    Deprecated. 

    Check existence of attribute ProjectID

    Returns:
    true if attribute ProjectID exists

    setProjectID

    public void setProjectID(String strValue)
    set attribute ProjectID

    Parameters:
    strValue - the value to set the attribute to

    getProjectID

    public String getProjectID(boolean bInherit)
    get string attribute ProjectID

    Parameters:
    bInherit - recurse through ancestors when searching
    Returns:
    the value of the attribute

    getProjectID

    @Deprecated
    public String getProjectID()
    Deprecated. use getProjectID(boolean bInherit)

    get string attribute ProjectID

    Returns:
    the value of the attribute

    getGenericLinksLength

    @Deprecated
    public int getGenericLinksLength()
    Deprecated. use m_strGenericLinkNames.length;

    definition of the length of LinkNames, LinkInfo for generic JDF nodes

    Returns:
    int - length of the generic () link string functions,

    isValidLink

    public boolean isValidLink(JDFElement.EnumValidationLevel level,
                               JDFResourceLink rl,
                               Vector<Integer> doneNameList,
                               Vector<Integer> doneIndexList)
    isValidLink check whether an index is legal for this class

    Parameters:
    level - the checking level
    rl - the JDFResourceLink to check
    doneNameList - Vector of Integer
    doneIndexList - Vector of Integer
    Returns:
    true if valid

    getMissingLinks

    @Deprecated
    public VString getMissingLinks(int nMax)
    Deprecated. use getMissingLinkVector

    Parameters:
    nMax -
    Returns:
    VString

    getMatchingLinks

    public VElement getMatchingLinks(String resName,
                                     boolean bLink,
                                     JDFNode.EnumProcessUsage processUsage)
    get the links that match the typesafe resource name if the Resource type is not defined for the process represented by this node see chapter 6 JDFSpec, then the links are ignored

    Parameters:
    resName - of the resource to remove
    bLink - if false, returns the linked resources, else if true, returns the ResourceLink elements
    processUsage - enum that defines if all links matching the name or only those matching the name usage and/or processusage are requested
    Returns:
    vector of resourcelink elements

    getMissingLinkVector

    public VString getMissingLinkVector(int nMax)
    get a vector of Link names that are missing in this element
    if the links need a processusage, the format is LinkName:ProcessUsage

    Parameters:
    nMax - maximum size of the returned vector
    Returns:
    VString vector of strings that contains missing Link names

    getMatchingResource

    @Deprecated
    public JDFResource getMatchingResource(String resName,
                                                      int processUsage,
                                                      JDFAttributeMap partMap,
                                                      int pos)
    Deprecated. use getMatchingResource(String resName, EnumProcessUsage processUsage, JDFAttributeMap partMap, int pos))

    Parameters:
    resName -
    processUsage -
    partMap -
    pos -
    Returns:
    JDFResource

    getMatchingResource

    public JDFResource getMatchingResource(String resName,
                                           JDFNode.EnumProcessUsage processUsage,
                                           JDFAttributeMap partMap,
                                           int pos)
    get the resource that matches a typesafe resource name if the Resource type is not defined for the process represented by this node see chapter 6 JDFSpec, then the resource is ignored

    Parameters:
    resName - of the resource to remove
    processUsage - enum that defines if all links matching the name or only those matching the name usage and/or processusage are requested
    partMap -
    pos - the position of the link if multiple matching links exist
    Returns:
    JDFResource - the resourcelink element

    getMatchingLink

    public JDFResourceLink getMatchingLink(String resName,
                                           JDFNode.EnumProcessUsage processUsage,
                                           int pos)
    get the link that matches the typesafe resource name
    if the Resource type is not defined for the process represented by this node, the link is ignored (see JDF Spec Chapter 6)

    Parameters:
    resName - name of the resource to remove
    processUsage - enum that defines if all links matching the name or only those matching the name usage and/or processusage are requested
    pos - the position of the link (if multiple matching links exist)
    Returns:
    JDFResourceLink - the resourcelink

    appendMatchingResource

    public JDFResource appendMatchingResource(String resName,
                                              JDFNode.EnumProcessUsage processUsage,
                                              JDFNode resourceRoot)
    Method AppendMatchingResource. Appends a resource and link it to this if it is listed in the list of valid nodes for for a JDF with the given type also creates the matching resource link in this

    Parameters:
    resName - the name of the resource to add
    processUsage - the processUsage of the resourcelink of the resource to add:
  • null EnumProcessUsage.AnyOutput - for input but no processUsage
  • EnumProcessUsage.AnyOutput - for output but no processUsage
  • resourceRoot - the root JDF node, that is the parent of the resourcepool where the resource should be added. If null, this node is assumed.
    Returns:
    JDFResource the newly created resource

    removeMatchingLink

    public boolean removeMatchingLink(String resName,
                                      int processUsage,
                                      boolean bRemoveResource,
                                      int pos)
    remove the link that matches the typesafe link resource name

    Parameters:
    resName - name of the resource to remove
    processUsage - enum that defines if all links matching the name or only those matching the name usage and/or processusage are requested
    bRemoveResource - also remove the resource, if it is not linked by any other process
    pos - the position of the link, if multiple matching links exist
    Returns:
    true if successful

    removeMatchingLinks

    public boolean removeMatchingLinks(String resName,
                                       JDFNode.EnumProcessUsage processUsage,
                                       boolean bRemoveResource)
    remove the link that matches the typesafe link resource name

    Parameters:
    resName - name of the resource to remove
    processUsage - enum that defines if all links matching the name or only those matching the name usage and/or processusage are requested
    bRemoveResource - also remove the resource, if it is not linked by any other process
    Returns:
    true if successful

    linkMatchingResource

    public JDFResourceLink linkMatchingResource(JDFResource resource,
                                                JDFNode.EnumProcessUsage processUsage,
                                                JDFAttributeMap partMap)
    Append a resource that matches the typesafe link described by resource name

    Parameters:
    resource - the resource to link
    processUsage - enum that defines if all links matching the name or only those matching the name usage and/or processusage are requested
    partMap - the Attribute map of parts
    Returns:
    the new link, null if failure

    numMatchingLinks

    public int numMatchingLinks(String resName,
                                boolean bLink,
                                JDFNode.EnumProcessUsage processUsage)
    get the number of links that match the typesafe link resource name

    Parameters:
    resName - name of the resources to match
    bLink - if false: returns the linked resources, if true: returns the ResourceLink elements
    processUsage - enum that defines if all links matching the name or only those matching the name usage and/or processusage are requested
    Returns:
    int - the number of resourcelink elements

    getCreateAncestorPool

    public JDFAncestorPool getCreateAncestorPool()
    Returns:

    appendAncestorPool

    public JDFAncestorPool appendAncestorPool()
    Returns:

    getAncestorPool

    public JDFAncestorPool getAncestorPool()
    Returns:

    getCreateAuditPool

    public JDFAuditPool getCreateAuditPool()
    Returns:

    appendAuditPool

    public JDFAuditPool appendAuditPool()
    Returns:

    getAuditPool

    public JDFAuditPool getAuditPool()
    Returns:

    getCreateCustomerInfo

    public JDFCustomerInfo getCreateCustomerInfo()
    gets the existing CustomerInfo or creates a new one if none exists this method will check if a NodeInfo exists,

    Returns:
    the found or created CustomerInfo.

    appendCustomerInfo

    public JDFCustomerInfo appendCustomerInfo()
    appends a CustomerInfo to this

    Returns:
    the appended CustomerInfo

    getCustomerInfo

    public JDFCustomerInfo getCustomerInfo()
    gets the existing CustomerInfo

    Returns:
    the existing CustomerInfo.

    getIdentifier

    public NodeIdentifier getIdentifier()
    gets the NodeIdetifier that matches this

    Specified by:
    getIdentifier in interface INodeIdentifiable
    Returns:

    getCreateNodeInfo

    public JDFNodeInfo getCreateNodeInfo()
    gets the existing NodeInfo or creates a new one if none exists this method will check if a NodeInfo exists,

    Returns:
    the found or created nodeinfo.

    appendNodeInfo

    public JDFNodeInfo appendNodeInfo()
    appends a NodeInfo to this

    Returns:
    the appended NodeInfo

    appendNodeInfo

    public JDFNodeInfo appendNodeInfo(int combinedProcessIndex)
    appends a NodeInfo for a given combinedprocessindex to this

    Parameters:
    combinedProcessIndex - the combinedprocessindex that must be explicitly specified in the link
    Returns:
    the appended NodeInfo
    Throws:
    JDFException - if combinedProcessIndex is outside the legal range implied by @Types

    getNodeInfo

    public JDFNodeInfo getNodeInfo(int combinedProcessIndex)
    gets the existing local NodeInfo for a given CombinedProcessIndex

    Parameters:
    combinedProcessIndex - the combinedprocessindex that must be explicitly specified in the link
    Returns:
    the existing NodeInfo.

    getNodeInfo

    public JDFNodeInfo getNodeInfo()
    gets the existing local NodeInfo if it is a resource or an element and the NodeInfo is unique for all CombinedProcessIndex values

    Returns:
    the existing NodeInfo, null if multiple NodeInfos exist, or the CombinedProcessIndex of the Link does not apply to the entire node

    getInheritedNodeInfo

    public JDFNodeInfo getInheritedNodeInfo(String xPath)
    get first NodeInfo element from child list or child list of any ancestor

    Parameters:
    xPath - the xPath to an element or attribute that must exist in the queried CustomerInfo
    note that attributes must be marked with an "@", if xPath=null, simply return the next in line
    Returns:
    JDFNodeInfo The matching NodeInfo element

    getInheritedNodeInfo

    @Deprecated
    public JDFNodeInfo getInheritedNodeInfo()
    Deprecated. 060221 use getInheritedNodeInfo(String xPath)

    get first NodeInfo element from child list or child list of any ancestor

    Returns:
    JDFNodeInfo - the element

    removeNodeInfo

    public void removeNodeInfo()
    remove element NodeInfo with ProcessUsage="Ancestor" is infinity. Use removeNodeInfos() to remove all.


    removeCustomerInfo

    public void removeCustomerInfo()
    remove element Customerinfo whether it is an element or a resource


    removeNodeInfos

    @Deprecated
    public void removeNodeInfos()
    Deprecated. removes only 1 NodeInfo. In Version 1.3 the cardinality of NodeInfo

    removes all NodeInfo elements


    removeCustomerInfos

    @Deprecated
    public void removeCustomerInfos()
    Deprecated. 060220 use removeCustomerInfo

    removes all CustomerInfo elements whether it is an element or a resource


    eraseUnlinkedResources

    public void eraseUnlinkedResources()
    removes all unlinked resources


    removeFromTypes

    public void removeFromTypes(String type,
                                int iSkip)
    remove a type from the types list - also cleaning up combinedprocessindex

    Parameters:
    type - the type
    iSkip - the index of this type in the list of identical types - typically 0

    removeResource

    public JDFResource removeResource(String nodeName,
                                      int iSkip)
    removes a Resource from this ResourceLinkPool and from the resourcePool if it is no longer linked to any other process

    Parameters:
    nodeName - the Nodename of the Resource "NodeInfo" for example
    iSkip - number to skip before deleting
    Returns:
    KElement the removed resource, null if nothing was found or deleted (e.g. 4 found and the 5th is the one to delete). The link is not returned
    If the link is deleted and the resource is still linked to another process, null is returned.

    numNodeInfos

    @Deprecated
    public int numNodeInfos()
    Deprecated. must never be more than one...

    Number of NodeInfo elements

    Returns:
    int number of matching elements

    numCustomerInfos

    @Deprecated
    public int numCustomerInfos()
    Deprecated. must never be more than one...

    Number of NodeInfo elements

    Returns:
    int - number of matching elements

    hasNodeInfo

    @Deprecated
    public boolean hasNodeInfo()
    Deprecated. use getNodeInfo()!=null

    test whether either an element NodeInfo or a JDF 1.3 NodeInfo Resource exists

    Returns:
    true if at least one matching element exists

    hasCustomerInfo

    @Deprecated
    public boolean hasCustomerInfo()
    Deprecated. use getCustomerInfo()!=null

    test whether either an element CustomerInfo or a JDF 1.3 CustomerInfo Resource exists

    Returns:
    bool true if at least one matching element exists

    getCreateResourceLinkPool

    public JDFResourceLinkPool getCreateResourceLinkPool()
    Get element ResourceLinkPool, create if it doesn't exist

    Returns:
    the found/created element

    appendResourceLinkPool

    public JDFResourceLinkPool appendResourceLinkPool()
    Append a ResourceLinkPool element, return existing element if one already exist

    Returns:
    the ResourceLinkPool element

    getResourceLinkPool

    public JDFResourceLinkPool getResourceLinkPool()
    get the first ResourceLinkPool element

    Returns:
    the element

    getCreateResourcePool

    public JDFResourcePool getCreateResourcePool()
    Get element ResourcePool, create if it doesn't exist

    Returns:
    the found/created element

    appendResourcePool

    public JDFResourcePool appendResourcePool()
    append a ResourcePool element, return existing element if one already exist

    Returns:
    the ResourcePool element

    getResourcePool

    public JDFResourcePool getResourcePool()
    get the first ResourcePool element

    Returns:
    the element

    getCreateStatusPool

    public JDFStatusPool getCreateStatusPool()
    Get element StatusPool, create if it doesn't exist

    Returns:
    the found/created element

    appendStatusPool

    public JDFStatusPool appendStatusPool()
    append a StatusPool element, return existing element if one already exist

    Returns:
    the StatusPool element

    getStatusPool

    public JDFStatusPool getStatusPool()
    get the first StatusPool element

    Returns:
    the element

    getChildJDFNode

    public JDFNode getChildJDFNode(String id,
                                   boolean bDirect)
    get a Child JDFNode with a given ID attribute

    Parameters:
    id - the id of the child
    bDirect - if true, only direct children, else recurse down the tree
    Returns:
    JDFNode - the parent JDF, null if this is the root JDF

    hasVersion

    public boolean hasVersion(boolean bInherit)
    Check existence of attribute "version"

    Parameters:
    bInherit - recurse through ancestors and Ancestor elements of the AncestorPool when searching
    Returns:
    true if attribute Version exists

    setVersion

    @Deprecated
    public void setVersion(String value)
    Deprecated. use JDFElement.setVersion(EnumVersion.getEnum(value))

    set attribute "version"

    Parameters:
    value - the value to set the attribute to

    getVersion

    public JDFElement.EnumVersion getVersion(boolean bInherit)
    get enum attribute "version"

    Overrides:
    getVersion in class JDFElement
    Parameters:
    bInherit - recurse through ancestors when searching
    Returns:
    EnumVersion - attribute value

    cloneResourceToModify

    public JDFResourceAudit cloneResourceToModify(JDFResourceLink resLink)
    clone the target resource of this and generate a ResourceAudit in the parent node's AuditPool. Both resourcelinks of the ResourceAudit are filled in.
    The resource selected by this may now be modified.
    The cloned copy has a new Id in the format: (thisID)_old_nnn

    Parameters:
    resLink -
    Returns:
    the ResourceAudit that was created

    prepareToModifyLink

    public JDFResourceAudit prepareToModifyLink(JDFResourceLink resLink)
    Generate a ResourceAudit in the parent node's AuditPool an initial copy of the not yet modified resourcelink is inserted
    call JDFResourceAudit.UpdateLink with the modified link to finalize

    Parameters:
    resLink -
    Returns:
    the ResourceAudit that was created

    getTypes

    public VString getTypes()
    get the Types as a vector of strings

    Returns:
    vector of Strings in Types, null if this may not contain multiple types

    getEnumTypes

    public Vector<JDFNode.EnumType> getEnumTypes()
    get the Types as a vector of EnumType

    Returns:
    vector of enumerated types, null if extensions exist that hinder us from generating a complete vector
    e.g. extension types or gray box names

    getCombinedProcessIndex

    public int getCombinedProcessIndex(JDFNode.EnumType typ,
                                       int start)
    get the first index of a process in types after start

    Parameters:
    typ - the Type to search for
    start - the position to start searching at - generally 0
    Returns:
    int the position of the first occurence after start,-1 if none is found

    getCombinedProcessIndex

    public int getCombinedProcessIndex(String typ,
                                       int start)
    get the first index of a process in types after start

    Parameters:
    typ - the Type to search for
    start - the position to start searching at - generally 0
    Returns:
    int the position of the first occurence after start,-1 if none is found

    addTypes

    public void addTypes(JDFNode.EnumType typ)
    add typ to the types list if this is a combined node or gray box

    Parameters:
    typ -

    getAllTypes

    public VString getAllTypes()
    Gets the vector of the string Type/Types attribute values of the given JDFNode by recursively traversing the tree
    returns exactly one element="Product" if the tested node's type is product

    Returns:
    VString - vector of Type/Types attributes of the tested ProcessGroup JDFNode
    Throws:
    JDFException - if the tested JDFNode has an illegal combination of attribute 'Types' and child JDFNodes

    setTypes

    public void setTypes(VString vCombiNodes)
    set node Types , also set Type to Combined

    Parameters:
    vCombiNodes - vector of types

    getLinksForCombinedProcessIndex

    public VElement getLinksForCombinedProcessIndex(int combinedProcessIndex)
    get the links that are selected by a given CombinedProcessIndex
    all links with no CombinedProcessIndex are included in the list

    Parameters:
    combinedProcessIndex - the nTh occurence of the CombinedProcessIndex field, -1 if all valid positions are ok
    Returns:

    getLinksForType

    public VElement getLinksForType(JDFNode.EnumType type,
                                    int nType)
    get the links that are selected by a given CombinedProcessIndex
    all links with no CombinedProcessIndex are included in the list

    Parameters:
    type - the process type for which to get the links
    nType - the nTh occurence of the Type field, -1 if all valid positions are ok
    Returns:

    getEnumType

    public JDFNode.EnumType getEnumType()
    get the enumerated type value of @Type

    Returns:
    the enumerated type

    insertTypeInTypes

    public void insertTypeInTypes(JDFNode.EnumType type,
                                  int beforePos)
    insert a new Process into @Types at the position pos

    Parameters:
    type - the process type
    beforePos - the position before which to add the in the list, 0 is first, ... -1 is before the last, very large is append

    getParentIds

    public VString getParentIds()
    Get an ordered list of the ids of the parents of this node
    the last element in the pool is the direct parent, the second to last is the grandparent etc. The first element is the original root element.

    Returns:
    the list of ids in the order parent, grandparent...

    mergeJDF

    @Deprecated
    public JDFNode mergeJDF(JDFNode toMerge,
                                       String urlMerge,
                                       JDFNode.EnumCleanUpMerge cleanPolicy,
                                       JDFResource.EnumAmountMerge amountPolicy)
    Deprecated. use JDFMerge class

    merge a previously spawned JDF into a node that is a child of, or this root

    Parameters:
    toMerge - the previosly spawned jdf node
    urlMerge - the url of the ???
    cleanPolicy - how to clean up the spawn and merge audits after merging
    amountPolicy - how to clean up the Resource amounts after merging
    Returns:
    JDFNode - the merged node in the new document
    note that the return value used to be boolean. The boolean value is now replaced by exceptions. This always corresponds to true.
    Throws:
    JDFException - if toMerge has already been merged
    JDFException - if toMerge was not spawned from this
    JDFException - if toMerge has no AncestorPool

    hasParent

    public boolean hasParent(JDFNode p)
    check whether a node with the same ID as one in p's ancestorpool exists in this document

    Parameters:
    p - the node to check
    Returns:
    true if a node with the same ID as one in p's ancestorpool exists

    getMinID

    @Deprecated
    public int getMinID()
    Deprecated. - actually does more harm than good

    loop over all IDs and find the min ID that will create unique new IDs

    Returns:
    the new minimum ID that will generate unique IDs

    getMaxJobPartId

    public int getMaxJobPartId(String idPrefix)
    gets the maximum job part id; note that this assumes integer job part ids return

    Parameters:
    idPrefix -
    Returns:
    int

    addJDFNode

    public JDFNode addJDFNode(String typ)
    add a JDFNode remove @Types to avoid inconsistent JDF

    Parameters:
    typ - type of JDFNode to add
    Returns:
    JDFNode the added JDFNode

    addJDFNode

    public JDFNode addJDFNode(JDFNode.EnumType typ)
    add a JDFNode

    Parameters:
    typ - enum type of JDFNode to add
    Returns:
    the added JDFNode

    addProcess

    @Deprecated
    public JDFNode addProcess(String prodName)
    Deprecated. use addJDFNode(EnumType typ) or addJDFNode(String typ)

    Parameters:
    prodName -
    Returns:

    addProcessGroup

    public JDFNode addProcessGroup(VString tasks)
    Add a process group node

    Parameters:
    tasks - types of the processgroup
    Returns:
    the added JDFNode

    addCombined

    public JDFNode addCombined(VString tasks)
    add a combined node

    Parameters:
    tasks - types of the node to add
    Returns:
    the added node

    addProduct

    public JDFNode addProduct()
    add a product node to this

    Returns:
    Throws:
    JDFException - ith this is not a Product itself

    removeCompleted

    @Deprecated
    public boolean removeCompleted()
    Deprecated. 

    remove all completed nodes

    Returns:

    getCompleted

    public VElement getCompleted()
    get a vector with all nodes

    Returns:
    vector with all nodes

    getTargetResource

    public JDFResource getTargetResource(String id)
    Returns a resource with id anywhere in the tree below this node similar to getTarget(id) but looks only in the resource pool's direct children

    Parameters:
    id - the id of the resource
    Returns:
    the resource, if available

    getAncestorElementAttribute

    public String getAncestorElementAttribute(String element,
                                              String attrib,
                                              String nameSpaceURI,
                                              String def)
    searches for the first attribute occurence in the ancestor elements subelements

    Parameters:
    element -
    attrib - the attribute name
    nameSpaceURI - the XML-namespace
    def - default value, if no matching attribute is found
    Returns:
    String - value of attribute found, empty string if not available
    Since:
    180502

    hasAncestorElementAttribute

    public boolean hasAncestorElementAttribute(String element,
                                               String attrib,
                                               String nameSpaceURI)
    true if a non default attribute occurs in the parent nodes and the ancestor elements subelements of the root ancestorpool exists

    Parameters:
    element -
    attrib - the attribute name
    nameSpaceURI - the XML-namespace
    Returns:
    true if the attribute exists
    Since:
    180502

    getIntents

    public VElement getIntents()
    Get vector of linked input resource intents

    Returns:
    VElement vector of all input intent resources that are linked as inputs to this node

    getUnknownLinkVector

    public VElement getUnknownLinkVector(VString vInNameSpace,
                                         int nMax)
    get a vector of ResourceLink elements that exist but are unknown by this element

    Parameters:
    vInNameSpace - list of namespaces where unknown Links are searched for
    if null, all namespaces are searched
    nMax - maximum size of the returned vector
    Returns:
    VElement vector of unknown elements
    Since:
    060730 return type changed to VElement - but since the routine was utterly broken, we should be ok

    setCategory

    public void setCategory(String value)
    set attribute Category

    Parameters:
    value - the value to set the attribute to

    getCategory

    public String getCategory()
    get string attribute Category

    Returns:
    the attribute value

    getCategory

    @Deprecated
    public String getCategory(boolean bInherit)
    Deprecated. - use getCategory() instead

    Parameters:
    bInherit -
    Returns:

    setICSVersions

    public void setICSVersions(VString value)
    set attribute ICSVersions

    Parameters:
    value - the value to set the attribute to

    getICSVersions

    public VString getICSVersions(boolean bInherit)
    get NMTOKENS attribute ICSVersions

    Parameters:
    bInherit - if true recurse through ancestors when searching
    Returns:
    VString - attribute value

    setMaxVersion

    public void setMaxVersion(JDFElement.EnumVersion enumVer)
    set MaxVersion to enumVer

    Parameters:
    enumVer - the EnumVersion to set

    setMaxVersion

    @Deprecated
    public void setMaxVersion(String value)
    Deprecated. use setMaxVersion(EnumVersion)

    Parameters:
    value - the string version to set MaxVersion to

    getMaxVersion

    public JDFElement.EnumVersion getMaxVersion(boolean bInherit)
    get attribute MaxVersion, defaults to version if not set

    Overrides:
    getMaxVersion in class JDFElement
    Parameters:
    bInherit - if true recurse through ancestors when searching
    Returns:
    EnumVersion - attribute value default - getMaxVersion(false)

    setNamedFeatures

    public void setNamedFeatures(VString value)
    set attribute NamedFeatures

    Parameters:
    value - the value to set the attribute to

    getNamedFeatures

    public VString getNamedFeatures()
    Get NMTOKENS attribute NamedFeatures

    Returns:
    the attribute value

    GetNamedFeatures

    @Deprecated
    public VString GetNamedFeatures(boolean bInherit)
    Deprecated. - use getNamedFeatures() instead

    Parameters:
    bInherit -
    Returns:

    setRelatedJobID

    public void setRelatedJobID(String value)
    set attribute ProjectID

    Parameters:
    value - the value to set the attribute to

    getRelatedJobID

    public String getRelatedJobID(boolean bInherit)
    get string attribute RelatedJobID

    Parameters:
    bInherit - recurse through ancestors when searching
    Returns:
    the attribute value

    setRelatedJobPartID

    public void setRelatedJobPartID(String value)
    set attribute RelatedJobPartID

    Parameters:
    value - the value to set the attribute to

    getRelatedJobPartID

    public String getRelatedJobPartID(boolean bInherit)
    get string attribute RelatedJobPartID

    Parameters:
    bInherit - recurse through ancestors when searching
    Returns:
    the attribute value

    setStatusDetails

    public void setStatusDetails(String value)
    set attribute StatusDetails

    Parameters:
    value - the value to set the attribute to

    getStatusDetails

    public String getStatusDetails()
    get string attribute StatusDetails

    Returns:
    the attribute value

    getStatusDetails

    @Deprecated
    public String getStatusDetails(boolean bInherit)
    Deprecated. - use getStatusDetails() instead

    Parameters:
    bInherit -
    Returns:

    setTemplate

    public void setTemplate(boolean value)
    set attribute Template

    Parameters:
    value - the value to set the attribute to

    getTemplate

    public boolean getTemplate()
    get boolean attribute Template, default=false

    Returns:
    the attribute value

    setTemplateID

    public void setTemplateID(String value)
    set attribute TemplateID

    Parameters:
    value - the value to set the attribute to

    getTemplateID

    public String getTemplateID(boolean bInherit)
    get string attribute TemplateID

    Parameters:
    bInherit - recurse through ancestors when searching
    Returns:
    the attribute value

    setTemplateVersion

    public void setTemplateVersion(String value)
    set attribute TemplateVersion

    Parameters:
    value - the value to set the attribute to

    getTemplateVersion

    public String getTemplateVersion(boolean bInherit)
    get string attribute TemplateVersion

    Parameters:
    bInherit - recurse through ancestors when searching
    Returns:
    the attribute value

    getWorkStepID

    public String getWorkStepID(JDFAttributeMap map)
    get the NodeInfo/@workstepid for a given partition if no workstepID exists, returns jobPartID

    Parameters:
    map -
    Returns:
    the workstepid

    getNodeInfoCleanupDuration

    @Deprecated
    public JDFDuration getNodeInfoCleanupDuration()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:
    JDFDuration

    getNodeInfoCostType

    @Deprecated
    public JDFAutoMISDetails.EnumCostType getNodeInfoCostType()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:
    JDFMISDetails.EnumCostType

    getNodeInfoDueLevel

    @Deprecated
    public JDFAutoNodeInfo.EnumDueLevel getNodeInfoDueLevel()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:
    #

    getNodeInfoEnd

    @Deprecated
    public JDFDate getNodeInfoEnd()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoFirstEnd

    @Deprecated
    public JDFDate getNodeInfoFirstEnd()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoFirstStart

    @Deprecated
    public JDFDate getNodeInfoFirstStart()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoIPPVersion

    @Deprecated
    public JDFXYPair getNodeInfoIPPVersion()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoJobPriority

    @Deprecated
    public int getNodeInfoJobPriority()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoLastEnd

    @Deprecated
    public JDFDate getNodeInfoLastEnd()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoLastStart

    @Deprecated
    public JDFDate getNodeInfoLastStart()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoNaturalLang

    @Deprecated
    public String getNodeInfoNaturalLang()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoRoute

    @Deprecated
    public String getNodeInfoRoute()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoSetupDuration

    @Deprecated
    public JDFDuration getNodeInfoSetupDuration()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoStart

    @Deprecated
    public JDFDate getNodeInfoStart()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoTargetRoute

    @Deprecated
    public String getNodeInfoTargetRoute()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoTotalDuration

    @Deprecated
    public JDFDuration getNodeInfoTotalDuration()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoWorkType

    @Deprecated
    public JDFAutoMISDetails.EnumWorkType getNodeInfoWorkType()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoWorkTypeDetails

    @Deprecated
    public String getNodeInfoWorkTypeDetails()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoBusinessInfo

    @Deprecated
    public JDFBusinessInfo getNodeInfoBusinessInfo()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoEmployee

    @Deprecated
    public JDFEmployee getNodeInfoEmployee()
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Returns:

    getNodeInfoJMF

    @Deprecated
    public JDFJMF getNodeInfoJMF(int iSkip)
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Parameters:
    iSkip -
    Returns:

    getNodeInfoNotificationFilter

    @Deprecated
    public JDFNotificationFilter getNodeInfoNotificationFilter(int iSkip)
    Deprecated. 06�221 use getInheritedNodeInfo(String attName)

    Parameters:
    iSkip -
    Returns:

    getInheritedCustomerInfo

    public JDFCustomerInfo getInheritedCustomerInfo(String xPath)
    get first CustomerInfo element from child list or child list of any ancestor

    Parameters:
    xPath - the the xPath to an element or attribute that must exist in the queried CustomerInfo
    note that attributes must be marked with an "@", if xPath=null, simply return the next in line
    Returns:
    the matching CustomerInfo element

    getInheritedCustomerInfo

    @Deprecated
    public JDFCustomerInfo getInheritedCustomerInfo()
    Deprecated. 06�221 use getInheritedCustomerInfo(String xPath)

    get first CustomerInfo element from child list or child list of any ancestor

    Returns:
    CustomerInfo The matching CustomerInfo element

    getCustomerInfoBillingCode

    @Deprecated
    public String getCustomerInfoBillingCode()
    Deprecated. 06�221 use getInheritedCustomerInfo(String attName)

    Returns:

    getCustomerInfoCustomerID

    @Deprecated
    public String getCustomerInfoCustomerID()
    Deprecated. 06�221 use getInheritedCustomerInfo(String attName)

    Returns:

    getCustomerInfoCustomerJobName

    @Deprecated
    public String getCustomerInfoCustomerJobName()
    Deprecated. 06�221 use getInheritedCustomerInfo(String attName)

    Returns:

    getCustomerInfoCustomerOrderID

    @Deprecated
    public String getCustomerInfoCustomerOrderID()
    Deprecated. 06�221 use getInheritedCustomerInfo(String attName)

    Returns:

    getCustomerInfoCustomerProjectID

    @Deprecated
    public String getCustomerInfoCustomerProjectID()
    Deprecated. 06�221 use getInheritedCustomerInfo(String attName)

    Returns:

    getCustomerInfoCompany

    @Deprecated
    public JDFCompany getCustomerInfoCompany()
    Deprecated. 06�221 use getInheritedCustomerInfo(String attName)

    Returns:

    getCustomerInfoContact

    @Deprecated
    public JDFContact getCustomerInfoContact(int iSkip)
    Deprecated. 06�221 use getInheritedCustomerInfo(String attName)

    Parameters:
    iSkip -
    Returns:

    getCustomerInfoCustomerMessage

    @Deprecated
    public JDFCustomerMessage getCustomerInfoCustomerMessage(int iSkip)
    Deprecated. 06�221 use getInheritedCustomerInfo(String attName)

    Parameters:
    iSkip -
    Returns:

    isSuccessor

    public boolean isSuccessor(JDFNode proc)
    Checks if this process is the successor of the given process node.

    Parameters:
    proc - node to check against
    Returns:
    boolean - true if this process is successor of given process

    getResourceIDs

    public VString getResourceIDs(boolean isInput)
    Returns the input or output resource IDs of this process node.

    Parameters:
    isInput -
  • true to get input resource IDs.
  • false to get output resource IDs.
  • Returns:
    VString - Vector containing resource IDs.

    getExecutablePartitions

    @Deprecated
    public VJDFAttributeMap getExecutablePartitions(JDFResourceLink link,
                                                               JDFResource res,
                                                               JDFResource.EnumResStatus minStatus)
    Deprecated. use getExecutablePartitions(link, minStatus);

    Gets the executable partitions of the resource in this node (with corresponding resource link). The part maps returned may be nested. If the empty part map is contained, the whole resource is executable.
    Availability of a resource depends on the status, the availability of refered sub-partitions and the part usage.

    Parameters:
    link - the resource link.
    res - the resource. (legacy dummy the resource is actually calculated from the link)
    minStatus - minimum resource status to include.
    Returns:
    VJDFAttributeMap - A part map vector containing the executable partitions.

    getExecutablePartitions

    @Deprecated
    public VJDFAttributeMap getExecutablePartitions(JDFResourceLink link,
                                                               JDFResource.EnumResStatus minStatus)
    Deprecated. only for backward compatibility !!!

    Method getExecutablePartitions

    Parameters:
    link -
    minStatus -
    Returns:

    getExecutablePartitions

    public VJDFAttributeMap getExecutablePartitions(JDFResourceLink link,
                                                    JDFResource.EnumResStatus minStatus,
                                                    boolean bCheckNodeStatus)
    Gets the executable partitions of the resource in this node (with corresponding resource link). The part maps returned may be nested. If the empty part map is contained, the whole resource is executable.
    Availability of a resource depends on the status, the availability of refered sub-partitions and the part usage.

    Parameters:
    link - the resource link.
    minStatus - minimum resource status to include.
    bCheckNodeStatus - check node status.
    Returns:
    VJDFAttributeMap - A part map vector containing the executable partitions.

    getProcessNodes

    @Deprecated
    public JDFNode[] getProcessNodes()
    Deprecated. use getvJDFNode(null,null,false) and skip intermediate nodes

    Gets all child process nodes. This function replaces the JDFDoc.getProcessNodes, which may be implemented as getJDFRoot.getProcessNodes();

    Returns:
    JDFNode [] - All child process nodes.

    isProcessNode

    public boolean isProcessNode()
    Checks if this node is a simple process (including Combined) leaf node.

    Returns:
    boolean - true if this is a process node.

    addInternalPipe

    public JDFResource addInternalPipe(String resourceName,
                                       int indexOutput,
                                       int indexInput)
    add an internal pipe (an input and an output link to an explicitly defined exchange resource)

    Parameters:
    resourceName - The name of the reource to create
    indexOutput - the CombinedProcessIndex of the output ResourceLink to the internal pipe
    indexInput - the CombinedProcessIndex of the input ResourceLink to the internal pipe
    Returns:
    JDFResource - the newly created resource

    getPartIDKeys

    public VString getPartIDKeys(JDFAttributeMap partMap)
    get a heuristic partidkey vector from the partitons of the linked resources

    Parameters:
    partMap - the partmap to order. If not specified, use the output link
    Returns:
    the ordered vector of partIDKeys

    prepareNodeInfo

    public VElement prepareNodeInfo(VJDFAttributeMap vSpawnParts)
    prepare the nodeinfo for a list of parts, e.g. for a partitioned spawn if nodeinfo is prepartitioned it will return a vector of all matching leaves

    Parameters:
    vSpawnParts - the list of parts
    Returns:
    the vector of nodeinfo leaves

    getLinks

    @Deprecated
    public VElement getLinks(String linkName,
                                        JDFAttributeMap mLinkAtt,
                                        String linkNS)
    Deprecated. - use getResourceLinks

    getLinks - get the links matching mLinkAtt out of the resource link pool

    Parameters:
    linkName - the name of the link including or excluding the "Link", If it is omitted, it will be added
    mLinkAtt - the attributes to search for
    linkNS - the namespace of the link
    Returns:
    VElement - all elements matching the condition mLinkAtt

    getResourceLinks

    public VElement getResourceLinks(String linkName,
                                     JDFAttributeMap mLinkAtt,
                                     String linkNS)
    getLinks - get the links matching mLinkAtt out of the resource link pool

    Parameters:
    linkName - the name of the link including or excluding the "Link", If it is omitted, it will be added
    mLinkAtt - the resourcelink attributes to search for
    linkNS - the namespace of the link
    Returns:
    VElement - all elements matching the condition mLinkAtt,

    getLink

    public JDFResourceLink getLink(int index,
                                   String linkName,
                                   JDFAttributeMap mLinkAtt,
                                   String linkNS)
    getLink - get the n'th link matching mLinkAtt out of the resource link pool

    Parameters:
    index - the index of the matching link
    linkName - the name of the link including or excluding the "Link". If it is omitted, it will be added.
    mLinkAtt - the attributes to search for
    linkNS - the namespace of the link
    Returns:
    JDFResourceLink - the ResourceLink matching the condition mLinkAtt

    getLinks

    @Deprecated
    public VElement getLinks(String linkName,
                                        String nameSpaceURI)
    Deprecated. this routine does not belong here at all!

    Gets all elements with name linkName, which contain resource links that point to this resource

    Parameters:
    linkName - defaults to any
    nameSpaceURI - attribute namespace you are searching in
    Returns:
    VElement vector of all found elements

    sortChildren

    public void sortChildren()
    sorts all elements alphabetically also recurses into the resourcepool and the sub JDF Node NO other sub-elements are sorted

    Overrides:
    sortChildren in class KElement
    See Also:
    KElement.sortChildren()

    getMatchingNodes

    public VElement getMatchingNodes(NodeIdentifier ni)
    returns all subnodes of this (including this) that match ni

    Parameters:
    ni - the Identifier to match
    Returns:

    linkOutputs

    public void linkOutputs(JDFNode thePreviousNode)
    links all output resources of thePreviousNode as inputs to this

    Parameters:
    thePreviousNode -

    synchParentAmounts

    public void synchParentAmounts()
    synchronize the amounts of a gray box parent with the expanded jdfnode


    toGrayBox

    public void toGrayBox(boolean bExpand)
    make any combined or single type process to a gray box

    Parameters:
    bExpand - if true, create a parent gray box that wraps this, else simply rename this

    setIdentifier

    public void setIdentifier(NodeIdentifier ni)
    Specified by:
    setIdentifier in interface INodeIdentifiable
    Parameters:
    ni -
    See Also:
    INodeIdentifiable.setIdentifier(org.cip4.jdflib.node.NodeIdentifier)

    setURL

    public void setURL(String url)
    sets the CommentURL this allows us to implement IURLSetter and automagically manipulate attatched commenturl files

    Specified by:
    setURL in interface IURLSetter
    Parameters:
    url - the URL to set
    See Also:
    IURLSetter.setURL(java.lang.String)

    getURL

    public String getURL()
    gets the CommentURL this allows us to implement IURLSetter and automagically manipulate attatched commenturl files

    Specified by:
    getURL in interface IURLSetter
    Returns:
    the URL of this
    See Also:
    IURLSetter.getURL()


    Copyright © 2013. All Rights Reserved.