public static class AssociationDecl.Impl extends java.lang.Object implements AssociationDecl
AssociationDecl.Impl, AssociationDecl.Visitor<P,R>| Constructor and Description |
|---|
Impl() |
Impl(ClassDecl owner,
java.lang.String name,
int cardinality,
ClassDecl target,
Type type,
AssociationDecl other) |
| Modifier and Type | Method and Description |
|---|---|
<P,R> R |
accept(AssociationDecl.Visitor<P,R> visitor,
P par) |
<P,R> R |
accept(Decl.Visitor<P,R> visitor,
P par) |
<P,R> R |
accept(Node.Visitor<P,R> visitor,
P par) |
int |
getCardinality() |
java.lang.String |
getName() |
AssociationDecl |
getOther() |
ClassDecl |
getOwner() |
ClassDecl |
getTarget() |
Type |
getType() |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitofpublic Impl()
public Impl(ClassDecl owner, java.lang.String name, int cardinality, ClassDecl target, Type type, AssociationDecl other)
public ClassDecl getOwner()
getOwner in interface AssociationDeclpublic void setOwner(ClassDecl owner)
setOwner in interface AssociationDeclpublic java.lang.String getName()
getName in interface AssociationDeclgetName in interface Declpublic void setName(java.lang.String name)
setName in interface AssociationDeclsetName in interface Declpublic int getCardinality()
getCardinality in interface AssociationDeclpublic void setCardinality(int cardinality)
setCardinality in interface AssociationDeclpublic ClassDecl getTarget()
getTarget in interface AssociationDeclpublic void setTarget(ClassDecl target)
setTarget in interface AssociationDeclpublic Type getType()
getType in interface AssociationDeclgetType in interface Declpublic void setType(Type type)
setType in interface AssociationDeclsetType in interface Declpublic AssociationDecl getOther()
getOther in interface AssociationDeclpublic void setOther(AssociationDecl other)
setOther in interface AssociationDeclpublic <P,R> R accept(AssociationDecl.Visitor<P,R> visitor, P par)
accept in interface AssociationDeclpublic <P,R> R accept(Decl.Visitor<P,R> visitor, P par)
public <P,R> R accept(Node.Visitor<P,R> visitor, P par)