implementations
Class ConcernJSingleRelation
java.lang.Object
|
+--implementations.JavaImplementationGenerator
|
+--implementations.ConcernJImplementationGenerator
|
+--implementations.ConcernJSingleRelation
- All Implemented Interfaces:
- ImplementationGeneratorI
- public class ConcernJSingleRelation
- extends ConcernJImplementationGenerator
Implementation generator plugin class for implementing a SingleRelation composite
in ConcernJ.
- Version:
- 0.1.21, 6 April 2003
- Author:
- Dennis Wagelaar
Methods inherited from class implementations.JavaImplementationGenerator |
createClause, createMethod, getClasses, getComposite, getConceptsFor, getCurrentImplementation, getCurrentImplementation, getImplGen, getInstanceName, getInterfaces, getModel, getPrimitives, getVisitor, insertExtends, insertImplements, insertImports, insertMethod, insertPrimitiveImplementation, insertPrimitiveImplementations, insertVariables, isClass, isInterface, isMethod, isPrimitive, isStatic, lcfirst, setCurrentImplementation, setCurrentImplementation, ucfirst |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConcernJSingleRelation
public ConcernJSingleRelation()
- Constructs a ConcernJSingleRelation
applyToOwner
protected void applyToOwner(Concept owner,
java.util.Collection properties)
throws CoComposeException
- Applies the implementation generator to an Owner concept.
- Parameters:
owner
- The concept to apply the role part for.properties
- The set of property concepts.- Throws:
CoComposeException
- if generating implementation failed.
applyToRealm
protected void applyToRealm(UniqueRealm realm,
java.util.Collection properties,
java.util.Collection owners)
throws CoComposeException
- Applies the implementation generator to a UniqueRealm.
- Parameters:
realm
- The unique realm.properties
- The set of property concepts.owners
- The set of owner concepts.- Throws:
CoComposeException
- if generating implementation failed.
apply
public void apply(ImplementationGenerator implementation,
GenerateImplementationVisitor generateImpl)
throws CoComposeException
- Applies the implementation generator.
- Overrides:
apply
in class JavaImplementationGenerator
- Parameters:
implementation
- The implementation generator to apply.generateImpl
- The language specific code generation operation
visitor.- Throws:
CoComposeException
- if generating implementation failed.