| java.lang.Object org.andromda.schema2xmi.ModelElementFinder
ModelElementFinder | public class ModelElementFinder (Code) | | Finds model elements by their names.
author: Chad Brandon |
Method Summary | |
public static Object | find(Model model, String fullyQualifiedName) Finds the model element having the fullyQualifiedName in
the model , returns null if not found.
Parameters: model - The model to search Parameters: fullyQualifiedName - the fully qualified name to find. | public 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.
Parameters: modelPackage - The modelPackage to search Parameters: name - the name to find. | public 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.
Parameters: umlPackage - The modelPackage to search Parameters: name - the name to find. |
find | public static Object find(Model model, String fullyQualifiedName)(Code) | | Finds the model element having the fullyQualifiedName in
the model , returns null if not found.
Parameters: model - The model to search Parameters: fullyQualifiedName - the fully qualified name to find. the found model element. |
find | public static Object find(org.omg.uml.UmlPackage modelPackage, String name)(Code) | | Finds and returns the first model element having the given
name in the modelPackage , returns
null if not found.
Parameters: modelPackage - The modelPackage to search Parameters: name - the name to find. the found model element. |
find | public static Object find(org.omg.uml.modelmanagement.UmlPackage umlPackage, String name)(Code) | | Finds and returns the first model element having the given
name in the umlPackage , returns
null if not found.
Parameters: umlPackage - The modelPackage to search Parameters: name - the name to find. the found model element. |
|
|