UML.Semantic.Foundation.Core
Class DataType

java.lang.Object
  |
  +--UML.Semantic.Foundation.Core.ModelElement
        |
        +--UML.Semantic.Foundation.Core.Namespace
              |
              +--UML.Semantic.Foundation.Core.GeneralizableElement
                    |
                    +--UML.Semantic.Foundation.Core.Classifier
                          |
                          +--UML.Semantic.Foundation.Core.DataType
All Implemented Interfaces:
Element, ElementAtt, LinkAtt
Direct Known Subclasses:
Enumeration

public class DataType
extends Classifier

A data type is a type whose values have no identity, i.e. they are pure values. Data types include primitive built-in types (such as integer and string) as well as definable enumeration types (such as the predefined enumeration type boolean whose literals are false and true).

In the metamodel a DataType defines a special kind of type in which Operations are all pure functions, i.e. they can return DataValues but they cannot change DataValues (because they have no identity).


Constructor Summary
DataType()
          Constructor.
 
Method Summary
 boolean check()
          Checks if well-formedness rules are respected in this model element.
 
Methods inherited from class UML.Semantic.Foundation.Core.Classifier
add, add, add, allAssociationEnd, allAssociations, allAttributes, allFeatures, allMethods, allOperations, allOppositeAssociationEnd, getAssociationEnd, getAssociations, getAttribute, getAttribute, getAttributeCount, getFeature, getFeature, getInfo, getOperation, getOperation, getOperationCount, getSpecification, inheritedAssociationEnd, inheritedAssociations, inheritedAttributes, inheritedOperations, inheritedOppositeAssociationEnd, oppositeAssociationEnd, setRealization, setSpecification
 
Methods inherited from class UML.Semantic.Foundation.Core.GeneralizableElement
allOwnedElement, allSupertype, getGeneralization, getIsAbstract, getIsLeaf, getIsRoot, getSpecialization, getSupertype, inheritedOwnedElement, inheritedSupertype, setIsAbstract, setIsLeaf, setIsRoot
 
Methods inherited from class UML.Semantic.Foundation.Core.Namespace
add, allContents, allContents, getOwnedElement, subContents
 
Methods inherited from class UML.Semantic.Foundation.Core.ModelElement
add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataType

public DataType()
Constructor.

Method Detail

check

public boolean check()
Checks if well-formedness rules are respected in this model element.

Overrides:
check in class Classifier
Returns:
True if check was successful, false otherwise.