com.ashridgetech.jamda.common
Class BusinessInterfaceCreator

java.lang.Object
  |
  +--com.ashridgetech.jamda.transform.UmlTypeCreator
        |
        +--com.ashridgetech.jamda.transform.UmlInterfaceCreator
              |
              +--com.ashridgetech.jamda.common.BusinessInterfaceCreator
All Implemented Interfaces:
ElementTransformer

public class BusinessInterfaceCreator
extends UmlInterfaceCreator

Generates a new InterfaceType for a Business Interface from a given source ClassType. The name of the new InterfaceTypeis the same as the source. A property is created in the new interface for each public Attribute in the source with the property Stereotype. Each instance may only be used to generate one element.

Author:
Paul Boocock version 1.0

Nested Class Summary
 
Nested classes inherited from class com.ashridgetech.jamda.transform.UmlTypeCreator
UmlTypeCreator.PropertyDetails
 
Constructor Summary
BusinessInterfaceCreator()
          Construct a BusinessInterfaceCreator for a Java interface.
 
Method Summary
protected  java.util.Set extraStandardDefClasses()
          Get the Classes which contain definitions of the standard elements needed for this class to operate on the model, in the form of StandardElementDef constants.
protected  void setup()
          Set up the characteristics and features of the new element.
 
Methods inherited from class com.ashridgetech.jamda.transform.UmlInterfaceCreator
getNewInterface, makeNewInterface, makeNewType, toString
 
Methods inherited from class com.ashridgetech.jamda.transform.UmlTypeCreator
addOperation, addOperation, addOperation, addProperty, checkReadyToCreate, getModel, getNewName, getNewType, getPackage, getPackageName, getSource, getSuffix, logChange, logCreate, logger, setModel, setPackageName, setSource, setSuffix, standardElementDefClasses, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BusinessInterfaceCreator

public BusinessInterfaceCreator()
Construct a BusinessInterfaceCreator for a Java interface.

Method Detail

extraStandardDefClasses

protected java.util.Set extraStandardDefClasses()
Get the Classes which contain definitions of the standard elements needed for this class to operate on the model, in the form of StandardElementDef constants.

Specified by:
extraStandardDefClasses in class UmlTypeCreator
Returns:
a Set of Class objects

setup

protected void setup()
Set up the characteristics and features of the new element.

Specified by:
setup in class UmlTypeCreator


Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.