|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.andromda.schema2xmi.ModelElementFinder
Finds model elements by their names.
| Constructor Summary | |
ModelElementFinder()
|
|
| Method Summary | |
static Object |
find(org.omg.uml.modelmanagement.Model model,
String fullyQualifiedName)
Finds the model element having the fullyQualifiedName in
the model, returns null if not found. |
static Object |
find(org.omg.uml.UmlPackage modelPackage,
String name)
Finds and returns the first model element having the given name in the modelPackage, returns
null if not found. |
static Object |
find(org.omg.uml.modelmanagement.UmlPackage umlPackage,
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 Object find(org.omg.uml.modelmanagement.Model model,
String fullyQualifiedName)
fullyQualifiedName in
the model, returns null if not found.
model - The model to searchfullyQualifiedName - the fully qualified name to find.
public static Object find(org.omg.uml.UmlPackage modelPackage,
String name)
name in the modelPackage, returns
null if not found.
modelPackage - The modelPackage to searchname - the name to find.
public static Object find(org.omg.uml.modelmanagement.UmlPackage umlPackage,
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 | |||||||||