| Constructor and Description |
|---|
ModelDynamicCacheBuilder(Amalthea root) |
ModelDynamicCacheBuilder(org.eclipse.emf.ecore.resource.ResourceSet resourceSet) |
| Modifier and Type | Method and Description |
|---|---|
<T> List<T> |
getElementsBasedOnName(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 org.eclipse.emf.ecore.EObject> |
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
|
<T> List<T> |
getElementsBasedOnType(Class<T> targetClass)
This method is used to get the Amalthea model elements based on the
supplied targetClass parameter
|
public <T> 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 extends org.eclipse.emf.ecore.EObject> List<T> getElementsBasedOnRegex(String regexForName,Class<T> targetClass)
regexForName - 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 <T> List<T> getElementsBasedOnType(Class<T> targetClass)
targetClass - Class of the Amalthea model element (e.g: Label, Runnable,
Task, ISR etc.,)