public abstract class AstPrimClafer extends AstClafer
claferClafer| Modifier and Type | Method and Description | 
|---|---|
AstConcreteClafer | 
addChild(String name)
Add a new concrete child under this Clafer. 
 | 
AstConstraint | 
addConstraint(AstBoolExpr constraint)
Add a new constraint under this Clafer. 
 | 
AstClafer | 
extending(AstAbstractClafer superClafer)
Set the supertype of this Clafer. 
 | 
AstClafer | 
refTo(AstClafer targetType)
Set this Clafer's reference to target type. 
 | 
AstClafer | 
refToUnique(AstClafer targetType)
Set this Clafer's reference to target type along with a uniqueness
 constraint. 
 | 
AstConcreteClafer | 
withGroupCard(Card groupCard)
Set this Clafer's group cardinality. 
 | 
equals, getChildren, getConstraints, getGroupCard, getName, getRef, getSuperClafer, hasChildren, hasConstraints, hashCode, hasRef, hasSuperClafer, toString, withGroupCard, withGroupCardpublic AstClafer extending(AstAbstractClafer superClafer)
public AstClafer refToUnique(AstClafer targetType)
refToUnique in class AstClafertargetType - the type to refer topublic AstConcreteClafer withGroupCard(Card groupCard)
withGroupCard in class AstClafergroupCard - the group cardinalitypublic AstConcreteClafer addChild(String name)
public AstConstraint addConstraint(AstBoolExpr constraint)
addConstraint in class AstClaferconstraint - a tautologyCopyright © 2013. All Rights Reserved.