tudresden.ocl.lib
Class SimpleNameAdapter
java.lang.Object
tudresden.ocl.lib.SimpleNameAdapter
- All Implemented Interfaces:
- NameAdapter
- public class SimpleNameAdapter
- extends Object
- implements NameAdapter
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()
|
SimpleNameAdapter
public SimpleNameAdapter()
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()
Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.