|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectimplementations.JavaImplementationGenerator
implementations.ConcernJImplementationGenerator
implementations.ConcernJSingleInstance
Implementation generator plugin class for implementing a SingleInstance composite in ConcernJ.
Constructor Summary | |
ConcernJSingleInstance()
Constructs a ConcernJSingleInstance. |
Method Summary | |
void |
apply(ImplementationGenerator implementation,
GenerateImplementationVisitor generateImpl)
Applies the implementation generator. |
protected void |
applyToOwner(Concept owner,
Concept propertyC,
Concept classC)
Applies the implementation generator to an Owner concept. |
protected void |
applyToOwnerConcern(Concept owner,
Concept propertyC,
Concept classC)
Applies the implementation generator to an Owner concept with form Concern. |
protected void |
applyToOwnerMethod(Concept owner,
Concept propertyC,
Concept classC)
Applies the implementation generator to an Owner concept with form Method. |
protected void |
applyToRealm(UniqueRealm realm,
java.util.Collection owners,
Concept propertyC,
Concept classC)
Applies the implementation generator to a UniqueRealm. |
Methods inherited from class implementations.ConcernJImplementationGenerator |
createFiltermodule, getFiltermoduleName, getRealmImplementation, insertFiltermodule, insertMethodOverrideID, insertParameters, insertReturnType, insertSuperimposition, makeFilterDecl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConcernJSingleInstance()
Method Detail |
protected void applyToOwnerConcern(Concept owner, Concept propertyC, Concept classC) throws CoComposeException
owner
- The concept to apply the role part for.propertyC
- The property concept.classC
- The class concept.
CoComposeException
- if generating implementation failed.protected void applyToOwnerMethod(Concept owner, Concept propertyC, Concept classC) throws CoComposeException
owner
- The concept to apply the role part for.propertyC
- The property concept.classC
- The class concept.
CoComposeException
- if generating implementation failed.protected void applyToOwner(Concept owner, Concept propertyC, Concept classC) throws CoComposeException
owner
- The concept to apply the role part for.propertyC
- The property concept.classC
- The class concept.
CoComposeException
- if generating implementation failed.protected void applyToRealm(UniqueRealm realm, java.util.Collection owners, Concept propertyC, Concept classC) throws CoComposeException
realm
- The unique realm.owners
- The set of owner concepts.propertyC
- The property concept.classC
- The class concept.
CoComposeException
- if generating implementation failed.public void apply(ImplementationGenerator implementation, GenerateImplementationVisitor generateImpl) throws CoComposeException
apply
in interface ImplementationGeneratorI
apply
in class JavaImplementationGenerator
implementation
- The implementation generator to apply.generateImpl
- The language specific code generation operation
visitor.
CoComposeException
- if generating implementation failed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |