Dresden OCL Toolkit

tudresden.ocl.check.types
Class Multiplicity

java.lang.Object
  extended bytudresden.ocl.check.types.Multiplicity

public class Multiplicity
extends Object


Field Summary
static int INFINITE
           
protected  int max
           
protected  int min
           
static Multiplicity ONE_TO_INF
           
static Multiplicity STANDARD
           
static Multiplicity ZERO_OR_ONE
           
static Multiplicity ZERO_TO_INF
           
 
Constructor Summary
Multiplicity(int min, int max)
           
 
Method Summary
 int getMax()
           
 int getMin()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

min

protected int min

max

protected int max

INFINITE

public static int INFINITE

STANDARD

public static Multiplicity STANDARD

ZERO_TO_INF

public static Multiplicity ZERO_TO_INF

ONE_TO_INF

public static Multiplicity ONE_TO_INF

ZERO_OR_ONE

public static Multiplicity ZERO_OR_ONE
Constructor Detail

Multiplicity

public Multiplicity(int min,
                    int max)
Method Detail

getMax

public int getMax()

getMin

public int getMin()

Dresden OCL Toolkit

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