org.eclipse.ocl.examples.modelregistry.model
Interface Accessor<A extends Accessor<A>>

All Known Implementing Classes:
AbstractAccessor, ModelNameAccessor, UnregisteredAccessor, URIAccessor

public interface Accessor<A extends Accessor<A>>

An Accessor defines a name and associated namespace by which models can be accessed in the model registry. The derived class defines the namespace and should return a distinctive value as getNameSpace().


Nested Class Summary
static interface Accessor.Installer<A extends Accessor<A>>
           
static interface Accessor.Namespace<A extends Accessor<A>>
           
 
Method Summary
 java.lang.String getName()
          Return the name that is accessed.
 Accessor.Namespace<A> getNamespace()
          Return the namespace of this accessor.
 

Method Detail

getName

java.lang.String getName()
Return the name that is accessed.

Returns:
the accessed name

getNamespace

Accessor.Namespace<A> getNamespace()
Return the namespace of this accessor.

Returns:
the accessor namespace