Tuscany Core

org.apache.tuscany.core.context
Class QualifiedName

java.lang.Object
  extended by org.apache.tuscany.core.context.QualifiedName

public class QualifiedName
extends Object

An evaluated name consisting of a part/port pair. In the runtime, a part generally 'contains' or 'provides' ports such as a module component/entry point or a component/service pair.

Version:
$Rev: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $

Field Summary
static String NAME_SEPARATOR
           
 
Constructor Summary
QualifiedName(String qualifiedName)
          Constructs a new qualified name in the form of part/port where part is the parent context and port represents a child, which is either a service in the case of an atomic context or a contained context in the case of a composite.
 
Method Summary
 String getPartName()
          Returns the parsed part name
 String getPortName()
          Returns the parsed port name if the original is of the compound for part/port
 String getQualifiedName()
          Returns the full part/port name pair
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME_SEPARATOR

public static final String NAME_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

QualifiedName

public QualifiedName(String qualifiedName)
              throws InvalidNameException
Constructs a new qualified name in the form of part/port where part is the parent context and port represents a child, which is either a service in the case of an atomic context or a contained context in the case of a composite.

Throws:
InvalidNameException - if the name is in an invalid format
Method Detail

getPartName

public String getPartName()
Returns the parsed part name


getPortName

public String getPortName()
Returns the parsed port name if the original is of the compound for part/port


getQualifiedName

public String getQualifiedName()
Returns the full part/port name pair


toString

public String toString()
Overrides:
toString in class Object

Tuscany Core

-