public interface AssociationDecl extends Decl
| Modifier and Type | Interface and Description |
|---|---|
static class |
AssociationDecl.Impl |
static interface |
AssociationDecl.Visitor<P,R> |
| Modifier and Type | Method and Description |
|---|---|
default <P,R> R |
accept(AssociationDecl.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Decl.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Node.Visitor<P,R> visitor,
P par) |
default <P,R> R |
accept(Positioned.Visitor<P,R> visitor,
P par) |
int |
getCardinality() |
java.lang.String |
getName() |
AssociationDecl |
getOther() |
ClassDecl |
getOwner() |
ClassDecl |
getTarget() |
Type |
getType() |
static AssociationDecl |
of(ClassDecl owner,
java.lang.String name,
int cardinality,
ClassDecl target,
Type type,
AssociationDecl other) |
void |
setCardinality(int cardinality) |
void |
setName(java.lang.String name) |
void |
setOther(AssociationDecl other) |
void |
setOwner(ClassDecl owner) |
void |
setTarget(ClassDecl target) |
void |
setType(Type type) |
getPosition, of, setPositionstatic AssociationDecl of(ClassDecl owner, java.lang.String name, int cardinality, ClassDecl target, Type type, AssociationDecl other)
ClassDecl getOwner()
void setOwner(ClassDecl owner)
int getCardinality()
void setCardinality(int cardinality)
ClassDecl getTarget()
void setTarget(ClassDecl target)
AssociationDecl getOther()
void setOther(AssociationDecl other)
default <P,R> R accept(AssociationDecl.Visitor<P,R> visitor, P par)
default <P,R> R accept(Decl.Visitor<P,R> visitor, P par)
default <P,R> R accept(Positioned.Visitor<P,R> visitor, P par)
accept in interface Declaccept in interface Positioneddefault <P,R> R accept(Node.Visitor<P,R> visitor, P par)