| Constructor and Description |
|---|
SearchElementsUtility(Amalthea root) |
SearchElementsUtility(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends IReferable> |
getElementsBasedOnName(Amalthea amalthea, String name, Class<T> targetClass)
This method is used to get the Amalthea model elements based on the
supplied name and targetClass parameters
|
<T extends IReferable> |
getElementsBasedOnName(String name,
Class<T> targetClass)
This method is used to get the Amalthea model elements based on the
supplied name and targetClass parameters
|
static <T extends IReferable> |
getElementsBasedOnNameRegex(Amalthea amalthea,
String nameRegex,
Class<T> targetClass)
This method is used to get the Amalthea model elements based on the
supplied regex for name and targetClass parameters
|
<T extends IReferable> |
getElementsBasedOnRegex(String regexForName,
Class<T> targetClass)
This method is used to get the Amalthea model elements based on the
supplied regex for name and targetClass parameters
|
static <T> List<T> |
getElementsBasedOnType(Amalthea amalthea,
Class<T> targetClass)
This method is used to get the Amalthea model elements based on the
supplied targetClass parameter
|
<T> List<T> |
getElementsBasedOnType(Class<T> targetClass)
This method is used to get the Amalthea model elements based on the
supplied targetClass parameter
|
static <T> List<T> |
getElementsBasedOnType(org.eclipse.emf.ecore.EObject eObject,
Class<T> targetClass)
This method is used to get the Amalthea model elements based on the
supplied targetClass parameter
|
public <T extends IReferable> List<T> getElementsBasedOnRegex(String regexForName, Class<T> targetClass)
regexForName - String. "regex for name" of the Amalthea model element (e.g:
Label name regex : .*_msg)targetClass - Class of the Amalthea model element (e.g: Label, Runnable,
Task, ISR etc.,) public <T extends IReferable> List<T> getElementsBasedOnName(String name,Class<T> targetClass)
name - String. name of the Amalthea model element (e.g: Label name)targetClass - Class of the Amalthea model element (e.g: Label, Runnable,
Task, ISR etc.,) public <T> List<T> getElementsBasedOnType(Class<T> targetClass)
targetClass - Class of the Amalthea model element (e.g: Label, Runnable,
Task, ISR etc.,) public static <T extends IReferable> List<T> getElementsBasedOnNameRegex(Amalthea amalthea,String nameRegex,Class<T> targetClass)
amalthea - Amalthea modelnameRegex - String. name regex of the Amalthea model element (e.g: Label
name regex : .*_msg)targetClass - Class of the Amalthea model element (e.g: Label, Runnable,
Task, ISR etc.,) public static <T extends IReferable> List<T> getElementsBasedOnName(Amalthea amalthea, String name,Class<T> targetClass)
amalthea - Amalthea modelname - String. name of the Amalthea model element (e.g: Label
name : test_Msg)targetClass - Class of the Amalthea model element (e.g: Label, Runnable,
Task, ISR etc.,) public static <T> List<T> getElementsBasedOnType(Amalthea amalthea,Class<T> targetClass)
amalthea - Amalthea modeltargetClass - Class of the Amalthea model element (e.g: Label, Runnable,
Task, ISR etc.,) public static <T> List<T> getElementsBasedOnType(org.eclipse.emf.ecore.EObject eObject,Class<T> targetClass)
eObject - EObject : EMF model elementtargetClass - Class of the Amalthea model element (e.g: Label, Runnable,
Task, ISR etc.,)