public class UML2DataType extends AbstractClassifier implements IDataType
IModelElement.ElementTypenameToAttributeOBJECT| Constructor and Description |
|---|
UML2DataType(org.eclipse.uml2.uml.DataType dataType,
IPackage container) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDocumentation()
Produces the documentation from the enclosed comments on the UML data type.
|
IModelElement.ElementType |
getElementType()
Return an enum indicating what type of element this is, to reduce the need to
sub-cast prematurely.
|
org.eclipse.uml2.uml.DataType |
getUML2() |
org.eclipse.uml2.uml.Classifier |
getUmlSuperClassifier() |
Object |
getUserData(String key)
Return user data stored on this model element.
|
boolean |
isBuiltIn()
Return true if this is a built-in NRL type
|
protected void |
resolve(Map<org.eclipse.uml2.uml.Classifier,IClassifier> umlClassToModelElement,
List<String> warnings)
Resolve the types of all attributes stored on this class.
|
void |
setUMLSuperClass(org.eclipse.uml2.uml.Classifier umlSuperClass)
Set the superclass of this one in the UML model
|
addAttribute, getAttributeByName, getAttributes, getAttributes, hasAttribute, hasNonStaticAttributes, hasStaticAttributes, isEnumeration, rebuildAttributeNameMap, removeAttribute, removeAttributeNameMapping, setEnumerationaddChild, getContainingPackage, getDescendants, getName, getOriginalName, getParent, getQualifiedName, isAssignableFrom, isSupplementary, setName, setOriginalName, setParent, setSupplementary, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttributeByName, getAttributes, hasAttribute, hasStaticAttributes, isEnumerationgetContainingPackage, getDescendants, getName, getOriginalName, getParent, getQualifiedName, isAssignableFrom, isSupplementary, setUserDatapublic UML2DataType(org.eclipse.uml2.uml.DataType dataType,
IPackage container)
public List<String> getDocumentation()
getDocumentation in interface IModelElementpublic IModelElement.ElementType getElementType()
IModelElementgetElementType in interface IModelElementpublic org.eclipse.uml2.uml.DataType getUML2()
public org.eclipse.uml2.uml.Classifier getUmlSuperClassifier()
public Object getUserData(String key)
IModelElementgetUserData in interface IModelElementgetUserData in class AbstractModelElementkey - the key under which the data is storedpublic boolean isBuiltIn()
IDataTypepublic void setUMLSuperClass(org.eclipse.uml2.uml.Classifier umlSuperClass)
umlSuperClass - the super classprotected void resolve(Map<org.eclipse.uml2.uml.Classifier,IClassifier> umlClassToModelElement, List<String> warnings)
a - mapping from uml classes to model element instanceswarnings - the list to append warnings toCopyright © 2006-2013. All Rights Reserved.