public class UML2Package extends AbstractPackage
IModelElement.ElementTypeOBJECT| Constructor and Description |
|---|
UML2Package(org.eclipse.uml2.uml.Package _package,
IPackage container) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<org.eclipse.uml2.uml.Classifier,IClassifier> |
buildTypeMap() |
List<String> |
getDocumentation()
Return any documentation associated with the UML package.
|
org.eclipse.uml2.uml.Package |
getUML2()
Return the UML2 package wrapped by this class.
|
Object |
getUserData(String key)
Return user data stored on this model element.
|
protected void |
removeHyperModelArtifacts()
Remove group, sequence and choice artifacts from classifiers
|
protected void |
resolveTypes(Map<org.eclipse.uml2.uml.Classifier,IClassifier> classifierToUML2Classifier,
List<String> warnings)
Resolve attribute and generalisation references, then discard the internal UML 2 model
references to save memory.
|
addElement, getContents, getElementByName, getElementType, getNumberOfElements, getSize, isAmbiguous, removeElementaddChild, 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 UML2Package(org.eclipse.uml2.uml.Package _package,
IPackage container)
public List<String> getDocumentation()
public org.eclipse.uml2.uml.Package getUML2()
public Object getUserData(String key)
IModelElementgetUserData in interface IModelElementgetUserData in class AbstractModelElementkey - the key under which the data is storedprotected void resolveTypes(Map<org.eclipse.uml2.uml.Classifier,IClassifier> classifierToUML2Classifier, List<String> warnings)
warnings - the list to append warnings toprotected Map<org.eclipse.uml2.uml.Classifier,IClassifier> buildTypeMap()
protected void removeHyperModelArtifacts()
Copyright © 2006-2013. All Rights Reserved.