public class ModelElementFinder extends Object
Constructor and Description |
---|
ModelElementFinder() |
Modifier and Type | Method and Description |
---|---|
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. |
public ModelElementFinder()
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.Copyright © 2003–2014 AndroMDA.org. All rights reserved.