Dresden OCL Toolkit

tudresden.ocl.check.types.xmifacade
Class ModelAssociationEnd

java.lang.Object
  extended bytudresden.ocl.check.types.xmifacade.ModelAssociationEnd

public class ModelAssociationEnd
extends Object

Encapsulates an association end. Needed only during parsing.


Field Summary
(package private)  boolean isMultiple
          Is more than one member allowed.
(package private)  ModelClass modelclass
           
(package private)  String name
           
(package private)  boolean othersAreMultiple
           
(package private)  Type[] qualifiers
           
(package private)  Type type
           
 
Constructor Summary
ModelAssociationEnd(String name, ModelClass modelclass, String multiplicity, boolean isOrdered, Type[] qualifiers)
           
 
Method Summary
 ModelClass getModelClass()
           
 String getName()
           
 boolean isMultiple()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

String name

modelclass

ModelClass modelclass

type

Type type

qualifiers

Type[] qualifiers

isMultiple

boolean isMultiple
Is more than one member allowed.


othersAreMultiple

boolean othersAreMultiple
Constructor Detail

ModelAssociationEnd

public ModelAssociationEnd(String name,
                           ModelClass modelclass,
                           String multiplicity,
                           boolean isOrdered,
                           Type[] qualifiers)
Method Detail

getModelClass

public ModelClass getModelClass()
Returns:
the model class of the association end.

isMultiple

public boolean isMultiple()
Returns:
true if the association end is multiple, false otherwise

getName

public String getName()
Returns:
the name of the association end

Dresden OCL Toolkit

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