|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ocl.ecore.internal.EcoreForeignMethods
public class EcoreForeignMethods
A collection of Foreign Methods for the UML API.
| Method Summary | |
|---|---|
static EClassifier |
getEClassifier(EPackage pkg,
String name)
Foreign method for EPackage.getEClassifier(String)
that accounts for possibility of underscore-escaped names. |
static EPackage |
getESubpackage(EPackage pkg,
String name)
Foreign method for EPackage.getESubpackages() that searches by
name and accounts for possibility of underscore-escaped names. |
static boolean |
isNamed(String name,
ENamedElement element)
Checks whether the specified element has the given name, accounting for possibility of underscore-escaped names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isNamed(String name,
ENamedElement element)
name - a possibly underscore-escaped name of an elementelement - a named element
public static EClassifier getEClassifier(EPackage pkg,
String name)
EPackage.getEClassifier(String)
that accounts for possibility of underscore-escaped names.
pkg - a packagename - a possibly underscore-escaped name of a nested classifier
null if none
public static EPackage getESubpackage(EPackage pkg,
String name)
EPackage.getESubpackages() that searches by
name and accounts for possibility of underscore-escaped names.
pkg - a packagename - a possibly underscore-escaped name of a nested package
null if none
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||