com.ashridgetech.jamda.uml
Class StandardDataTypeDef

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

public class StandardDataTypeDef
extends StandardTypeDef

Defines a standard DataType which is required in a Model.

Author:
PBoocock

Constructor Summary
StandardDataTypeDef(java.lang.String name)
          Creates a new StandardDataTypeDef for a DataType.
 
Method Summary
protected  ModelElement createElement(Model model)
          Create the element required by this definition in a given Model.
 DataType getDataType(Model model)
          Get the DataType required by this definition from a given Model.
 java.lang.String getDescription()
          Get a description of the element required.
 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

StandardDataTypeDef

public StandardDataTypeDef(java.lang.String name)
Creates a new StandardDataTypeDef for a DataType.

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

getDataType

public DataType getDataType(Model model)
Get the DataType required by this definition from a given Model.

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

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:
the Type

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.