|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sintef.mofscript.uml2Extensions.runtime.UML2_MOFScriptUtil
public class UML2_MOFScriptUtil
Utility class for UML2
Field Summary | |
---|---|
static int[] |
umlOperationParameters
|
static java.lang.String[] |
umlOperations
Holds the list of valid UML2 operations |
static java.lang.String[] |
umlProposals
|
Constructor Summary | |
---|---|
UML2_MOFScriptUtil()
|
Method Summary | |
---|---|
static java.util.Set |
getKeywords(org.eclipse.emf.ecore.EObject forObject)
|
static org.eclipse.emf.ecore.EObject |
getStereoType(org.eclipse.emf.ecore.EObject forObject,
java.lang.String name)
returns a named stereotype for a uml2 element |
static java.util.Set |
getStereoTypes(org.eclipse.emf.ecore.EObject forObject)
returns the stereotypes for a UML2 element |
static java.util.List |
getStereoTypesFromAnnotation(org.eclipse.emf.ecore.EObject forObject,
org.eclipse.emf.ecore.resource.ResourceSet rSet)
Returns a stereotype defined by an annotation |
static java.lang.Object |
getValue(org.eclipse.emf.ecore.EObject forObject,
java.lang.Object stereotype,
java.lang.String name)
|
static boolean |
hasKeyword(org.eclipse.emf.ecore.EObject forObject,
java.lang.String name)
|
static java.lang.Boolean |
hasValue(org.eclipse.emf.ecore.EObject forObject,
java.lang.Object stereotype,
java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String[] umlOperations
public static final int[] umlOperationParameters
public static final java.lang.String[] umlProposals
Constructor Detail |
---|
public UML2_MOFScriptUtil()
Method Detail |
---|
public static java.util.Set getStereoTypes(org.eclipse.emf.ecore.EObject forObject)
forObject
-
public static org.eclipse.emf.ecore.EObject getStereoType(org.eclipse.emf.ecore.EObject forObject, java.lang.String name)
forObject
- name
-
public static java.lang.Object getValue(org.eclipse.emf.ecore.EObject forObject, java.lang.Object stereotype, java.lang.String name) throws MofScriptExecutionException
forObject
- stereotype
- name
-
MofScriptExecutionException
public static java.lang.Boolean hasValue(org.eclipse.emf.ecore.EObject forObject, java.lang.Object stereotype, java.lang.String name) throws MofScriptExecutionException
forObject
- stereotype
- name
-
MofScriptExecutionException
public static java.util.Set getKeywords(org.eclipse.emf.ecore.EObject forObject)
forObject
-
public static boolean hasKeyword(org.eclipse.emf.ecore.EObject forObject, java.lang.String name)
forObject
- name
-
public static java.util.List getStereoTypesFromAnnotation(org.eclipse.emf.ecore.EObject forObject, org.eclipse.emf.ecore.resource.ResourceSet rSet)
forObject
- rSet
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |