|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.andromda.schema2xmi.ModelElementFinder
public class ModelElementFinder
Finds model elements by their names.
| Constructor Summary | |
|---|---|
ModelElementFinder()
|
|
| Method Summary | |
|---|---|
static java.lang.Object |
find(org.omg.uml.modelmanagement.Model model,
java.lang.String fullyQualifiedName)
Finds the model element having the fullyQualifiedName in
the model, returns null if not found. |
static java.lang.Object |
find(org.omg.uml.UmlPackage modelPackage,
java.lang.String name)
Finds and returns the first model element having the given name in the modelPackage, returns
null if not found. |
static java.lang.Object |
find(org.omg.uml.modelmanagement.UmlPackage umlPackage,
java.lang.String name)
Finds and returns the first model element having the given name in the umlPackage, returns
null if not found. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelElementFinder()
| Method Detail |
|---|
public static java.lang.Object find(org.omg.uml.modelmanagement.Model model,
java.lang.String fullyQualifiedName)
fullyQualifiedName in
the model, returns null if not found.
model - The model to searchfullyQualifiedName - the fully qualified name to find.
public static java.lang.Object find(org.omg.uml.UmlPackage modelPackage,
java.lang.String name)
name in the modelPackage, returns
null if not found.
modelPackage - The modelPackage to searchname - the name to find.
public static java.lang.Object find(org.omg.uml.modelmanagement.UmlPackage umlPackage,
java.lang.String name)
name in the umlPackage, returns
null if not found.
umlPackage - The modelPackage to searchname - the name to find.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||