public class JavaPropertyGetter extends AbstractPropertyGetter
| Constructor and Description |
|---|
JavaPropertyGetter() |
| Modifier and Type | Method and Description |
|---|---|
protected ObjectMethod |
getMethodFor(Object object,
String property,
IEolContext context) |
boolean |
hasProperty(Object object,
String property,
IEolContext context)
Convenience method for checking whether a property exists.
|
Object |
invoke(Object object,
String property,
IEolContext context)
Invokes a property on a model element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasProperty, invokepublic boolean hasProperty(Object object, String property, IEolContext context)
IPropertyGetterobject - The model element.property - The property name of the model element.context - The execution context.true if the property exists, false otherwise.protected ObjectMethod getMethodFor(Object object, String property, IEolContext context)
public Object invoke(Object object, String property, IEolContext context) throws EolRuntimeException
IPropertyGetterobject - The model element.property - The property name of the model element.context - The execution context.EolIllegalPropertyException - If the property could not be found.EolRuntimeException - If an exception occurs when querying the model for the property.Copyright © 2020. All rights reserved.