com.metamatrix.metadata.runtime.util
Class RuntimeIDParser

java.lang.Object
  extended by com.metamatrix.metadata.runtime.util.RuntimeIDParser

public class RuntimeIDParser
extends java.lang.Object

The RuntimeIDParser provides static methods to obtain specific information from a fully qualfied name. This would include asking for the path, group name, or data source name.


Constructor Summary
RuntimeIDParser()
           
 
Method Summary
static java.lang.String getGroupFullName(MetadataID id)
          Returns the fully qualified group name for the given id.
static java.lang.String getGroupName(MetadataID id)
          Returns the group name for the given id.
static java.lang.String getPath(MetadataID id)
          Returns the path for the given id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeIDParser

public RuntimeIDParser()
Method Detail

getPath

public static java.lang.String getPath(MetadataID id)
Returns the path for the given id. If no path then an empty String is returned.

Parameters:
MetadataID - id to be parsed.
Returns:
String path of the id.

getGroupName

public static java.lang.String getGroupName(MetadataID id)
Returns the group name for the given id.

Parameters:
MetadataID - id to be parsed.
Returns:
String group name of the id.

getGroupFullName

public static java.lang.String getGroupFullName(MetadataID id)
Returns the fully qualified group name for the given id.

Parameters:
MetadataID - id to be parsed.
Returns:
String group name of the id.


Copyright © 2009. All Rights Reserved.