public class UML2Classifier extends AbstractClassifier
IModelElement.ElementTypenameToAttributeOBJECT| Constructor and Description |
|---|
UML2Classifier(org.eclipse.uml2.uml.Classifier umlClassifier,
IPackage container)
Initialise a classifier from a UML2 Classifier
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getDocumentation()
Produces the documentation from the enclosed comments on the UML classifier.
|
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.Classifier |
getUML2()
Return the UML class wrapped by this class.
|
Object |
getUserData(String key)
Return user data stored on this model element.
|
protected void |
removeHyperModelArtifacts() |
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, waitgetContainingPackage, getDescendants, getName, getOriginalName, getParent, getQualifiedName, isAssignableFrom, isSupplementary, setUserDatapublic UML2Classifier(org.eclipse.uml2.uml.Classifier umlClassifier,
IPackage container)
umlClassifier - the classifierpublic List<String> getDocumentation()
public IModelElement.ElementType getElementType()
IModelElementpublic org.eclipse.uml2.uml.Classifier getUML2()
public Object getUserData(String key)
IModelElementgetUserData in interface IModelElementgetUserData in class AbstractModelElementkey - the key under which the data is storedprotected 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 toprotected void removeHyperModelArtifacts()
public void setUMLSuperClass(org.eclipse.uml2.uml.Classifier umlSuperClass)
umlSuperClass - the super classCopyright © 2006-2013. All Rights Reserved.