Dresden OCL Toolkit

tudresden.ocl.lib
Class SimpleNameAdapter

java.lang.Object
  extended bytudresden.ocl.lib.SimpleNameAdapter
All Implemented Interfaces:
NameAdapter

public class SimpleNameAdapter
extends Object
implements NameAdapter


Constructor Summary
SimpleNameAdapter()
           
 
Method Summary
 String[] getNames(String name)
          This operation takes a name as found in an OCL expression ("person" in the example above) and returns an array of possible representation names, propably including the OCL name itself, sorted for priority.
 String[] getPossibleAssociationNames(String name)
          This method is used to reconvert implementation names into possible names of the corresponding association ends.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleNameAdapter

public SimpleNameAdapter()
Method Detail

getNames

public String[] getNames(String name)
Description copied from interface: NameAdapter
This operation takes a name as found in an OCL expression ("person" in the example above) and returns an array of possible representation names, propably including the OCL name itself, sorted for priority.

Specified by:
getNames in interface NameAdapter

getPossibleAssociationNames

public String[] getPossibleAssociationNames(String name)
Description copied from interface: NameAdapter
This method is used to reconvert implementation names into possible names of the corresponding association ends.

Specified by:
getPossibleAssociationNames in interface NameAdapter

toString

public String toString()

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.