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, hasSuperClaferpublic AstAbstractClafer withGroupCard(Card groupCard)
withGroupCard in class AstClafergroupCard - the group cardinalitypublic AstAbstractClafer withGroupCard(int low)
withGroupCard in class AstClaferlow - the low group cardinalitypublic AstAbstractClafer withGroupCard(int low, int high)
withGroupCard in class AstClaferlow - 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 AstClafertargetType - the type to refer toCopyright © 2013. All Rights Reserved.