wt.csm.navigation
Class ClassificationNodeObjectLocator

java.lang.Object
  extended bywt.csm.navigation.ClassificationNodeObjectLocator
All Implemented Interfaces:
ObjectLocator

public class ClassificationNodeObjectLocator
extends Object
implements ObjectLocator


Field Summary
static String CASCADE
           
private static String SERVICE_NAME
           
static String VECTOR
           
private static boolean VERBOSE
           
 
Constructor Summary
ClassificationNodeObjectLocator()
           
 
Method Summary
 IBAReferenceable getClassificationNodeByHierarchyID(String nodeName, String classStructureName)
           
 IBAReferenceable getClassificationNodeByHierarchyIDWithStructOI(String nodeName, ObjectIdentifier oi)
           
static ClassificationNode getClassificationNodeByPath(String nodePathNames, ClassificationStruct classStruct)
           
 Object getClassificationNodes(ObjectIdentifier oi)
           
 Object getClassificationNodesByName(String nodeName)
           
 ObjectIdentifier getClassificationStructureObjectIdentifier(String classStructureName)
           
 Object getDescendents(ClassificationNode root, String hierarchyID)
           
 Object locate(String identifier)
          Given a search criteria, return IBAReference(ONE) for LoadValue.java.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ClassificationNodeObjectLocator

public ClassificationNodeObjectLocator()
Method Detail

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)