public class AstAbstractClafer extends AstClafer
claferClafer
Modifier and Type | Method and Description |
---|---|
AstAbstractClafer |
extending(AstAbstractClafer superClafer)
Set the supertype of this Clafer.
|
List<AstClafer> |
getSubs()
Returns the Clafers that extend this Clafer
|
AstAbstractClafer |
refTo(AstClafer targetType)
Set this Clafer's reference to target type.
|
AstAbstractClafer |
refToUnique(AstClafer targetType)
Set this Clafer's reference to target type along with a uniqueness
constraint.
|
String |
toString() |
AstAbstractClafer |
withGroupCard(Card groupCard)
Set this Clafer's group cardinality.
|
AstAbstractClafer |
withGroupCard(int low)
Set this Clafer's low group cardinality and set the high group
cardinality to unbounded.
|
AstAbstractClafer |
withGroupCard(int low,
int high)
Set this Clafer's group cardinality.
|
addChild, addConstraint, equals, getChildren, getConstraints, getGroupCard, getName, getRef, getSuperClafer, hasChildren, hasConstraints, hashCode, hasRef, hasSuperClafer
public AstAbstractClafer withGroupCard(Card groupCard)
withGroupCard
in class AstClafer
groupCard
- the group cardinalitypublic AstAbstractClafer withGroupCard(int low)
withGroupCard
in class AstClafer
low
- the low group cardinalitypublic AstAbstractClafer withGroupCard(int low, int high)
withGroupCard
in class AstClafer
low
- the low group cardinalityhigh
- the high group cardinalitypublic List<AstClafer> getSubs()
public AstAbstractClafer extending(AstAbstractClafer superClafer)
public AstAbstractClafer refTo(AstClafer targetType)
public AstAbstractClafer refToUnique(AstClafer targetType)
refToUnique
in class AstClafer
targetType
- the type to refer toCopyright © 2013. All Rights Reserved.