org.eclipse.epsilon.epl
Class Cardinality
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.epl.Cardinality
- All Implemented Interfaces:
- ModuleElement
public class Cardinality
- extends AbstractModuleElement
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNBOUNDED
public static final int UNBOUNDED
- See Also:
- Constant Field Values
Cardinality
public Cardinality(AST ast)
Cardinality
public Cardinality(int lowerBound,
int upperBound)
getUpperBound
public int getUpperBound()
getLowerBound
public int getLowerBound()
isUnbounded
public boolean isUnbounded()
isMany
public boolean isMany()
isOne
public boolean isOne()
isInBounds
public boolean isInBounds(int n)
getChildren
public java.util.List<?> getChildren()