Class JeeClass
- java.lang.Object
-
- org.palladiosimulator.protocom.lang.GeneratedFile<E>
-
- org.palladiosimulator.protocom.lang.java.impl.JCompilationUnit<IJeeClass>
-
- org.palladiosimulator.protocom.lang.java.impl.JeeClass
-
- All Implemented Interfaces:
ICompilationUnit
,IJClass
,IJCompilationUnit
,IJeeClass
public class JeeClass extends JCompilationUnit<IJeeClass> implements IJeeClass
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.protocom.lang.GeneratedFile
fsa, injector, provider
-
-
Constructor Summary
Constructors Constructor Description JeeClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends IJAnnotation>
annotations()
String
body()
Template for the body part of this compilation unit: members, methods/signatures.CharSequence
constructor(IJMethod method)
Collection<? extends IJMethod>
constructors()
Constructors of this class.CharSequence
field(IJField field)
String
header()
Template for the header part of this compilation unit: package, imports, type definition.Collection<String>
interfaces()
Collection of interface names which are either implemented or extended.Collection<? extends IJField>
jeeClassDependencyInjection()
String
jeeClassDependencyInjectionAnnotation()
CharSequence
jeeClassDependencyInjectionNameAttribute(IJField field)
String
jeeClassStatelessAnnotation()
CharSequence
method(IJMethod method)
String
packageName()
Package name of this compilation unit.String
superClass()
Inherited class name.-
Methods inherited from class org.palladiosimulator.protocom.lang.java.impl.JCompilationUnit
compilationUnitName, fields, generate, implementedClasses, methods
-
Methods inherited from class org.palladiosimulator.protocom.lang.GeneratedFile
createFor, filePath, projectName, store
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.palladiosimulator.protocom.lang.ICompilationUnit
filePath, projectName
-
Methods inherited from interface org.palladiosimulator.protocom.lang.java.IJCompilationUnit
compilationUnitName, fields, methods
-
-
-
-
Method Detail
-
superClass
public String superClass()
Description copied from interface:IJClass
Inherited class name.- Specified by:
superClass
in interfaceIJClass
-
constructors
public Collection<? extends IJMethod> constructors()
Description copied from interface:IJClass
Constructors of this class. FIXME: JMethod is ok'ish, but not entirely correct.- Specified by:
constructors
in interfaceIJClass
-
annotations
public Collection<? extends IJAnnotation> annotations()
- Specified by:
annotations
in interfaceIJClass
-
interfaces
public Collection<String> interfaces()
Description copied from interface:IJCompilationUnit
Collection of interface names which are either implemented or extended.- Specified by:
interfaces
in interfaceIJCompilationUnit
- Overrides:
interfaces
in classJCompilationUnit<IJeeClass>
-
packageName
public String packageName()
Description copied from interface:IJCompilationUnit
Package name of this compilation unit.- Specified by:
packageName
in interfaceIJCompilationUnit
- Overrides:
packageName
in classJCompilationUnit<IJeeClass>
-
header
public String header()
Description copied from class:JCompilationUnit
Template for the header part of this compilation unit: package, imports, type definition.- Specified by:
header
in classJCompilationUnit<IJeeClass>
-
body
public String body()
Description copied from class:JCompilationUnit
Template for the body part of this compilation unit: members, methods/signatures.- Specified by:
body
in classJCompilationUnit<IJeeClass>
-
field
public CharSequence field(IJField field)
-
constructor
public CharSequence constructor(IJMethod method)
-
method
public CharSequence method(IJMethod method)
-
jeeClassStatelessAnnotation
public String jeeClassStatelessAnnotation()
- Specified by:
jeeClassStatelessAnnotation
in interfaceIJeeClass
-
jeeClassDependencyInjectionAnnotation
public String jeeClassDependencyInjectionAnnotation()
- Specified by:
jeeClassDependencyInjectionAnnotation
in interfaceIJeeClass
-
jeeClassDependencyInjection
public Collection<? extends IJField> jeeClassDependencyInjection()
- Specified by:
jeeClassDependencyInjection
in interfaceIJeeClass
-
jeeClassDependencyInjectionNameAttribute
public CharSequence jeeClassDependencyInjectionNameAttribute(IJField field)
-
-