Package org.eclipse.epsilon.emc.muddle
Class MuddleModelPropertyGetter
java.lang.Object
org.eclipse.epsilon.eol.execute.introspection.AbstractPropertyGetter
org.eclipse.epsilon.eol.execute.introspection.java.JavaPropertyGetter
org.eclipse.epsilon.emc.muddle.MuddleModelPropertyGetter
- All Implemented Interfaces:
IPropertyGetter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getDefaultSlotValue
(Feature feature) protected Feature
getFeature
(MuddleElement element, String property) protected Slot
getSlot
(MuddleElement element, Feature feature) invoke
(Object o, String property, IEolContext context) Invokes a property on a model element.Methods inherited from class org.eclipse.epsilon.eol.execute.introspection.java.JavaPropertyGetter
getMethodFor, hasProperty
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.epsilon.eol.execute.introspection.IPropertyGetter
hasProperty, invoke
-
Field Details
-
model
-
-
Constructor Details
-
MuddleModelPropertyGetter
-
-
Method Details
-
invoke
Description copied from interface:IPropertyGetter
Invokes a property on a model element.- Specified by:
invoke
in interfaceIPropertyGetter
- Overrides:
invoke
in classJavaPropertyGetter
- Parameters:
o
- The model element.property
- The property name of the model element.context
- The execution context.- Returns:
- The value of the requested property.
- Throws:
EolIllegalPropertyException
- If the property could not be found.EolRuntimeException
- If an exception occurs when querying the model for the property.
-
getDefaultSlotValue
-
getSlot
-
getFeature
-