Package org.fulib.scenarios.ast.decl
Class ClassDecl.Impl
- java.lang.Object
-
- org.fulib.scenarios.ast.Positioned.Impl
-
- org.fulib.scenarios.ast.decl.ClassDecl.Impl
-
- All Implemented Interfaces:
ClassDecl,Decl,Node,Positioned
- Enclosing interface:
- ClassDecl
public static class ClassDecl.Impl extends Positioned.Impl implements ClassDecl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.fulib.scenarios.ast.decl.ClassDecl
ClassDecl.Impl, ClassDecl.Visitor<P,R>
-
Nested classes/interfaces inherited from interface org.fulib.scenarios.ast.Positioned
Positioned.Impl, Positioned.Visitor<P,R>
-
-
Constructor Summary
Constructors Constructor Description Impl()Impl(ScenarioGroup group, java.lang.String name, Type type, java.util.Map<java.lang.String,AttributeDecl> attributes, java.util.Map<java.lang.String,AssociationDecl> associations, java.util.List<MethodDecl> methods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,AssociationDecl>getAssociations()java.util.Map<java.lang.String,AttributeDecl>getAttributes()booleangetExternal()booleangetFrozen()ScenarioGroupgetGroup()java.util.List<MethodDecl>getMethods()java.lang.StringgetName()TypegetType()voidsetAssociations(java.util.Map<java.lang.String,AssociationDecl> associations)voidsetAttributes(java.util.Map<java.lang.String,AttributeDecl> attributes)voidsetExternal(boolean external)voidsetFrozen(boolean frozen)voidsetGroup(ScenarioGroup group)voidsetMethods(java.util.List<MethodDecl> methods)voidsetName(java.lang.String name)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.ClassDecl
accept, accept, accept, accept
-
Methods inherited from interface org.fulib.scenarios.ast.Positioned
getPosition, setPosition
-
-
-
-
Constructor Detail
-
Impl
public Impl()
-
Impl
public Impl(ScenarioGroup group, java.lang.String name, Type type, java.util.Map<java.lang.String,AttributeDecl> attributes, java.util.Map<java.lang.String,AssociationDecl> associations, java.util.List<MethodDecl> methods)
-
-
Method Detail
-
getGroup
public ScenarioGroup getGroup()
-
setGroup
public void setGroup(ScenarioGroup group)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
getAttributes
public java.util.Map<java.lang.String,AttributeDecl> getAttributes()
- Specified by:
getAttributesin interfaceClassDecl
-
setAttributes
public void setAttributes(java.util.Map<java.lang.String,AttributeDecl> attributes)
- Specified by:
setAttributesin interfaceClassDecl
-
getAssociations
public java.util.Map<java.lang.String,AssociationDecl> getAssociations()
- Specified by:
getAssociationsin interfaceClassDecl
-
setAssociations
public void setAssociations(java.util.Map<java.lang.String,AssociationDecl> associations)
- Specified by:
setAssociationsin interfaceClassDecl
-
getMethods
public java.util.List<MethodDecl> getMethods()
- Specified by:
getMethodsin interfaceClassDecl
-
setMethods
public void setMethods(java.util.List<MethodDecl> methods)
- Specified by:
setMethodsin interfaceClassDecl
-
getExternal
public boolean getExternal()
- Specified by:
getExternalin interfaceClassDecl
-
setExternal
public void setExternal(boolean external)
- Specified by:
setExternalin interfaceClassDecl
-
-