Package org.fulib.scenarios.ast.decl
Class AssociationDecl.Impl
- java.lang.Object
-
- org.fulib.scenarios.ast.Positioned.Impl
-
- org.fulib.scenarios.ast.decl.AssociationDecl.Impl
-
- All Implemented Interfaces:
AssociationDecl,Decl,Node,Positioned
- Enclosing interface:
- AssociationDecl
public static class AssociationDecl.Impl extends Positioned.Impl implements AssociationDecl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.fulib.scenarios.ast.decl.AssociationDecl
AssociationDecl.Impl, AssociationDecl.Visitor<P,R>
-
Nested classes/interfaces inherited from interface org.fulib.scenarios.ast.Positioned
Positioned.Impl, Positioned.Visitor<P,R>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCardinality()java.lang.StringgetName()AssociationDeclgetOther()ClassDeclgetOwner()ClassDeclgetTarget()TypegetType()voidsetCardinality(int cardinality)voidsetName(java.lang.String name)voidsetOther(AssociationDecl other)voidsetOwner(ClassDecl owner)voidsetTarget(ClassDecl target)voidsetType(Type type)-
Methods inherited from class org.fulib.scenarios.ast.Positioned.Impl
getPosition, setPosition
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fulib.scenarios.ast.decl.AssociationDecl
accept, accept, accept, accept
-
Methods inherited from interface org.fulib.scenarios.ast.Positioned
getPosition, setPosition
-
-
-
-
Constructor Detail
-
Impl
public Impl()
-
Impl
public Impl(ClassDecl owner, java.lang.String name, int cardinality, ClassDecl target, Type type, AssociationDecl other)
-
-
Method Detail
-
getOwner
public ClassDecl getOwner()
- Specified by:
getOwnerin interfaceAssociationDecl
-
setOwner
public void setOwner(ClassDecl owner)
- Specified by:
setOwnerin interfaceAssociationDecl
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceAssociationDecl- Specified by:
getNamein interfaceDecl
-
setName
public void setName(java.lang.String name)
- Specified by:
setNamein interfaceAssociationDecl- Specified by:
setNamein interfaceDecl
-
getCardinality
public int getCardinality()
- Specified by:
getCardinalityin interfaceAssociationDecl
-
setCardinality
public void setCardinality(int cardinality)
- Specified by:
setCardinalityin interfaceAssociationDecl
-
getTarget
public ClassDecl getTarget()
- Specified by:
getTargetin interfaceAssociationDecl
-
setTarget
public void setTarget(ClassDecl target)
- Specified by:
setTargetin interfaceAssociationDecl
-
getType
public Type getType()
- Specified by:
getTypein interfaceAssociationDecl- Specified by:
getTypein interfaceDecl
-
setType
public void setType(Type type)
- Specified by:
setTypein interfaceAssociationDecl- Specified by:
setTypein interfaceDecl
-
getOther
public AssociationDecl getOther()
- Specified by:
getOtherin interfaceAssociationDecl
-
setOther
public void setOther(AssociationDecl other)
- Specified by:
setOtherin interfaceAssociationDecl
-
-