com.ashridgetech.jamda.uml
Class DataType

java.lang.Object
  |
  +--com.ashridgetech.jamda.uml.ModelElement
        |
        +--com.ashridgetech.jamda.uml.Type
              |
              +--com.ashridgetech.jamda.uml.DataType

public class DataType
extends Type

A UML DataType. Referenced by various other UML metamodel classes.

Version:
1.0
Author:
paulb

Nested Class Summary
 
Nested classes inherited from class com.ashridgetech.jamda.uml.ModelElement
ModelElement.DuplicateElementException, ModelElement.ElementListStore, ModelElement.ElementNameListStore, ModelElement.ElementNameStore, ModelElement.ElementStore, ModelElement.TaggedValue, ModelElement.UnknownElementException
 
Field Summary
 
Fields inherited from class com.ashridgetech.jamda.uml.ModelElement
DUMMY_STORE
 
Constructor Summary
protected DataType(ru.novosoft.uml.foundation.core.MDataType dt, ModelPackage mp)
          Creates new DataType from a NSUML MDataType object during loading.
protected DataType(ModelPackage parentPackage, java.lang.String name)
          Creates a new DataType.
  DataType(Model model, java.lang.String name)
          Creates a new DataType.
 
Method Summary
 boolean isSimple()
          Show whether this Type is a simple type, such as a number or String , or composed of other parts.
 
Methods inherited from class com.ashridgetech.jamda.uml.ModelElement
add, addStereotype, addTaggedValue, addTaggedValue, addTaggedValues, addTaggedValuesInternal, checkInitialised, checkState, checkValid, findTaggedValueCollection, getBooleanTaggedValue, getChildElements, getComment, getDescription, getDirectSource, getElement, getElementType, getFullName, getId, getModel, getName, getNsElement, getOriginalSource, getParentElement, getProperties, getStereotypes, getStringTaggedValue, getSubElementStore, getTaggedValue, getTaggedValues, getXpathContext, hasStereotype, hasTaggedValue, init, initLoad, isInitialised, load, load, load, loadElement, logChange, logger, logger, logLoad, logLoadWarning, logNew, logWarning, removeTaggedValue, select, setComment, setDirectSource, setTaggedValue, setTaggedValue, setTaggedValue, setTaggedValues, stereotype, tag, tagError, toString, type, type, type, xpath, xpathList
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataType

protected DataType(ru.novosoft.uml.foundation.core.MDataType dt,
                   ModelPackage mp)
Creates new DataType from a NSUML MDataType object during loading.


DataType

public DataType(Model model,
                java.lang.String name)
Creates a new DataType.


DataType

protected DataType(ModelPackage parentPackage,
                   java.lang.String name)
Creates a new DataType.

Method Detail

isSimple

public boolean isSimple()
Show whether this Type is a simple type, such as a number or String , or composed of other parts.

Specified by:
isSimple in class Type
Returns:
always returns true


Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.