Package org.fulib.scenarios.ast.decl
Interface AssociationDecl
-
- All Superinterfaces:
Decl,Node,Positioned
- All Known Implementing Classes:
AssociationDecl.Impl
public interface AssociationDecl extends Decl
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAssociationDecl.Implstatic interfaceAssociationDecl.Visitor<P,R>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <P,R>
Raccept(AssociationDecl.Visitor<P,R> visitor, P par)default <P,R>
Raccept(Decl.Visitor<P,R> visitor, P par)default <P,R>
Raccept(Node.Visitor<P,R> visitor, P par)default <P,R>
Raccept(Positioned.Visitor<P,R> visitor, P par)intgetCardinality()java.lang.StringgetName()AssociationDeclgetOther()ClassDeclgetOwner()ClassDeclgetTarget()TypegetType()static AssociationDeclof(ClassDecl owner, java.lang.String name, int cardinality, ClassDecl target, Type type, AssociationDecl other)voidsetCardinality(int cardinality)voidsetName(java.lang.String name)voidsetOther(AssociationDecl other)voidsetOwner(ClassDecl owner)voidsetTarget(ClassDecl target)voidsetType(Type type)-
Methods inherited from interface org.fulib.scenarios.ast.Positioned
getPosition, setPosition
-
-
-
-
Method Detail
-
of
static AssociationDecl of(ClassDecl owner, java.lang.String name, int cardinality, ClassDecl target, Type type, AssociationDecl other)
-
getOwner
ClassDecl getOwner()
-
setOwner
void setOwner(ClassDecl owner)
-
getCardinality
int getCardinality()
-
setCardinality
void setCardinality(int cardinality)
-
getTarget
ClassDecl getTarget()
-
setTarget
void setTarget(ClassDecl target)
-
getOther
AssociationDecl getOther()
-
setOther
void setOther(AssociationDecl other)
-
accept
default <P,R> R accept(AssociationDecl.Visitor<P,R> visitor, P par)
-
accept
default <P,R> R accept(Decl.Visitor<P,R> visitor, P par)
-
accept
default <P,R> R accept(Positioned.Visitor<P,R> visitor, P par)
- Specified by:
acceptin interfaceDecl- Specified by:
acceptin interfacePositioned
-
accept
default <P,R> R accept(Node.Visitor<P,R> visitor, P par)
-
-