implementations
Class JAsCoSingleInstance

java.lang.Object
  |
  +--implementations.JavaImplementationGenerator
        |
        +--implementations.JavaSingleInstance
              |
              +--implementations.JAsCoSingleInstance
All Implemented Interfaces:
ImplementationGeneratorI

public class JAsCoSingleInstance
extends JavaSingleInstance

Implementation generator plugin class for implementing a SingleInstance composite in the JAsCo language.

Version:
0.1.18, 22 November 2003
Author:
Dennis Wagelaar

Constructor Summary
JAsCoSingleInstance()
           
 
Method Summary
protected  void applyToOwner(Concept owner)
          Applies the implementation generator to an Owner concept.
protected  void applyToOwnerConnector(Concept owner, Concept propertyC, Concept classC)
          Applies the implementation generator to an Owner concept with form Connector.
 
Methods inherited from class implementations.JavaSingleInstance
apply, applyPerOwner, applyToOwnerClass, applyToOwnerMethod, checkRoles, getClassRole, getOwnerRole, getPropertyRole
 
Methods inherited from class implementations.JavaImplementationGenerator
createClause, createMethod, getClasses, getComposite, getConceptsFor, getCurrentImplementation, getCurrentImplementation, getImplGen, getInstanceName, getInterfaces, getModel, getPrimitives, getVisitor, insertExtends, insertImplements, insertImports, insertMethod, insertMethodOverrideID, insertParameters, insertPrimitiveImplementation, insertPrimitiveImplementations, insertReturnType, 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
 

Constructor Detail

JAsCoSingleInstance

public JAsCoSingleInstance()
Method Detail

applyToOwner

protected void applyToOwner(Concept owner)
                     throws CoComposeException
Applies the implementation generator to an Owner concept.
Overrides:
applyToOwner in class JavaSingleInstance
Parameters:
owner - The concept to apply the role part for.
Throws:
CoComposeException - if generating implementation failed.

applyToOwnerConnector

protected void applyToOwnerConnector(Concept owner,
                                     Concept propertyC,
                                     Concept classC)
                              throws CoComposeException
Applies the implementation generator to an Owner concept with form Connector.
Parameters:
owner - The concept to apply the role part for.
propertyC - The property concept.
classC - The class concept.
Throws:
CoComposeException - if generating implementation failed.