|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Field Summary | |
static int |
FORCE_FD_NAMESPACES
|
static int |
FORCE_FU_NAMESPACES
|
static int |
ORIGINAL_NAMESPACES
|
static int |
VISIBILITY_KIND_PRIVATE
|
static int |
VISIBILITY_KIND_PROTECTED
|
static int |
VISIBILITY_KIND_PUBLIC
|
| Method Summary | |
java.util.Collection |
getAllChildren(ru.novosoft.uml.MBase m)
Returns all subordinate elements of m. |
java.util.Collection |
getAllClasses(ru.novosoft.uml.MBase root)
This method is like getAllClassifier() but returns only the classifier that are interfaces or classes. |
java.util.Collection |
getAllClassifier(ru.novosoft.uml.MBase root)
This methods all classifiers (that is interfaces and classes) which are recursively reachable via getChildren() starting from the passed root element. |
java.util.Collection |
getAllPackages(ru.novosoft.uml.MBase root)
|
java.util.Collection |
getAllParameters(ru.novosoft.uml.MBase m)
Returns all parameters of the passed method including return, in, out, and inout parameter. |
java.util.Collection |
getAllSuperclasses(ru.novosoft.uml.MBase m)
Returns all superclasses of model element m. |
java.util.Collection |
getAssociations(ru.novosoft.uml.MBase m)
Returns all associations for a passed classifier. |
java.util.Collection |
getAttributes(ru.novosoft.uml.MBase m)
returns all attributes of m. |
java.util.Collection |
getChildren(ru.novosoft.uml.MBase m)
Returns the subordinate Elements of m. |
java.util.Collection |
getClassifierOfPackage(ru.novosoft.uml.MBase pPackage)
This method returns all children of the passed model element m, that are classifier. |
java.util.Collection |
getComponents(ru.novosoft.uml.MBase m)
Returns the components, which belong to element m. |
java.util.Collection |
getConcreteSuperclasses(ru.novosoft.uml.MBase m)
This method filters all abstract superclasses from the collection returned by getAllSuperclasses() |
java.lang.String |
getDocumentation(ru.novosoft.uml.MBase m)
|
java.lang.String |
getExceptionListAsString(ru.novosoft.uml.MBase m)
This method returns a Java-compatible String which contains the throws clause for an method declaration. |
java.util.Collection |
getExceptions(ru.novosoft.uml.MBase m)
This method returns a collection of all exceptions thrown by the passed method. |
java.lang.String |
getFQName(ru.novosoft.uml.MBase m)
Returns the fully qualified name of the passed element. |
java.util.Collection |
getGeneralizations(ru.novosoft.uml.MBase m)
|
java.lang.String |
getId(ru.novosoft.uml.MBase m)
Returns the elements uuid or null |
java.lang.String |
getInitialValue(ru.novosoft.uml.MBase m)
Returns the initial value of an attribute, given as a modelelement. |
java.util.Collection |
getInterfaces(ru.novosoft.uml.MBase element)
Returns null |
java.util.Collection |
getModifiers(ru.novosoft.uml.MBase m)
Returns a collection of the modifier string representations for model element m. |
int |
getMultLower(ru.novosoft.uml.MBase m)
returns the lower value of the multiplicity for association ends or structural features, or -5, if the modelelement is not an association end or a structural feature. |
int |
getMultLower(ru.novosoft.uml.foundation.data_types.MMultiplicity mult)
Returns the lower value of the multiplicity or 0, if the multiplicity is null. |
int |
getMultUpper(ru.novosoft.uml.MBase m)
returns the upper value of the multiplicity for association ends or structural features, or -5, if the modelelement is not an association end or a structural feature. |
int |
getMultUpper(ru.novosoft.uml.foundation.data_types.MMultiplicity mult)
returns the upper value of the multiplicity or 0, if the multiplicity is null. |
java.lang.String |
getName(ru.novosoft.uml.MBase m)
This method returns in the name of the pased modelelement m. |
ru.novosoft.uml.MBase |
getNamespace(ru.novosoft.uml.MBase m)
Returns the parent namespace for modelelement m. |
java.lang.String |
getNamespaceName(ru.novosoft.uml.MBase m)
Returns getNamespaceName( m, ' |
java.lang.String |
getNamespaceName(ru.novosoft.uml.MBase m,
char pSeparator)
Returns getNamespaceName( m, pSeparator, FORCE_FD_NAMESPACES ) |
java.lang.String |
getNamespaceName(ru.novosoft.uml.MBase m,
char pSeparator,
int mode)
Returns the fully qualified package name of element m. |
java.util.Collection |
getOperations(ru.novosoft.uml.MBase m)
Returns all methods of the passed modelelement including those of the implemented intefaces. |
ru.novosoft.uml.MBase |
getOppositeEnd(ru.novosoft.uml.MBase m)
|
java.util.Collection |
getPackagesFor(ru.novosoft.uml.MBase m)
|
java.util.Collection |
getParameterList(ru.novosoft.uml.MBase m)
Returns all parameters of the passed method excluding the return parameter. |
java.lang.String |
getParameterListAsString(ru.novosoft.uml.MBase m)
This methods returns the non-return-parameters in a Java, C, C++ etc. compatible way. |
java.util.Collection |
getParameterTypeList(ru.novosoft.uml.MBase m)
Returns a collection of types. |
ru.novosoft.uml.MBase |
getParent(ru.novosoft.uml.MBase m)
Returns the element which is containing m. |
java.lang.String |
getPath(ru.novosoft.uml.MBase m)
Returns getNamespaceName( m, File.separatorChar, FORCE_FD_NAMESPACES ) |
ru.novosoft.uml.foundation.core.MClassifier |
getReturnType(ru.novosoft.uml.MBase m)
Returns the return type of the passed method. |
java.lang.String |
getReturnTypeName(ru.novosoft.uml.MBase m)
This method returns the name of the return type or "void" |
java.util.Collection |
getSpecializations(ru.novosoft.uml.MBase m)
|
java.util.Collection |
getStaticChildren(ru.novosoft.uml.MBase m)
Returns the static subordinate elements of m That is, the features for a classifier the ownedElements for a namespace the elementImports for a package the components for all modelelements Consult the OMG-UML-Metamodel-spec to overview the possible parent child relationships. |
java.lang.String |
getStereotype(ru.novosoft.uml.MBase m)
This method returns the stereotype of the passed modelelement. |
java.util.Collection |
getSubclasses(ru.novosoft.uml.MBase m)
Returns all subclasses of model element m. |
ru.novosoft.uml.MBase |
getSuperclass(ru.novosoft.uml.MBase m)
Returns the first superclass returned from getAllSuperclasses(). |
ru.novosoft.uml.MBase |
getTaggedValue(ru.novosoft.uml.MBase m,
java.lang.String tag)
returns the tagged value attached to model element m with name tag. |
java.lang.String |
getTaggedValueAsString(ru.novosoft.uml.MBase m,
java.lang.String tag)
Returns the string value of the tagged value with tag 'tag' attached to model element m. |
java.util.Collection |
getTaggedValues(ru.novosoft.uml.MBase m)
returns all tagged values, which are attached to m. |
ru.novosoft.uml.MBase |
getType(ru.novosoft.uml.MBase m)
This method returns the associated type element of the passed model element, or null if getType() is not applicable. |
java.lang.String |
getTypeName(ru.novosoft.uml.MBase m)
This method is a shortcut for getName( getType(m) ) |
java.lang.String |
getVisibility(ru.novosoft.uml.MBase m)
Returns the visibilty of model element m as a string representation. |
int |
getVisibilityKind(ru.novosoft.uml.MBase m)
Returns the int mnemonic for the visibility kind of the passed model element. |
boolean |
isAbstract(ru.novosoft.uml.MBase m)
Returns true, if m is a metamodel generalizable element object with isAbstract flag set to true. |
boolean |
isAbstraction(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel abstraction object. |
boolean |
isActor(ru.novosoft.uml.MBase m)
Prüft, ob des übergebene Element ein Actor ist |
boolean |
isAssociation(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel association object. |
boolean |
isAttribute(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel attribute object. |
boolean |
isClass(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel class object. |
boolean |
isComponent(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel component object. |
boolean |
isDataType(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel datatype object. |
boolean |
isDependency(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel dependency object. |
boolean |
isFinal(ru.novosoft.uml.MBase m)
This method is a shortcut. |
boolean |
isInterface(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel interface object. |
boolean |
isNavigable(ru.novosoft.uml.MBase m)
|
boolean |
isOperation(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel operation object. |
boolean |
isPackage(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel package object. |
boolean |
isParameter(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel parameter object. |
boolean |
isStatic(ru.novosoft.uml.MBase m)
Returns true, if m is a metamodel feature object with ownerscope set to classifier. |
boolean |
isStereotype(ru.novosoft.uml.MBase m)
Returns true, if m is an metamodel stereotype object. |
boolean |
isUseCase(ru.novosoft.uml.MBase m)
Prüft, ob des übergebene Element ein Use Case ist |
| Field Detail |
public static final int VISIBILITY_KIND_PRIVATE
public static final int VISIBILITY_KIND_PROTECTED
public static final int VISIBILITY_KIND_PUBLIC
public static final int FORCE_FU_NAMESPACES
public static final int FORCE_FD_NAMESPACES
public static final int ORIGINAL_NAMESPACES
| Method Detail |
public ru.novosoft.uml.MBase getParent(ru.novosoft.uml.MBase m)
m - subordinate element
public java.util.Collection getChildren(ru.novosoft.uml.MBase m)
m - the superordinate element
getStaticChildren(MBase)public java.util.Collection getStaticChildren(ru.novosoft.uml.MBase m)
m - the superordinate element
getChildren(MBase),
getAllChildren(MBase)public java.util.Collection getAllChildren(ru.novosoft.uml.MBase m)
m - superordinate element
getChildren(MBase)public java.util.Collection getComponents(ru.novosoft.uml.MBase m)
m - - a model element
public java.util.Collection getClassifierOfPackage(ru.novosoft.uml.MBase pPackage)
pPackage - - a model element
public ru.novosoft.uml.MBase getNamespace(ru.novosoft.uml.MBase m)
m - modelelement
getNamespaceName(MBase)public java.lang.String getNamespaceName(ru.novosoft.uml.MBase m)
m - modelelement
getNamespaceName( MBase, char, int )
public java.lang.String getNamespaceName(ru.novosoft.uml.MBase m,
char pSeparator)
m - modelelementpSeparator - - a separator char
getNamespaceName( MBase, char, int )public java.lang.String getPath(ru.novosoft.uml.MBase m)
m - modelelement
getNamespaceName( MBase, char, int )
public java.lang.String getNamespaceName(ru.novosoft.uml.MBase m,
char pSeparator,
int mode)
m - modelelementpSeparator - the separator charactermode - - see
FORCE_FU_NAMESPACES,
FORCE_FD_NAMESPACESpublic java.lang.String getName(ru.novosoft.uml.MBase m)
m - Element
public java.util.Collection getGeneralizations(ru.novosoft.uml.MBase m)
m - modelelement
public java.util.Collection getSpecializations(ru.novosoft.uml.MBase m)
m - modelelement
public java.lang.String getStereotype(ru.novosoft.uml.MBase m)
m - modelelement
public java.util.Collection getInterfaces(ru.novosoft.uml.MBase element)
public java.lang.String getFQName(ru.novosoft.uml.MBase m)
m - modelelement
getName(MBase),
getNamespaceName(MBase)public java.lang.String getId(ru.novosoft.uml.MBase m)
m - - the modelelement
public java.lang.String getInitialValue(ru.novosoft.uml.MBase m)
m - - the modelelement
public java.lang.String getDocumentation(ru.novosoft.uml.MBase m)
public java.util.Collection getAllParameters(ru.novosoft.uml.MBase m)
m - Element
public java.util.Collection getParameterList(ru.novosoft.uml.MBase m)
m - Element
public java.util.Collection getParameterTypeList(ru.novosoft.uml.MBase m)
m - - the modelelement
public java.lang.String getParameterListAsString(ru.novosoft.uml.MBase m)
m - - the modelelement/the behavioral feature
public java.util.Collection getExceptions(ru.novosoft.uml.MBase m)
m - - the modelelement/ the operation
public java.lang.String getExceptionListAsString(ru.novosoft.uml.MBase m)
m - - the modelelement/ the operation
public ru.novosoft.uml.foundation.core.MClassifier getReturnType(ru.novosoft.uml.MBase m)
m - - the modelelement/the behavioral feature
public java.lang.String getReturnTypeName(ru.novosoft.uml.MBase m)
m - - the modelelement/the behavioral element
public java.util.Collection getAttributes(ru.novosoft.uml.MBase m)
m - - the modelelement
public java.util.Collection getOperations(ru.novosoft.uml.MBase m)
m - - the modelelement
public java.util.Collection getAssociations(ru.novosoft.uml.MBase m)
m - - the modelelement
public int getMultLower(ru.novosoft.uml.foundation.data_types.MMultiplicity mult)
public int getMultUpper(ru.novosoft.uml.foundation.data_types.MMultiplicity mult)
public int getMultLower(ru.novosoft.uml.MBase m)
m - - the multiplicity
public int getMultUpper(ru.novosoft.uml.MBase m)
m - - the multiplicity
public java.util.Collection getTaggedValues(ru.novosoft.uml.MBase m)
m - - the modelelement
public ru.novosoft.uml.MBase getTaggedValue(ru.novosoft.uml.MBase m,
java.lang.String tag)
m - - the modelelementtag - name of the tagged value
public java.util.Collection getAllPackages(ru.novosoft.uml.MBase root)
public java.util.Collection getPackagesFor(ru.novosoft.uml.MBase m)
public java.util.Collection getAllClassifier(ru.novosoft.uml.MBase root)
root - - start searching for classifier from this element
public java.util.Collection getAllClasses(ru.novosoft.uml.MBase root)
root - - start searching for classifier from this element
getAllClassifier(MBase)
public java.lang.String getTaggedValueAsString(ru.novosoft.uml.MBase m,
java.lang.String tag)
m - - the model elementtag - - name of the tag
public boolean isClass(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isAttribute(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isOperation(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isComponent(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isParameter(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isPackage(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isInterface(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isAbstraction(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isDependency(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isUseCase(ru.novosoft.uml.MBase m)
m - Zu prüfendes Element
public boolean isActor(ru.novosoft.uml.MBase m)
m - Zu prüfendes Element
public boolean isStereotype(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isDataType(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isAssociation(ru.novosoft.uml.MBase m)
m - - the model element
public ru.novosoft.uml.MBase getType(ru.novosoft.uml.MBase m)
m - - the model element
public java.lang.String getTypeName(ru.novosoft.uml.MBase m)
m - - the model element
getType(MBase),
getName(MBase)public int getVisibilityKind(ru.novosoft.uml.MBase m)
m - - the model element
VISIBILITY_KIND_PRIVATE,
VISIBILITY_KIND_PROTECTED,
VISIBILITY_KIND_PUBLICpublic java.lang.String getVisibility(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isAbstract(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isStatic(ru.novosoft.uml.MBase m)
m - - the model element
public boolean isFinal(ru.novosoft.uml.MBase m)
m - - the model element
public java.util.Collection getModifiers(ru.novosoft.uml.MBase m)
m - - the model element
public ru.novosoft.uml.MBase getOppositeEnd(ru.novosoft.uml.MBase m)
public boolean isNavigable(ru.novosoft.uml.MBase m)
public ru.novosoft.uml.MBase getSuperclass(ru.novosoft.uml.MBase m)
m - - the model element
getAllSuperclasses(MBase)public java.util.Collection getSubclasses(ru.novosoft.uml.MBase m)
m - - the model element
public java.util.Collection getAllSuperclasses(ru.novosoft.uml.MBase m)
m - - the model element
getGeneralizations(MBase),
getSuperclass(MBase)public java.util.Collection getConcreteSuperclasses(ru.novosoft.uml.MBase m)
m - - the model element
getAllSuperclasses(MBase)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
