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 |
|---|---|
<P,R> R |
accept(AssociationDecl.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) |
static 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)
<P,R> R accept(AssociationDecl.Visitor<P,R> visitor, P par)