Package org.cip4.jdflib.resource
Class JDFResource.PartitionGetter
java.lang.Object
org.cip4.jdflib.resource.PartitionGetter
org.cip4.jdflib.resource.JDFResource.PartitionGetter
- Enclosing class:
- JDFResource
Deprecated.
- use the local file type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPartition(JDFResource.EnumPartIDKey partType, String value) Deprecated.getCreatePartition(JDFAttributeMap partMap, VString vPartKeys) Deprecated.Recursively adds the partition leaves defined in partMapprotected JDFResourcegetDeepPart(JDFAttributeMap m, JDFResource.EnumPartUsage partUsage) Deprecated.Gets a matching part from somewhere down there,
returns the closest ancestor of all matching elements within the target vectorgetPartition(JDFAttributeMap m, JDFResource.EnumPartUsage partUsage) Deprecated.Gets the first part that matches mAttributegetPartitionMaps(VJDFAttributeMap vm, JDFResource.EnumPartUsage partUsage) Deprecated.Gets the vector of parts (resource leaves or nodes) that match mAttributegetPartitionVector(JDFAttributeMap m, JDFResource.EnumPartUsage partUsage) Deprecated.Gets the vector of parts (resource leaves or nodes) that match mAttributegetPartitionVector(VJDFAttributeMap vm, JDFResource.EnumPartUsage partUsage) Deprecated.Gets the vector of parts (resource leaves or nodes) that match mAttributebooleanDeprecated.Getter for followIdentical attribute.voidsetFollowIdentical(boolean followIdentical) Deprecated.Setter for followIdentical attribute.voidsetStrictPartVersion(boolean strictPartVersion) Deprecated.if set to true, partversion will only match if the string matches exactly
if set to false (the default) partversions will match if tokens overlaptoString()Deprecated.Methods inherited from class org.cip4.jdflib.resource.PartitionGetter
createPartitions, fillSparse, isAlwaysStrictPartVersion, isStrictPartVersion, reorderPartitions, setAlwaysStrictPartVersion
-
Constructor Details
-
PartitionGetter
public PartitionGetter()Deprecated.
-
-
Method Details
-
toString
Deprecated.- Overrides:
toStringin classPartitionGetter- See Also:
-
isFollowIdentical
public boolean isFollowIdentical()Deprecated.Description copied from class:PartitionGetterGetter for followIdentical attribute.- Overrides:
isFollowIdenticalin classPartitionGetter- Returns:
- the followIdentical
-
setFollowIdentical
public void setFollowIdentical(boolean followIdentical) Deprecated.Description copied from class:PartitionGetterSetter for followIdentical attribute.- Overrides:
setFollowIdenticalin classPartitionGetter- Parameters:
followIdentical- the followIdentical to set
-
getPartitionVector
Deprecated.Description copied from class:PartitionGetterGets the vector of parts (resource leaves or nodes) that match mAttribute- Overrides:
getPartitionVectorin classPartitionGetter- Parameters:
vm- the map of key-value partitions (where key - PartIDKey, value - its value)partUsage- also accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified- Returns:
- VElement - the vector of matching resource leaves or nodes
-
getPartitionMaps
Deprecated.Description copied from class:PartitionGetterGets the vector of parts (resource leaves or nodes) that match mAttribute- Overrides:
getPartitionMapsin classPartitionGetter- Parameters:
vm- the map of key-value partitions (where key - PartIDKey, value - its value)partUsage- also accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified- Returns:
- VElement - the vector of matching resource leaves or nodes
-
getPartitionVector
Deprecated.Description copied from class:PartitionGetterGets the vector of parts (resource leaves or nodes) that match mAttribute- Overrides:
getPartitionVectorin classPartitionGetter- Parameters:
m- the map of key-value partitions (where key - PartIDKey, value - its value)partUsage- also accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified- Returns:
- VElement - the vector of matching resource leaves or nodes
-
getPartition
Deprecated.Description copied from class:PartitionGetterGets the first part that matches mAttribute- Overrides:
getPartitionin classPartitionGetter- Parameters:
m- the map of key-value partitions (where key - PartIDKey, value - its value)partUsage- also accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified- Returns:
- JDFResource: the first matching resource leaf or node
-
getDeepPart
Deprecated.Description copied from class:PartitionGetterGets a matching part from somewhere down there,
returns the closest ancestor of all matching elements within the target vector- Overrides:
getDeepPartin classPartitionGetter- Parameters:
m- map of attributes that should fitpartUsage- lso accept nodes that are are not completely specified in the partmap, e.g. if partitioned by run, RunPage and only Run is specified- Returns:
- the first found matching resource node or leaf
-
getCreatePartition
Deprecated.Description copied from class:PartitionGetterRecursively adds the partition leaves defined in partMap- Overrides:
getCreatePartitionin classPartitionGetter- Parameters:
partMap- the map of part keysvPartKeys- the vector of partIDKeys strings of the resource. If empty (the default), the Resource PartIDKeys attribute is used- Returns:
- JDFResource the last created partition leaf
-
addPartition
Deprecated. -
setStrictPartVersion
public void setStrictPartVersion(boolean strictPartVersion) Deprecated.Description copied from class:PartitionGetterif set to true, partversion will only match if the string matches exactly
if set to false (the default) partversions will match if tokens overlap- Overrides:
setStrictPartVersionin classPartitionGetter
-