wt.csm.navigation
Class ClassificationNodeObjectLocator
java.lang.Object
wt.csm.navigation.ClassificationNodeObjectLocator
- All Implemented Interfaces:
- ObjectLocator
- public class ClassificationNodeObjectLocator
- extends Object
- implements ObjectLocator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_NAME
private static final String SERVICE_NAME
- See Also:
- Constant Field Values
VERBOSE
private static final boolean VERBOSE
CASCADE
public static final String CASCADE
- See Also:
- Constant Field Values
VECTOR
public static final String VECTOR
- See Also:
- Constant Field Values
ClassificationNodeObjectLocator
public ClassificationNodeObjectLocator()
locate
public Object locate(String identifier)
- Given a search criteria, return IBAReference(ONE) for LoadValue.java. Return Vector for Exporter.
- Specified by:
locate
in interface ObjectLocator
- Parameters:
identifier
- is a search criteria
if the search criteria is null, return all classification structures and all classification nodes associated to the struct.
if the search criteria contains structure name only, return this structure with its associated nodes.
if the search criteria contains node name only, return all nodes with the same name; does not matter which structure.
if the search criteria contains structure name and node name, return this node only.
if the search criteria contains structure name and node name and a key word 'Cascade', return this node and all of its descendents.
if the search criteria contains structure name and node name and a key word 'Vector', return this node only but wrapped in a Vector.
- Returns:
- Object(s)
getClassificationNodesByName
public Object getClassificationNodesByName(String nodeName)
getClassificationNodes
public Object getClassificationNodes(ObjectIdentifier oi)
getClassificationNodeByPath
public static ClassificationNode getClassificationNodeByPath(String nodePathNames,
ClassificationStruct classStruct)
getClassificationStructureObjectIdentifier
public ObjectIdentifier getClassificationStructureObjectIdentifier(String classStructureName)
getClassificationNodeByHierarchyID
public IBAReferenceable getClassificationNodeByHierarchyID(String nodeName,
String classStructureName)
getDescendents
public Object getDescendents(ClassificationNode root,
String hierarchyID)
getClassificationNodeByHierarchyIDWithStructOI
public IBAReferenceable getClassificationNodeByHierarchyIDWithStructOI(String nodeName,
ObjectIdentifier oi)