Class DataType


public class DataType
extends Type

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


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
Constructor Summary
protected DataType( 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


protected DataType( dt,
                   ModelPackage mp)
Creates new DataType from a NSUML MDataType object during loading.


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


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

Method Detail


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
always returns true

Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.