com.ashridgetech.jamda.uml
Class StandardInterfaceDef

java.lang.Object
  |
  +--com.ashridgetech.jamda.uml.StandardElementDef
        |
        +--com.ashridgetech.jamda.uml.StandardTypeDef
              |
              +--com.ashridgetech.jamda.uml.StandardInterfaceDef

public class StandardInterfaceDef
extends StandardTypeDef

Defines a standard InterfaceType which is required in a Model.

Author:
PBoocock

Constructor Summary
StandardInterfaceDef(java.lang.String fullName)
          Creates a new StandardInterfaceDef for an InterfaceType.
 
Method Summary
protected  ModelElement createElement(Model model)
          Create the element required by this definition in a given Model.
 java.lang.String getDescription()
          Get a description of the element required.
 InterfaceType getInterface(Model model)
          Get the InterfaceType required by this definition from a given Model.
 Type getType(Model model)
          Get the Type required by this definition from a given Model.
 
Methods inherited from class com.ashridgetech.jamda.uml.StandardTypeDef
getTypeName, hasElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardInterfaceDef

public StandardInterfaceDef(java.lang.String fullName)
Creates a new StandardInterfaceDef for an InterfaceType.

Parameters:
fullName - the full name of the Interface
Method Detail

createElement

protected ModelElement createElement(Model model)
Create the element required by this definition in a given Model.

Specified by:
createElement in class StandardElementDef
Parameters:
model - the Model in which the element is to be created
Returns:
the new ModelElement

getInterface

public InterfaceType getInterface(Model model)
Get the InterfaceType required by this definition from a given Model.

Parameters:
model - the Model in which the InterfaceType is to be found
Returns:
the Interface

getType

public Type getType(Model model)
Get the Type required by this definition from a given Model.

Specified by:
getType in class StandardTypeDef
Parameters:
model - the Model in which the Type is to be found
Returns:
as returned by getInterface(com.ashridgetech.jamda.uml.Model)

getDescription

public java.lang.String getDescription()
Get a description of the element required.

Specified by:
getDescription in class StandardElementDef
Returns:
the description


Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.