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 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)
-
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:
getOwner
in interfaceAssociationDecl
-
setOwner
public void setOwner(ClassDecl owner)
- Specified by:
setOwner
in interfaceAssociationDecl
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceAssociationDecl
- Specified by:
getName
in interfaceDecl
-
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interfaceAssociationDecl
- Specified by:
setName
in interfaceDecl
-
getCardinality
public int getCardinality()
- Specified by:
getCardinality
in interfaceAssociationDecl
-
setCardinality
public void setCardinality(int cardinality)
- Specified by:
setCardinality
in interfaceAssociationDecl
-
getTarget
public ClassDecl getTarget()
- Specified by:
getTarget
in interfaceAssociationDecl
-
setTarget
public void setTarget(ClassDecl target)
- Specified by:
setTarget
in interfaceAssociationDecl
-
getType
public Type getType()
- Specified by:
getType
in interfaceAssociationDecl
- Specified by:
getType
in interfaceDecl
-
setType
public void setType(Type type)
- Specified by:
setType
in interfaceAssociationDecl
- Specified by:
setType
in interfaceDecl
-
getOther
public AssociationDecl getOther()
- Specified by:
getOther
in interfaceAssociationDecl
-
setOther
public void setOther(AssociationDecl other)
- Specified by:
setOther
in interfaceAssociationDecl
-
-