org.eclipse.gmt.umlx.registry.model
Class UnregisteredAccessor

java.lang.Object
  extended by org.eclipse.gmt.umlx.registry.model.UnregisteredAccessor
All Implemented Interfaces:
Accessor

public class UnregisteredAccessor
extends java.lang.Object
implements Accessor

An UnregisteredAccessor defines a key to access model registry entries by an unregistered accessor kind.


Constructor Summary
UnregisteredAccessor(java.lang.String kind, java.lang.String name)
           
 
Method Summary
 java.lang.String getKind()
          Return the name by which this kind of accessor is known.
 java.lang.String getName()
          Return the name that is accessed.
 Accessor newInstance(java.lang.String name)
          Create a new accessor of this kind for a name
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnregisteredAccessor

public UnregisteredAccessor(java.lang.String kind,
                            java.lang.String name)
Method Detail

getKind

public java.lang.String getKind()
Description copied from interface: Accessor
Return the name by which this kind of accessor is known.

Specified by:
getKind in interface Accessor
Returns:
the human friendly accessor class name

getName

public java.lang.String getName()
Description copied from interface: Accessor
Return the name that is accessed.

Specified by:
getName in interface Accessor
Returns:
the accessed name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

newInstance

public Accessor newInstance(java.lang.String name)
                     throws java.lang.Exception
Description copied from interface: Accessor
Create a new accessor of this kind for a name

Specified by:
newInstance in interface Accessor
Returns:
the accessor for name
Throws:
java.lang.Exception