|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.armax.ax.devtools.uml.AXmodelElementAbstract
de.armax.ax.devtools.uml.mdr.AXmodelMdrImpl
| Field Summary |
| Fields inherited from interface de.armax.ax.devtools.uml.AXmodel |
INTERFACE |
| Constructor Summary | |
AXmodelMdrImpl(java.io.InputStream xmiStream)
|
|
AXmodelMdrImpl(java.lang.String xmiFile)
|
|
| Method Summary | |
void |
dispose()
Dispose the model. |
boolean |
existTaggedValue(java.lang.String tag)
Check weather a tagged value with the given tag name exists. |
void |
finalize()
|
AXassociation |
getAssociation(org.omg.uml.foundation.core.UmlAssociation assoc,
AXassociationEnd thisEnd)
|
AXmodel |
getModel()
Get the model containing this element. |
AXmodelBundle |
getModelBundle()
Get this models model bundle. |
AXmodelElement |
getModelElement(org.omg.uml.foundation.core.ModelElement me)
|
java.lang.String |
getModelName()
Get the name of the model |
java.lang.String |
getName()
Get the name for the model element. |
java.lang.String |
getNamespaceName()
Get the namespace name for this model element. |
java.util.List |
getOwnedElements()
Get a list of owned elements of this model. |
java.lang.String |
getOwnedElementsMethodName()
Get the method name that returns owned elements of a wrapped namespace object. |
AXpackage |
getPackage(java.lang.String packageName)
Get a package with a given name |
AXpackage |
getParent()
Get the parent package of this package. |
java.lang.Object |
getRealElement()
Get the real element, this element wraps. |
java.lang.Object |
getRealModel()
Get the object this model wraps |
java.util.Collection |
getRealOwnedElements()
Get a list of owned elements of the wrapped model object. |
java.lang.String |
getStereotype()
Get the stereotype of this element. |
java.util.List |
getSubPackages()
Get all packages this package contains. |
java.lang.String |
getTaggedValue(java.lang.String tag)
Get a tagged value for a given tag name. |
java.lang.String |
getTaggedValue(java.lang.String tag,
java.lang.String dflt)
Get a tagged value for a given tag name. |
java.util.List |
getTaggedValues(java.lang.String tag)
Get all tagged values for a given tag name. |
java.util.List |
getTaggedValueTags()
Get all existing tag names of tagged values for this element. |
boolean |
isRootPackage()
Check weather this is a root package. |
void |
setModelBundle(AXmodelBundle bundle)
Set the model bundle, this model is part of. |
| Methods inherited from class de.armax.ax.devtools.uml.AXmodelElementAbstract |
equals, getNameForCollectionDefine, getNameForCollectionMethod, getNameForCollectionVariable, getNameForDefine, getNameForMethod, getNameForVariable, getPackage, getQualifiedName, getSufficientlyQualifiedName, getSufficientlyQualifiedName, getWellKnownPackages, hasStereotype, isSameNamespace, isSameNamespace, toString |
| Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.armax.ax.devtools.uml.AXmodelElement |
equals, getNameForCollectionDefine, getNameForCollectionMethod, getNameForCollectionVariable, getNameForDefine, getNameForMethod, getNameForVariable, getPackage, getQualifiedName, getSufficientlyQualifiedName, getSufficientlyQualifiedName, getWellKnownPackages, hasStereotype, isSameNamespace, isSameNamespace |
| Constructor Detail |
public AXmodelMdrImpl(java.lang.String xmiFile)
throws java.io.IOException,
AXmodelException
public AXmodelMdrImpl(java.io.InputStream xmiStream)
throws java.io.IOException,
AXmodelException
| Method Detail |
public void dispose()
AXmodelDispose the model. Do any required cleanup here.
dispose in interface AXmodel
public AXassociation getAssociation(org.omg.uml.foundation.core.UmlAssociation assoc,
AXassociationEnd thisEnd)
public AXmodelElement getModelElement(org.omg.uml.foundation.core.ModelElement me)
public AXpackage getPackage(java.lang.String packageName)
AXmodelGet a package with a given name
getPackage in interface AXmodelpackageName - public java.lang.Object getRealModel()
AXmodelGet the object this model wraps
getRealModel in interface AXmodelpublic java.lang.String getModelName()
AXmodelGet the name of the model
getModelName in interface AXmodelpublic void finalize()
public java.util.List getOwnedElements()
AXmodelGet a list of owned elements of this model.
getOwnedElements in interface AXmodelpublic java.util.Collection getRealOwnedElements()
AXmodelGet a list of owned elements of the wrapped model object.
getRealOwnedElements in interface AXmodelpublic java.lang.String getOwnedElementsMethodName()
AXmodelGet the method name that returns owned elements of a wrapped namespace object.
getOwnedElementsMethodName in interface AXmodelpublic java.lang.String getName()
AXmodelElementGet the name for the model element.
getName in interface AXmodelElementgetName in class AXmodelElementAbstractpublic java.lang.String getNamespaceName()
AXmodelElementGet the namespace name for this model element.
This includes the names of all nested UML namespaces separated by dots (as it is well known for java packages).
getNamespaceName in interface AXmodelElementgetNamespaceName in class AXmodelElementAbstractpublic java.lang.String getTaggedValue(java.lang.String tag)
AXmodelElementGet a tagged value for a given tag name.
If more than one tagged value with the same tag name exist for this model element, the first one is returned
getTaggedValue in interface AXmodelElementgetTaggedValue in class AXmodelElementAbstract
public java.lang.String getTaggedValue(java.lang.String tag,
java.lang.String dflt)
AXmodelElementGet a tagged value for a given tag name.
If no such tagged value exists, the default value is returned.
If more than one tagged value with the same tag name exist for this model element, the first one is returned
getTaggedValue in interface AXmodelElementgetTaggedValue in class AXmodelElementAbstractpublic java.util.List getTaggedValues(java.lang.String tag)
AXmodelElementGet all tagged values for a given tag name.
getTaggedValues in interface AXmodelElementgetTaggedValues in class AXmodelElementAbstractpublic java.util.List getTaggedValueTags()
AXmodelElementGet all existing tag names of tagged values for this element.
getTaggedValueTags in interface AXmodelElementgetTaggedValueTags in class AXmodelElementAbstractpublic boolean existTaggedValue(java.lang.String tag)
AXmodelElementCheck weather a tagged value with the given tag name exists.
existTaggedValue in interface AXmodelElementexistTaggedValue in class AXmodelElementAbstractpublic AXmodel getModel()
AXmodelElementGet the model containing this element.
getModel in interface AXmodelElementgetModel in class AXmodelElementAbstractpublic java.lang.Object getRealElement()
AXmodelElementGet the real element, this element wraps.
getRealElement in interface AXmodelElementgetRealElement in class AXmodelElementAbstractpublic java.lang.String getStereotype()
AXmodelElementGet the stereotype of this element.
getStereotype in interface AXmodelElementgetStereotype in class AXmodelElementAbstractpublic boolean isRootPackage()
AXpackageCheck weather this is a root package.
A package is considered to be a root package, if there is no other package except the model itself that contains this package (i.e. the namespace is null or empty). The return value of this method for the model package itself is not determined.
isRootPackage in interface AXpackagepublic AXpackage getParent()
AXpackageGet the parent package of this package.
This should never be null except for the model itself. The parent package of root packages is the model.
getParent in interface AXpackagepublic java.util.List getSubPackages()
AXpackageGet all packages this package contains.
getSubPackages in interface AXpackagepublic void setModelBundle(AXmodelBundle bundle)
AXmodelSet the model bundle, this model is part of. If a bundle is set, this model should replace classifiers having the bundles reference type stereotype by types found in another model of the bundle.
setModelBundle in interface AXmodelbundle - public AXmodelBundle getModelBundle()
AXmodelGet this models model bundle.
getModelBundle in interface AXmodelAXmodel.setModelBundle(AXmodelBundle)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||