public class JDFNode extends JDFElement implements INodeIdentifiable, IURLSetter
Modifier and Type | Class and Description |
---|---|
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
|
JDFElement.EnumBoolean, JDFElement.EnumNamedColor, JDFElement.EnumNodeStatus, JDFElement.EnumOrientation, JDFElement.EnumPoolType, JDFElement.EnumSeparation, JDFElement.EnumSettingsPolicy, JDFElement.EnumValidationLevel, JDFElement.EnumVersion, JDFElement.EnumXYRelation
KElement.SimpleElementNameComparator, KElement.SimpleNodeComparator, KElement.SingleAttributeComparator, KElement.SingleXPathComparator
Modifier and Type | Field and Description |
---|---|
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
|
firstChild, fNodeListCache, ownerDocument
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
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
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION
Constructor and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
JDFResource |
appendMatchingResource(String resName,
JDFResourceLink.EnumUsage usage)
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
|
static JDFNode |
createRoot() |
JDFResourceLink |
ensureLink(JDFResource jdfResource,
JDFResourceLink.EnumUsage usage,
JDFNode.EnumProcessUsage processUsage) |
JDFResourceLink |
ensureLinkPU(JDFResource jdfResource,
JDFResourceLink.EnumUsage usage,
String 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 res) |
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
|
JDFResource |
getCreateResource(String strName,
JDFResourceLink.EnumUsage usage,
String processUsage)
Get the linked resource with name=strName
|
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)
Deprecated.
|
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);
|
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
|
JDFNode |
getJDF(int iSkip)
getJobPart - get a child node with a given jobpartid
|
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
|
JDFResourceLink |
getLink(String strName,
JDFResourceLink.EnumUsage usage,
String processUsage)
Get the resource link with name=strName - convenience
|
JDFResourceLink |
getLink(String strName,
JDFResourceLink.EnumUsage usage,
String processUsage,
String namespaceURI,
int i)
Get the resource link with name=strName
|
VElement |
getLinkedResources(JDFAttributeMap mResAtt,
boolean bFollowRefs)
get the linked resources matching certain conditions
combines all linked resources from ResourceLinkPool, CustomerInfo, NodeInfo and AuditPool |
VElement |
getLinkedResourceVector(JDFResourceLink.EnumUsage usage,
String resName,
JDFNode.EnumProcessUsage procUsage,
boolean expandLeaves)
get the vector of all resource leaves linked to a resource
|
LinkInfoMap |
getLinkInfoMap() |
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()
|
JDFNode |
getParentProduct()
get the Parent JDFNode with Type=Product, null if the parent element is the document or an envelope xml or no product exists
|
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)
Deprecated.
|
JDFResource |
getResource(String strName,
JDFResourceLink.EnumUsage usage,
String processUsage,
String namespaceURI,
int i)
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
|
JDFResource |
getResourceRoot(String strName,
JDFResourceLink.EnumUsage usage,
int i)
Get the linked resource with name=strName
|
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 |
String |
getUserFileName() |
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()
isCombined - is this a Combined resource type ?
|
boolean |
isExecutable(JDFAttributeMap partMap,
boolean bCheckChildren) |
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()
Is this a Combined node type ?
|
boolean |
isProcessNode()
Checks if this node is a simple process (including Combined and grey box ProcessGroup) leaf node.
|
boolean |
isProduct()
Is this a product node type ?
|
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)
isValidLink check whether an resLink is legal for this class
|
boolean |
isValidLink(String resName,
JDFResourceLink.EnumUsage usage,
String processUsage)
isValidLink check whether an resLink is legal for this class
|
VString |
linkInfo()
Deprecated.
|
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...
|
static JDFNode |
parseFile(File file)
parse a JDF file
|
static JDFNode |
parseFile(String fileName)
parse a JDF file
|
static JDFNode |
parseStream(InputStream is)
parse a JDF input stream
|
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)
Deprecated.
use the 3-parameter version
|
void |
removeFromTypes(String type,
int iSkip,
boolean bRemoveEmptyLink)
remove a type from the types list - also cleaning up combinedprocessindex
|
void |
removeLink(JDFResourceLink l,
boolean bRemoveResource)
remove a resourceLink and potentially its linked resource
|
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(JDFElement.EnumVersion enumVer)
set Version to enumVer
|
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
|
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)
|
appendAnchor, appendBestEffortExceptions, appendComment, appendElement, appendGeneralID, 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, getLinkFromUserData, getLinkRoot, getMissingAttributes, getMissingAttributeVector, getMissingElements, getMissingElementVector, getMustHonorExceptions, getNamesVector, getOperatorInterventionExceptions, getOwnerDocument_JDFElement, getParentJDF, getPartMap, getPrereleaseAttributes, getPrereleaseElements, getPreview, getRefElement, getRefElements, getRefString, getrRefs, getSchemaURL, 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, isDeprecated, isDirty, isInJDFNameSpace, isInJDFNameSpaceStatic, isInJDFNameSpaceStatic, isInXJDFNameSpaceStatic, isInXJDFNameSpaceStatic, isJDFNode, isRefElement, isRefElementStatic, isResource, isResourceLink, isResourceLinkStatic, isResourceStatic, isResourceUpdate, isValid_JDFElement, isXJDF, 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, setvStringAttribute, stringToVersion, uniqueElements, upDaterRefs, validAttribute, validAttribute, validEnumAttribute, validEnumerationsAttribute, validResourcePosition, version, write2Dir
addAttribute, addAttribute, addNameSpace, ancestorDistance, appendAttribute, appendCData, appendCData, appendChild, appendElement, appendElementN, appendElementRaw, appendEntityReference, appendText, appendTextElement, appendXMLComment, appendXMLComment, buildRelativeXPath, 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_KElement, getAttributeMap, getAttributeRaw, getAttributeVector_KElement, getAttributeVector, getBoolAttribute, getCData, getChildAttributeList, getChildByTagName, getChildElementArray, getChildElementVector_KElement, getChildElementVector, getChildElementVector, getChildFromList, getChildFromList, getChildNode, getChildNodes_KElement, getChildNodeVector, getChildrenByClass, getChildrenByTagName_KElement, getChildrenFromList, getChildrenIgnoreList, getChildrenWithAttribute, getCreateChildWithAttribute, 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, getNonEmpty_KElement, getNonEmpty, getNumCDatas, getNumChildNodes, getNumChildText, getNumXMLComments, getOwnerDocument_KElement, getParentNode_KElement, getPreviousSiblingElement, getPreviousSiblingElement, getRealAttribute, getTarget_KElement, getText, getText, getTree, getTreeElement, getXMLComment, getXMLNSNameSpace, getXMLNSPrefix, getXPathAttribute, getXPathAttributeMap, getXPathElement, getXPathElementVector, getXPathValueMap, getXSIType, hasAttribute_KElement, hasAttribute, hasAttribute, hasAttributes, hasChildElement, hasChildElements, hasChildNodes, hasChildText, hasNonEmpty_KElement, hasNonEmpty, hasXPathNode, includesAttribute, includesAttributes, insertAt, insertBefore, isAncestor, isEqual, isWildCard, matchesPath, matchesPathName, mergeElement, moveAttribute, moveAttribute, moveElement, moveElements, moveMe, normalize, numChildElements_KElement, numChildNodes, numChildNodes, numChildrenByClass, numSiblingElements, pushUp, removeAllText, removeAttribute_KElement, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, removeAttributes, removeCData, removeChildNode, removeChildren, removeChildrenByClass, removeChildText, removeExtensions, removeFromAttribute, removeXMLComment, removeXPathAttribute, removeXPathElement, renameAttribute, 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, setNonEmpty, setPrefix, setRealAttribute, setText, setvStringAttribute, setXMLComment, setXPathAttribute, setXPathValue, setXPathValues, setXSIType, sortChild, sortChild, sortChildren, sortChildren, sortChildren, toDisplayXML, toXML, toXML, uniqueID, write2File, write2File, write2Stream, xmlNameSpace, xmlnsLocalName, xmlnsPrefix
getBaseURI, getLocalName, getPrefix, getTypeName, getTypeNamespace, isDerivedFrom, setType, setValues
cloneNode, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getDefaultAttributes, getElementsByTagName, getElementsByTagNameNS, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getXercesAttribute, hasAttributeNS, isEqualNode, reconcileDefaultAttributes, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeData
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, item, setTextContent, synchronizeChildren
getNextSibling, getParentNode, getPreviousSibling
addEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getNodeNumber, getNodeValue, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setUserData, setUserData
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
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
@Deprecated public static final JDFNode.EnumActivation Activation_Inactive
@Deprecated public static final JDFNode.EnumActivation Activation_Informative
@Deprecated public static final JDFNode.EnumActivation Activation_Held
@Deprecated public static final JDFNode.EnumActivation Activation_TestRun
@Deprecated public static final JDFNode.EnumActivation Activation_TestRunAndGo
@Deprecated public static final JDFNode.EnumActivation Activation_Active
@Deprecated public static final JDFNode.EnumType Type_ProcessGroup
@Deprecated public static final JDFNode.EnumType Type_Combined
@Deprecated public static final JDFNode.EnumType Type_Product
@Deprecated public static final JDFNode.EnumType Type_Approval
@Deprecated public static final JDFNode.EnumType Type_Buffer
@Deprecated public static final JDFNode.EnumType Type_Combine
@Deprecated public static final JDFNode.EnumType Type_Delivery
@Deprecated public static final JDFNode.EnumType Type_ManualLabor
@Deprecated public static final JDFNode.EnumType Type_Ordering
@Deprecated public static final JDFNode.EnumType Type_Packing
@Deprecated public static final JDFNode.EnumType Type_QualityControl
@Deprecated public static final JDFNode.EnumType Type_ResourceDefinition
@Deprecated public static final JDFNode.EnumType Type_Split
@Deprecated public static final JDFNode.EnumType Type_Verification
@Deprecated public static final JDFNode.EnumType Type_AssetListCreation
@Deprecated public static final JDFNode.EnumType Type_ColorCorrection
@Deprecated public static final JDFNode.EnumType Type_ColorSpaceConversion
@Deprecated public static final JDFNode.EnumType Type_ContactCopying
@Deprecated public static final JDFNode.EnumType Type_ContoneCalibration
@Deprecated public static final JDFNode.EnumType Type_DBDocTemplateLayout
@Deprecated public static final JDFNode.EnumType Type_DBTemplateMerging
@Deprecated public static final JDFNode.EnumType Type_DigitalDelivery
@Deprecated public static final JDFNode.EnumType Type_FilmToPlateCopying
@Deprecated public static final JDFNode.EnumType Type_FormatConversion
@Deprecated public static final JDFNode.EnumType Type_ImageReplacement
@Deprecated public static final JDFNode.EnumType Type_ImageSetting
@Deprecated public static final JDFNode.EnumType Type_Imposition
@Deprecated public static final JDFNode.EnumType Type_InkZoneCalculation
@Deprecated public static final JDFNode.EnumType Type_Interpreting
@Deprecated public static final JDFNode.EnumType Type_LayoutElementProduction
@Deprecated public static final JDFNode.EnumType Type_LayoutPreparation
@Deprecated public static final JDFNode.EnumType Type_PDFToPSConversion
@Deprecated public static final JDFNode.EnumType Type_Preflight
@Deprecated public static final JDFNode.EnumType Type_PreviewGeneration
@Deprecated public static final JDFNode.EnumType Type_Proofing
@Deprecated public static final JDFNode.EnumType Type_PSToPDFConversion
@Deprecated public static final JDFNode.EnumType Type_Rendering
@Deprecated public static final JDFNode.EnumType Type_Scanning
@Deprecated public static final JDFNode.EnumType Type_Screening
@Deprecated public static final JDFNode.EnumType Type_Separation
@Deprecated public static final JDFNode.EnumType Type_SoftProofing
@Deprecated public static final JDFNode.EnumType Type_Stripping
@Deprecated public static final JDFNode.EnumType Type_Tiling
@Deprecated public static final JDFNode.EnumType Type_Trapping
@Deprecated public static final JDFNode.EnumType Type_ConventionalPrinting
@Deprecated public static final JDFNode.EnumType Type_DigitalPrinting
@Deprecated public static final JDFNode.EnumType Type_IDPrinting
@Deprecated public static final JDFNode.EnumType Type_AdhesiveBinding
@Deprecated public static final JDFNode.EnumType Type_BlockPreparation
@Deprecated public static final JDFNode.EnumType Type_BoxPacking
@Deprecated public static final JDFNode.EnumType Type_Bundling
@Deprecated public static final JDFNode.EnumType Type_CaseMaking
@Deprecated public static final JDFNode.EnumType Type_CasingIn
@Deprecated public static final JDFNode.EnumType Type_ChannelBinding
@Deprecated public static final JDFNode.EnumType Type_CoilBinding
@Deprecated public static final JDFNode.EnumType Type_Collecting
@Deprecated public static final JDFNode.EnumType Type_CoverApplication
@Deprecated public static final JDFNode.EnumType Type_Creasing
@Deprecated public static final JDFNode.EnumType Type_Cutting
@Deprecated public static final JDFNode.EnumType Type_Dividing
@Deprecated public static final JDFNode.EnumType Type_Embossing
@Deprecated public static final JDFNode.EnumType Type_EndSheetGluing
@Deprecated public static final JDFNode.EnumType Type_Feeding
@Deprecated public static final JDFNode.EnumType Type_Folding
@Deprecated public static final JDFNode.EnumType Type_Gathering
@Deprecated public static final JDFNode.EnumType Type_Gluing
@Deprecated public static final JDFNode.EnumType Type_HeadBandApplication
@Deprecated public static final JDFNode.EnumType Type_HoleMaking
@Deprecated public static final JDFNode.EnumType Type_Inserting
@Deprecated public static final JDFNode.EnumType Type_Jacketing
@Deprecated public static final JDFNode.EnumType Type_Labeling
@Deprecated public static final JDFNode.EnumType Type_Laminating
@Deprecated public static final JDFNode.EnumType Type_LongitudinalRibbonOperations
@Deprecated public static final JDFNode.EnumType Type_Numbering
@Deprecated public static final JDFNode.EnumType Type_Palletizing
@Deprecated public static final JDFNode.EnumType Type_Perforating
@Deprecated public static final JDFNode.EnumType Type_PlasticCombBinding
@Deprecated public static final JDFNode.EnumType Type_PrintRolling
@Deprecated public static final JDFNode.EnumType Type_RingBinding
@Deprecated public static final JDFNode.EnumType Type_SaddleStitching
@Deprecated public static final JDFNode.EnumType Type_ShapeCutting
@Deprecated public static final JDFNode.EnumType Type_Shrinking
@Deprecated public static final JDFNode.EnumType Type_SideSewing
@Deprecated public static final JDFNode.EnumType Type_SpinePreparation
@Deprecated public static final JDFNode.EnumType Type_SpineTaping
@Deprecated public static final JDFNode.EnumType Type_Stacking
@Deprecated public static final JDFNode.EnumType Type_Stitching
@Deprecated public static final JDFNode.EnumType Type_Strapping
@Deprecated public static final JDFNode.EnumType Type_StripBinding
@Deprecated public static final JDFNode.EnumType Type_ThreadSealing
@Deprecated public static final JDFNode.EnumType Type_ThreadSewing
@Deprecated public static final JDFNode.EnumType Type_Trimming
@Deprecated public static final JDFNode.EnumType Type_WireCombBinding
@Deprecated public static final JDFNode.EnumType Type_Wrapping
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_AnyInput
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_AnyOutput
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Any
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Rejected
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Accepted
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Marks
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Document
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Surface
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Waste
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Proof
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Input
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Plate
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Good
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Cover
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_BookBlock
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Box
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_CoverMaterial
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_SpineBoard
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_CoverBoard
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Case
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_FrontEndSheet
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_BackEndSheet
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Child
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Mother
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Jacket
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Book
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Label
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_RingBinder
@Deprecated public static final JDFNode.EnumProcessUsage ProcessUsage_Ancestor
public JDFNode(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String qualifiedName)
myOwnerDocument
- qualifiedName
- public JDFNode(org.apache.xerces.dom.CoreDocumentImpl myOwnerDocument, String myNamespaceURI, String qualifiedName)
myOwnerDocument
- myNamespaceURI
- qualifiedName
- protected AttributeInfo getTheAttributeInfo()
getTheAttributeInfo
in class JDFElement
protected ElementInfo getTheElementInfo()
getTheElementInfo
in class JDFElement
public String toString()
toString
in class JDFElement
Object.toString()
public boolean init()
public boolean isJDFRoot()
public VString linkNames()
@Deprecated public VString linkInfo()
public LinkInfoMap getLinkInfoMap()
@Deprecated public boolean setPartStatus(VJDFAttributeMap vmattr, JDFElement.EnumNodeStatus status)
vmattr
- vector Attribute maps of partitionstatus
- Status to setpublic boolean setPartStatus(VJDFAttributeMap vmattr, JDFElement.EnumNodeStatus status, String statusDetails)
vmattr
- vector Attribute maps of partitionstatus
- Status to setstatusDetails
- @Deprecated public boolean setPartStatus(JDFAttributeMap mattr, JDFElement.EnumNodeStatus status)
mattr
- Attribute map of partitionstatus
- Status to setpublic boolean setPartStatus(JDFAttributeMap mattr, JDFElement.EnumNodeStatus status, String statusDetails)
mattr
- Attribute map of partitionstatus
- Status to setstatusDetails
- public JDFElement.EnumNodeStatus getVectorPartStatus(VJDFAttributeMap vMap)
vMap
- the vevtor of partmapspublic String getVectorPartStatusDetails(VJDFAttributeMap vMap)
vMap
- the vevtor of partmaps@Deprecated public JDFElement.EnumNodeStatus getPartStatus(JDFAttributeMap mattr)
mattr
- Attribute map of partitionpublic JDFElement.EnumNodeStatus getPartStatus(JDFAttributeMap mattr, int method)
mattr
- Attribute map of partitionmethod
- : -1, 0 or 1; -1 min status; 0 equals, 1 max statuspublic String getPartStatusDetails(JDFAttributeMap mattr)
mattr
- Attribute map of partition@Deprecated public JDFDoc setPhase(JDFElement.EnumNodeStatus nodeStatus, String nodeStatusDetails, JDFAutoDeviceInfo.EnumDeviceStatus deviceStatus, String deviceStatusDetails, VJDFAttributeMap vPartMap)
nodeStatus
- the new status of the nodenodeStatusDetails
- the new statusDetails of the nodedeviceStatus
- the new status of the devicedeviceStatusDetails
- the new statusDetails of the devicevPartMap
- the vector of parts to that should be setpublic VJDFAttributeMap getStatusPartMapVector()
public VJDFAttributeMap getPartMapVector()
getPartMapVector
in class JDFElement
public VJDFAttributeMap getNodeInfoPartMapVector()
@Deprecated public JDFNode.EnumActivation getActivation()
public JDFNode.EnumActivation getActivation(boolean bWalkThroughAncestors)
bWalkThroughAncestors
- if true, walks through all ancestors which may overwrite the local activation state; if false only the explicit activation, if any, is returnedpublic void setActivation(JDFNode.EnumActivation bActive)
bActive
- the value to set the attribute topublic JDFResource getResource(String strName, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage, int i)
strName
- the resource nameusage
- the ResourceLink Usage, if null either in or out are acceptedprocessUsage
- i
- the nuber of matches to skip, if negative, count backwardspublic JDFResource getResourceRoot(String strName, JDFResourceLink.EnumUsage usage, int i)
strName
- the resource nameusage
- the ResourceLink Usage, if null either in or out are acceptedi
- the nuber of matches to skip, if negative, count backwardspublic JDFResource getResource(String strName, JDFResourceLink.EnumUsage usage, int i)
strName
- the resource nameusage
- the ResourceLink Usage, if null either in or out are acceptedi
- the nuber of matches to skip, if negative, count backwards@Deprecated public JDFResource getResource(String strName, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage, int i, String namespaceURI)
strName
- the resource name if strName has a prefix, the explicit DOM level 1 resource with prefix will be searchedusage
- the ResourceLink Usage, if null either in or out are acceptedprocessUsage
- the processUsage of the respective resourcei
- the nuber of matches to skip, if negative, count backwardsnamespaceURI
- if null and no prefix, assume JDF namespace, else correct lvl 2 handlingpublic JDFResource getCreateResource(String strName, JDFResourceLink.EnumUsage usage, String processUsage)
strName
- the resource name if strName has a prefix, the explicit DOM level 1 resource with prefix will be searchedusage
- the ResourceLink Usage, if null either in or out are acceptedprocessUsage
- the processUsage of the respective resourcepublic JDFResourceLink getLink(String strName, JDFResourceLink.EnumUsage usage, String processUsage)
strName
- the resource name if strName has a prefix, the explicit DOM level 1 resource with prefix will be searchedusage
- the ResourceLink Usage, if null either in or out are acceptedprocessUsage
- the processUsage of the respective resourcepublic JDFResourceLink getLink(String strName, JDFResourceLink.EnumUsage usage, String processUsage, String namespaceURI, int i)
strName
- the resource name if strName has a prefix, the explicit DOM level 1 resource with prefix will be searchedusage
- the ResourceLink Usage, if null either in or out are acceptedprocessUsage
- the processUsage of the respective resourcei
- the nuber of matches to skip, if negative, count backwardsnamespaceURI
- if null and no prefix, assume JDF namespace, else correct lvl 2 handlingpublic JDFResource getResource(String strName, JDFResourceLink.EnumUsage usage, String processUsage, String namespaceURI, int i)
strName
- the resource name if strName has a prefix, the explicit DOM level 1 resource with prefix will be searchedusage
- the ResourceLink Usage, if null either in or out are acceptedprocessUsage
- the processUsage of the respective resourcei
- the nuber of matches to skip, if negative, count backwardsnamespaceURI
- if null and no prefix, assume JDF namespace, else correct lvl 2 handlingpublic JDFResource getCreateResource(String strName, JDFResourceLink.EnumUsage usage, int i)
strName
- the resource nameusage
- the ResourceLink Usage, if null either in or out are acceptedi
- the nuber of matches to skip, if negative, count backwardsJDFException
- if resource does not exist and EnumUsage is null@Deprecated public JDFResource addResource(String strName, JDFResource.EnumResourceClass resClass, boolean bInput, JDFNode resRoot, boolean bLink, String nameSpaceURI)
strName
- the localname of the resourceresClass
- the JFD/@Class of the resource; if null, find from factorybInput
- if true, the resource is linked as input, else outputresRoot
- the node where to add the Resource, if null defaults to this. Note that the link is always in thisbLink
- if true, creat a ResourceLink to the newly created resourcenameSpaceURI
- the nsURI of the resource, if null take the default nspublic JDFResource addResource(String strName, JDFResourceLink.EnumUsage usage)
strName
- the localname of the resourceusage
- the Usage attribute of the ResourceLink. If null, the resource is not linkedpublic JDFResource addResource(String strName, JDFResource.EnumResourceClass resClass, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage, JDFNode resRoot, String nameSpaceURI, JDFResource toReplace)
strName
- the localname of the resourceresClass
- the JFD/@Class of the resource; if null, find the resource class from factoryusage
- the Usage attribute of the ResourceLink. If null, the resource is not linkedprocessUsage
- the processUsage attribute of the link to the resourceresRoot
- 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 nstoReplace
- the resource to replace by this - also add a resource audit@Deprecated public JDFResourceLink linkResource(JDFResource jdfResource, boolean input, boolean bForce)
jdfResource
- the resource or partition to link toinput
- it true, link as input, else link as outputbForce
- if true, create a new link, even if an existing link already existspublic JDFResourceLink linkResource(JDFResource jdfResource, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage)
jdfResource
- the resource or partition to link tousage
- Usage of the resourceprocessUsage
- processUsage of the resourcepublic JDFResourceLink ensureLink(JDFResource jdfResource, JDFResourceLink.EnumUsage usage, JDFNode.EnumProcessUsage processUsage)
jdfResource
- usage
- processUsage
- public JDFResourceLink ensureLinkPU(JDFResource jdfResource, JDFResourceLink.EnumUsage usage, String processUsage)
jdfResource
- the resource or partition to link tousage
- Usage of the resourceprocessUsage
- processUsage of the resourcepublic void ensureValidRefsPosition(JDFResource r)
r
- public void ensureValidResPosition(JDFResource res)
res
- @Deprecated public VElement getResourceLinks()
public VElement getResourceLinks(JDFAttributeMap mLinkAtt)
mLinkAtt
- the map of attributespublic VElement getLinkedResources(JDFAttributeMap mResAtt, boolean bFollowRefs)
mResAtt
- map of Resource attributes to search forbFollowRefs
- true if internal references shall be followed@Deprecated public VElement getUnlinkedResources(boolean bLocal)
bLocal
- if true, only in the local resourcepool, else also recurse into children@Deprecated public Vector getPredecessors(boolean bPre)
bPre
- if true get predecessors, if false get following nodespublic VElement getPredecessors(boolean bPre, boolean bDirect)
bPre
- if true get predecessors, if false get following nodesbDirect
- if true, only return the direct condidatespublic boolean isExecutable(JDFAttributeMap partMap, boolean bCheckChildren)
partMap
- bCheckChildren
- @Deprecated public JDFElement.EnumNodeStatus getProcessStatus(JDFAttributeMap mattr)
mattr
- public static boolean resourceTypeEqual(JDFResource res1, JDFResource res2)
res1
- first resourceres2
- second resourcepublic VElement getvJDFNode(String task, JDFNode.EnumActivation active, boolean bDirect)
task
- node typeactive
- Activation of the requested nodes, if null ignore activationbDirect
- if true, get direct children only, else recurse down the tree and include this, i.e. return a complete tree starting at this@Deprecated public Vector getvJDFNode(String task, boolean active)
task
- active
- @Deprecated public boolean isActive()
@Deprecated public boolean isActive(boolean bWalkThroughAnchestors)
bWalkThroughAnchestors
- public boolean fitsActivation(JDFNode.EnumActivation active, boolean bWalkThroughAncestors)
active
- bWalkThroughAncestors
- if true, walks through all anchestors which may overwrite the local activation state@Deprecated public void removeNode(boolean bLeaveSubmit)
bLeaveSubmit
- if true, leave a stub with id and status field@Deprecated public JDFNode addTask(String task, VString tasks)
task
- tasks
- @Deprecated public JDFNode addTask(String task)
task
- public void setType(JDFNode.EnumType typ)
typ
- the new type to set this topublic boolean setType(String newType, boolean checkName)
newType
- the new type to set this tocheckName
- if true, check whether this type exists and throw an exception if notJDFException
- if type is not a known JDF typepublic String getType()
public String getTypesString()
public boolean fixNiCi(JDFElement.EnumVersion version)
version
- target versionpublic boolean isValid(JDFElement.EnumValidationLevel level)
isValid
in class JDFElement
level
- validation levelpublic boolean hasInvalidLinks(JDFElement.EnumValidationLevel level)
level
- validation levelpublic VString getInvalidLinks(JDFElement.EnumValidationLevel level, int nMax)
level
- validation levelnMax
- max. size of the returned vectorpublic JDFNode.StatusSynch getStatusSynch()
@Deprecated public void updatePartStatus(VJDFAttributeMap vMap, boolean updateKids, boolean updateParents)
vMap
- the map of partitions to apply the update algorithm toupdateKids
- if true, also recursively update all kids, if false move to root without updating kidsupdateParents
- if true, recurse down to the root, updatimg the satus based on modifications in thispublic void updatePartStatus(VJDFAttributeMap vMap, boolean updateKids, boolean updateParents, int method)
vMap
- the map of partitions to apply the update algorithm toupdateKids
- if true, also recursively update all kids, if false move to root without updating kidsupdateParents
- if true, recurse down to the root, updatimg the satus based on modifications in thismethod
- : -1, 0 or 1; -1 min status; 0 equals, 1 max status@Deprecated public void upDateStatus()
public JDFNode getJobPart(NodeIdentifier nodeID)
nodeID
- the NodeIdentifier of the job partpublic JDFNode getJDF(int iSkip)
nodeID
- the NodeIdentifier of the job partpublic JDFNode getJobPart(String jobPartID, String jobID)
jobPartID
- the ID of the part jobjobID
- the ID of the jobpublic Collection<JDFResource> checkSpawnedResources(VString vRWResources, VJDFAttributeMap vSpawnParts)
vRWResources
- vector of resource names and Usage / ProcessUsage that are spawned as rw vSpawnParts
- vector of JDFAttributeMaps that describe the parts to spawnpublic HashSet<JDFElement> getAllRefs(HashSet<JDFElement> vDoneRefs, boolean bRecurse)
getAllRefs
in class JDFElement
vDoneRefs
- bRecurse
- if true, also return references linked from the resource pool directlypublic void setCombined(VString vCombiNodes)
vCombiNodes
- @Deprecated public Vector getCombinedTypes()
@Deprecated public JDFComponent addComponent(String cType, boolean bInput, JDFNode resRoot, boolean bLink)
cType
- bInput
- resRoot
- bLink
- public void setSpawnID(String value)
value
- the value to set the attribute to@Deprecated public JDFNode spawn(String parentURL, String spawnURL, VString vRWResources_in, VJDFAttributeMap vSpawnParts, boolean bSpawnROPartsOnly, boolean bCopyNodeInfo, boolean bCopyCustomerInfo, boolean bCopyComments)
parentURL
- spawnURL
- URL of the spawned JDF filevRWResources_in
- vector of resource names and Usage / ProcessUsage that are spawned as rw vSpawnParts
- vector of mAttributes that describe the parts to spawn, only valid PartIDKeys are allowedbSpawnROPartsOnly
- if true, only the parts of RO resources that are specified in vParts are spawned, else the complete resource is spawnedbCopyNodeInfo
- copy the NodeInfo elements into the AncestorsbCopyCustomerInfo
- copy the CustomerInfo elements into the AncestorsbCopyComments
- copy the Comment elements into the Ancestors@Deprecated public JDFNode spawnInformative(String parentURL, String spawnURL, VJDFAttributeMap vSpawnParts, boolean bSpawnROPartsOnly, boolean bCopyNodeInfo, boolean bCopyCustomerInfo, boolean bCopyComments)
parentURL
- spawnURL
- URL of the spawned JDF filevSpawnParts
- vector of mAttributes that describe the parts to spawnbSpawnROPartsOnly
- if true, only the parts of RO resources that are specified in vParts are spawned, else the complete resource is spawnedbCopyNodeInfo
- copy the NodeInfo elements into the AncestorsbCopyCustomerInfo
- copy the CustomerInfo elements into the AncestorsbCopyComments
- copy the Comment elements into the Ancestors@Deprecated public JDFNode unSpawn(String spawnID)
spawnID
- spawnID of the spawn to undopublic JDFNode mergeNode(JDFNode e, boolean bDelete)
e
- the node element to merge with the current nodebDelete
- if true KElement e will be deleted@Deprecated public JDFResourceLink getLink(JDFResource r, boolean bInput)
r
- the resource you are searching a link forbInput
- public JDFResourceLink getLink(JDFResource r, JDFResourceLink.EnumUsage usage)
r
- the resource you are searching a link forusage
- the usage attribute of the link. If null, both input and output resourelinks will be returnedpublic VElement getLinkedResourceVector(JDFResourceLink.EnumUsage usage, String resName, JDFNode.EnumProcessUsage procUsage, boolean expandLeaves)
usage
- resName
- procUsage
- expandLeaves
- if true expand to the lowest leavespublic JDFNode getRoot()
public VString getAncestorIDs()
@Deprecated public JDFNode getAncestorNode(int nSkip)
nSkip
- public String getAncestorAttribute(String attrib, String nameSpaceURI, String def)
attrib
- the element namenameSpaceURI
- the XML-namespacedef
- the default value, if there is no ancestor attributepublic boolean hasAncestorAttribute(String attrib, String nameSpaceURI)
attrib
- the attribute namenameSpaceURI
- the XML-namespacepublic boolean hasActivation(boolean bInherit)
bInherit
- recurse through ancestors and Ancestor elements of the AncestorPool when searching@Deprecated public boolean hasJobID(boolean bInherit)
bInherit
- recurse through ancestors and Ancestor elements of the AncestorPool when searchingpublic KElement getAncestorElement(String element, String nameSpaceURI)
element
- the attribute namenameSpaceURI
- the XML-namespace@Deprecated public boolean hasAncestorElement(String element, String nameSpaceURI)
element
- the attribute namenameSpaceURI
- the XML-namespace@Deprecated public JDFResource addParameter(String strName, boolean bInput, JDFNode resRoot, boolean bLink)
strName
- bInput
- resRoot
- bLink
- @Deprecated public JDFResource addConsumable(String strName, boolean bInput, JDFNode resRoot, boolean bLink)
strName
- bInput
- resRoot
- bLink
- @Deprecated public JDFResource addHandling(String strName, boolean bInput, JDFNode resRoot, boolean bLink)
strName
- bInput
- resRoot
- bLink
- public boolean isCombined()
public boolean isProduct()
public boolean isProcessGroup()
public boolean isGroupNode()
public boolean isTypesNode()
public String getIDPrefix()
getIDPrefix
in class KElement
public String getJobID(boolean bInherit)
bInherit
- recurse through ancestors when searching@Deprecated public String getJobPartID()
public String getJobPartID(boolean bInherit)
bInherit
- if true recurse through ancestors when searchingpublic void setJobPartID(String jobPartID)
jobPartID
- the value to set the attribute topublic void setJobID(String value)
value
- the value to set the attribute to@Deprecated public boolean hasStatusPool()
@Deprecated public String getSpawnID()
public String getSpawnID(boolean bInherit)
bInherit
- if true recurse through ancestors when searching@Deprecated public void removeSpawnID()
@Deprecated public void removeAncestorPool()
@Deprecated public JDFNode getParentJDFNode()
public JDFNode getParentJDF()
getParentJDF
in class JDFElement
public JDFNode getParentProduct()
@Deprecated public boolean hasType()
public boolean containsType(String type)
type
- the type to check forpublic VString getInsertLinkVector(int nMax)
nMax
- maximum size of the returned vector@Deprecated public JDFNode.EnumProcessUsage getEnumProcessUsage(String info, int i)
info
- the LinkInfo string for this namei
- the index of the pu to find@Deprecated public boolean hasAncestorPool()
@Deprecated public boolean hasProjectID(boolean bInherit)
bInherit
- recurse through ancestors when searching@Deprecated public boolean hasProjectID()
public void setProjectID(String strValue)
strValue
- the value to set the attribute topublic String getProjectID(boolean bInherit)
bInherit
- recurse through ancestors when searching@Deprecated public String getProjectID()
public boolean isValidLink(JDFElement.EnumValidationLevel level, JDFResourceLink rl)
level
- the checking levelrl
- the JDFResourceLink to checkdoneNameList
- Vector of IntegerdoneIndexList
- Vector of Integerpublic boolean isValidLink(String resName, JDFResourceLink.EnumUsage usage, String processUsage)
resName
- usage
- processUsage
- @Deprecated public VString getMissingLinks(int nMax)
nMax
- public VElement getMatchingLinks(String resName, boolean bLink, JDFNode.EnumProcessUsage processUsage)
resName
- of the resource to removebLink
- if false, returns the linked resources, else if true, returns the ResourceLink elementsprocessUsage
- enum that defines if all links matching the name or only those matching the name usage and/or processusage are requestedpublic VString getMissingLinkVector(int nMax)
nMax
- maximum size of the returned vector@Deprecated public JDFResource getMatchingResource(String resName, int processUsage, JDFAttributeMap partMap, int pos)
resName
- processUsage
- partMap
- pos
- public JDFResource getMatchingResource(String resName, JDFNode.EnumProcessUsage processUsage, JDFAttributeMap partMap, int pos)
resName
- of the resource to removeprocessUsage
- enum that defines if all links matching the name or only those matching the name usage and/or processusage are requestedpartMap
- pos
- the position of the link if multiple matching links existpublic JDFResourceLink getMatchingLink(String resName, JDFNode.EnumProcessUsage processUsage, int pos)
resName
- name of the resource to removeprocessUsage
- enum that defines if all links matching the name or only those matching the name usage and/or processusage are requestedpos
- the position of the link (if multiple matching links exist)public JDFResource appendMatchingResource(String resName, JDFResourceLink.EnumUsage usage)
resName
- the name of the resource to addusage
- the Usage of the resourcelink of the resource to add:
public JDFResource appendMatchingResource(String resName, JDFNode.EnumProcessUsage processUsage, JDFNode resourceRoot)
resName
- the name of the resource to addprocessUsage
- the processUsage of the resourcelink of the resource to add:
resourceRoot
- the root JDF node, that is the parent of the resourcepool where the resource should be added. If null, this node is assumed.public boolean removeMatchingLink(String resName, int processUsage, boolean bRemoveResource, int pos)
resName
- name of the resource to removeprocessUsage
- enum that defines if all links matching the name or only those matching the name usage and/or processusage are requestedbRemoveResource
- also remove the resource, if it is not linked by any other processpos
- the position of the link, if multiple matching links existpublic void removeLink(JDFResourceLink l, boolean bRemoveResource)
l
- bRemoveResource
- public boolean removeMatchingLinks(String resName, JDFNode.EnumProcessUsage processUsage, boolean bRemoveResource)
resName
- name of the resource to removeprocessUsage
- enum that defines if all links matching the name or only those matching the name usage and/or processusage are requestedbRemoveResource
- also remove the resource, if it is not linked by any other processpublic JDFResourceLink linkMatchingResource(JDFResource resource, JDFNode.EnumProcessUsage processUsage, JDFAttributeMap partMap)
resource
- the resource to linkprocessUsage
- enum that defines if all links matching the name or only those matching the name usage and/or processusage are requestedpartMap
- the Attribute map of partspublic int numMatchingLinks(String resName, boolean bLink, JDFNode.EnumProcessUsage processUsage)
resName
- name of the resources to matchbLink
- if false: returns the linked resources, if true: returns the ResourceLink elementsprocessUsage
- enum that defines if all links matching the name or only those matching the name usage and/or processusage are requestedpublic JDFAncestorPool getCreateAncestorPool()
public JDFAncestorPool appendAncestorPool()
public JDFAncestorPool getAncestorPool()
public JDFAuditPool getCreateAuditPool()
public JDFAuditPool appendAuditPool()
public JDFAuditPool getAuditPool()
public JDFCustomerInfo getCreateCustomerInfo()
public JDFCustomerInfo appendCustomerInfo()
public JDFCustomerInfo getCustomerInfo()
public NodeIdentifier getIdentifier()
getIdentifier
in interface INodeIdentifiable
public JDFNodeInfo getCreateNodeInfo()
public JDFNodeInfo appendNodeInfo()
public JDFNodeInfo appendNodeInfo(int combinedProcessIndex)
combinedProcessIndex
- the combinedprocessindex that must be explicitly specified in the linkJDFException
- if combinedProcessIndex is outside the legal range implied by @Typespublic JDFNodeInfo getNodeInfo(int combinedProcessIndex)
combinedProcessIndex
- the combinedprocessindex that must be explicitly specified in the linkpublic JDFNodeInfo getNodeInfo()
public JDFNodeInfo getInheritedNodeInfo(String xPath)
xPath
- the xPath to an element or attribute that must exist in the queried CustomerInfo@Deprecated public JDFNodeInfo getInheritedNodeInfo()
public void removeNodeInfo()
public void removeCustomerInfo()
@Deprecated public void removeNodeInfos()
@Deprecated public void removeCustomerInfos()
public void eraseUnlinkedResources()
@Deprecated public void removeFromTypes(String type, int iSkip)
type
- the typeiSkip
- the index of this type in the list of identical types - typically 0public void removeFromTypes(String type, int iSkip, boolean bRemoveEmptyLink)
type
- the typeiSkip
- the index of this type in the list of identical types - typically 0bRemoveEmptyLink
- if true, remove any reslinks that have no remaining combinedprocessindexpublic JDFResource removeResource(String nodeName, int iSkip)
nodeName
- the Nodename of the Resource "NodeInfo" for exampleiSkip
- number to skip before deleting@Deprecated public int numNodeInfos()
@Deprecated public int numCustomerInfos()
@Deprecated public boolean hasNodeInfo()
@Deprecated public boolean hasCustomerInfo()
public JDFResourceLinkPool getCreateResourceLinkPool()
public JDFResourceLinkPool appendResourceLinkPool()
public JDFResourceLinkPool getResourceLinkPool()
public JDFResourcePool getCreateResourcePool()
public JDFResourcePool appendResourcePool()
public JDFResourcePool getResourcePool()
public JDFStatusPool getCreateStatusPool()
public JDFStatusPool appendStatusPool()
public JDFStatusPool getStatusPool()
public JDFNode getChildJDFNode(String id, boolean bDirect)
id
- the id of the childbDirect
- if true, only direct children, else recurse down the treepublic boolean hasVersion(boolean bInherit)
bInherit
- recurse through ancestors and Ancestor elements of the AncestorPool when searching@Deprecated public void setVersion(String value)
value
- the value to set the attribute topublic JDFElement.EnumVersion getVersion(boolean bInherit)
getVersion
in class JDFElement
bInherit
- recurse through ancestors when searchingpublic JDFResourceAudit cloneResourceToModify(JDFResourceLink resLink)
resLink
- public JDFResourceAudit prepareToModifyLink(JDFResourceLink resLink)
resLink
- public VString getTypes()
public Vector<JDFNode.EnumType> getEnumTypes()
public int getCombinedProcessIndex(JDFNode.EnumType typ, int start)
typ
- the Type to search forstart
- the position to start searching at - generally 0public int getCombinedProcessIndex(String typ, int start)
typ
- the Type to search forstart
- the position to start searching at - generally 0public void addTypes(JDFNode.EnumType typ)
typ
- public VString getAllTypes()
JDFException
- if the tested JDFNode has an illegal combination of attribute 'Types' and child JDFNodespublic void setTypes(VString vCombiNodes)
vCombiNodes
- vector of typespublic VElement getLinksForCombinedProcessIndex(int combinedProcessIndex)
combinedProcessIndex
- the nTh occurence of the CombinedProcessIndex field, -1 if all valid positions are okpublic VElement getLinksForType(JDFNode.EnumType type, int nType)
type
- the process type for which to get the linksnType
- the nTh occurence of the Type field, -1 if all valid positions are okpublic JDFNode.EnumType getEnumType()
public void insertTypeInTypes(JDFNode.EnumType type, int beforePos)
type
- the process typebeforePos
- the position before which to add the in the list, 0 is first, ... -1 is before the last, very large is appendpublic VString getParentIds()
@Deprecated public JDFNode mergeJDF(JDFNode toMerge, String urlMerge, JDFNode.EnumCleanUpMerge cleanPolicy, JDFResource.EnumAmountMerge amountPolicy)
toMerge
- the previosly spawned jdf nodeurlMerge
- the url of the ???cleanPolicy
- how to clean up the spawn and merge audits after mergingamountPolicy
- how to clean up the Resource amounts after mergingtrue
.JDFException
- if toMerge has already been mergedJDFException
- if toMerge was not spawned from thisJDFException
- if toMerge has no AncestorPoolpublic boolean hasParent(JDFNode p)
p
- the node to check@Deprecated public int getMinID()
public int getMaxJobPartId(String idPrefix)
idPrefix
- public JDFNode addJDFNode(String typ)
typ
- type of JDFNode to addpublic JDFNode addJDFNode(JDFNode.EnumType typ)
typ
- enum type of JDFNode to add@Deprecated public JDFNode addProcess(String prodName)
prodName
- public JDFNode addProcessGroup(VString tasks)
tasks
- types of the processgrouppublic JDFNode addCombined(VString tasks)
tasks
- types of the node to addpublic JDFNode addProduct()
JDFException
- ith this is not a Product itself@Deprecated public boolean removeCompleted()
public VElement getCompleted()
public JDFResource getTargetResource(String id)
id
- the id of the resourcepublic String getAncestorElementAttribute(String element, String attrib, String nameSpaceURI, String def)
element
- attrib
- the attribute namenameSpaceURI
- the XML-namespacedef
- default value, if no matching attribute is foundpublic boolean hasAncestorElementAttribute(String element, String attrib, String nameSpaceURI)
element
- attrib
- the attribute namenameSpaceURI
- the XML-namespacepublic VElement getIntents()
public VElement getUnknownLinkVector(VString vInNameSpace, int nMax)
vInNameSpace
- list of namespaces where unknown Links are searched fornMax
- maximum size of the returned vectorpublic void setCategory(String value)
value
- the value to set the attribute topublic String getCategory()
@Deprecated public String getCategory(boolean bInherit)
bInherit
- public void setICSVersions(VString value)
value
- the value to set the attribute topublic VString getICSVersions(boolean bInherit)
bInherit
- if true recurse through ancestors when searchingpublic void setMaxVersion(JDFElement.EnumVersion enumVer)
enumVer
- the EnumVersion to set@Deprecated public void setMaxVersion(String value)
value
- the string version to set MaxVersion topublic JDFElement.EnumVersion getMaxVersion(boolean bInherit)
getMaxVersion
in class JDFElement
bInherit
- if true recurse through ancestors when searchingpublic void setNamedFeatures(VString value)
value
- the value to set the attribute topublic VString getNamedFeatures()
@Deprecated public VString GetNamedFeatures(boolean bInherit)
bInherit
- public void setRelatedJobID(String value)
value
- the value to set the attribute topublic String getRelatedJobID(boolean bInherit)
bInherit
- recurse through ancestors when searchingpublic void setRelatedJobPartID(String value)
value
- the value to set the attribute topublic String getRelatedJobPartID(boolean bInherit)
bInherit
- recurse through ancestors when searchingpublic void setStatusDetails(String value)
value
- the value to set the attribute topublic String getStatusDetails()
@Deprecated public String getStatusDetails(boolean bInherit)
bInherit
- public void setTemplate(boolean value)
value
- the value to set the attribute topublic boolean getTemplate()
public void setTemplateID(String value)
value
- the value to set the attribute topublic String getTemplateID(boolean bInherit)
bInherit
- recurse through ancestors when searchingpublic void setTemplateVersion(String value)
value
- the value to set the attribute topublic String getTemplateVersion(boolean bInherit)
bInherit
- recurse through ancestors when searchingpublic String getWorkStepID(JDFAttributeMap map)
map
- @Deprecated public JDFDuration getNodeInfoCleanupDuration()
@Deprecated public JDFAutoMISDetails.EnumCostType getNodeInfoCostType()
@Deprecated public JDFAutoNodeInfo.EnumDueLevel getNodeInfoDueLevel()
@Deprecated public JDFDate getNodeInfoEnd()
@Deprecated public JDFDate getNodeInfoFirstEnd()
@Deprecated public JDFDate getNodeInfoFirstStart()
@Deprecated public JDFXYPair getNodeInfoIPPVersion()
@Deprecated public int getNodeInfoJobPriority()
@Deprecated public JDFDate getNodeInfoLastEnd()
@Deprecated public JDFDate getNodeInfoLastStart()
@Deprecated public String getNodeInfoNaturalLang()
@Deprecated public String getNodeInfoRoute()
@Deprecated public JDFDuration getNodeInfoSetupDuration()
@Deprecated public JDFDate getNodeInfoStart()
@Deprecated public String getNodeInfoTargetRoute()
@Deprecated public JDFDuration getNodeInfoTotalDuration()
@Deprecated public JDFAutoMISDetails.EnumWorkType getNodeInfoWorkType()
@Deprecated public String getNodeInfoWorkTypeDetails()
@Deprecated public JDFBusinessInfo getNodeInfoBusinessInfo()
@Deprecated public JDFEmployee getNodeInfoEmployee()
@Deprecated public JDFJMF getNodeInfoJMF(int iSkip)
iSkip
- @Deprecated public JDFNotificationFilter getNodeInfoNotificationFilter(int iSkip)
iSkip
- public JDFCustomerInfo getInheritedCustomerInfo(String xPath)
xPath
- the the xPath to an element or attribute that must exist in the queried CustomerInfo@Deprecated public JDFCustomerInfo getInheritedCustomerInfo()
@Deprecated public String getCustomerInfoBillingCode()
@Deprecated public String getCustomerInfoCustomerID()
@Deprecated public String getCustomerInfoCustomerJobName()
@Deprecated public String getCustomerInfoCustomerOrderID()
@Deprecated public String getCustomerInfoCustomerProjectID()
@Deprecated public JDFCompany getCustomerInfoCompany()
@Deprecated public JDFContact getCustomerInfoContact(int iSkip)
iSkip
- @Deprecated public JDFCustomerMessage getCustomerInfoCustomerMessage(int iSkip)
iSkip
- public boolean isSuccessor(JDFNode proc)
proc
- node to check againsttrue
if this process is successor of given processpublic VString getResourceIDs(boolean isInput)
isInput
- true
to get input resource IDs.false
to get output resource IDs.@Deprecated public VJDFAttributeMap getExecutablePartitions(JDFResourceLink link, JDFResource res, JDFResource.EnumResStatus minStatus)
link
- the resource link.res
- the resource. (legacy dummy the resource is actually calculated from the link)minStatus
- minimum resource status to include.@Deprecated public VJDFAttributeMap getExecutablePartitions(JDFResourceLink link, JDFResource.EnumResStatus minStatus)
link
- minStatus
- public VJDFAttributeMap getExecutablePartitions(JDFResourceLink link, JDFResource.EnumResStatus minStatus, boolean bCheckNodeStatus)
link
- the resource link.minStatus
- minimum resource status to include.bCheckNodeStatus
- check node status.@Deprecated public JDFNode[] getProcessNodes()
public boolean isProcessNode()
true
if this is a process node.public JDFResource addInternalPipe(String resourceName, int indexOutput, int indexInput)
resourceName
- The name of the reource to createindexOutput
- the CombinedProcessIndex of the output ResourceLink to the internal pipeindexInput
- the CombinedProcessIndex of the input ResourceLink to the internal pipepublic VString getPartIDKeys(JDFAttributeMap partMap)
partMap
- the partmap to order. If not specified, use the output linkpublic VElement prepareNodeInfo(VJDFAttributeMap vSpawnParts)
vSpawnParts
- the list of parts@Deprecated public VElement getLinks(String linkName, JDFAttributeMap mLinkAtt, String linkNS)
linkName
- the name of the link including or excluding the "Link", If it is omitted, it will be addedmLinkAtt
- the attributes to search forlinkNS
- the namespace of the linkpublic VElement getResourceLinks(String linkName, JDFAttributeMap mLinkAtt, String linkNS)
linkName
- the name of the link including or excluding the "Link", If it is omitted, it will be addedmLinkAtt
- the resourcelink attributes to search forlinkNS
- the namespace of the linkpublic JDFResourceLink getLink(int index, String linkName, JDFAttributeMap mLinkAtt, String linkNS)
index
- the index of the matching linklinkName
- the name of the link including or excluding the "Link". If it is omitted, it will be added.mLinkAtt
- the attributes to search forlinkNS
- the namespace of the link@Deprecated public VElement getLinks(String linkName, String nameSpaceURI)
linkName
- defaults to anynameSpaceURI
- attribute namespace you are searching inpublic void sortChildren()
sortChildren
in class KElement
KElement.sortChildren()
public VElement getMatchingNodes(NodeIdentifier ni)
ni
- the Identifier to matchpublic void linkOutputs(JDFNode thePreviousNode)
thePreviousNode
- public void synchParentAmounts()
public void toGrayBox(boolean bExpand)
bExpand
- if true, create a parent gray box that wraps this, else simply rename thispublic void setIdentifier(NodeIdentifier ni)
setIdentifier
in interface INodeIdentifiable
ni
- INodeIdentifiable.setIdentifier(org.cip4.jdflib.node.NodeIdentifier)
public void setURL(String url)
IURLSetter
and automagically manipulate attatched commenturl filessetURL
in interface IURLSetter
url
- the URL to setIURLSetter.setURL(java.lang.String)
public String getURL()
IURLSetter
and automagically manipulate attatched commenturl filesgetURL
in interface IURLSetter
IURLSetter.getURL()
public String getUserFileName()
getUserFileName
in interface IURLSetter
public void setVersion(JDFElement.EnumVersion enumVer)
JDFElement
setVersion
in class JDFElement
enumVer
- the EnumVersion to setJDFElement.setVersion(org.cip4.jdflib.core.JDFElement.EnumVersion)
public static JDFNode parseFile(File file)
file
- public static JDFNode parseFile(String fileName)
fileName
- public static JDFNode parseStream(InputStream is)
is
- public static JDFNode createRoot()
Copyright © 2018. All rights reserved.