public class SpreadsheetPropertyGetter extends JavaPropertyGetter
Constructor and Description |
---|
SpreadsheetPropertyGetter(SpreadsheetModel model) |
Modifier and Type | Method and Description |
---|---|
Object |
invoke(Object object,
String columnIdentifier,
IEolContext context)
Invokes a property on a model element.
|
List<Object> |
query(Collection<?> collection,
String column,
IEolContext context) |
Object |
query(SpreadsheetRow row,
SpreadsheetColumn column) |
Object |
query(SpreadsheetRow row,
String columnIdentifier) |
getMethodFor, hasProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasProperty, invoke
public SpreadsheetPropertyGetter(SpreadsheetModel model)
public Object invoke(Object object, String columnIdentifier, IEolContext context) throws EolRuntimeException
IPropertyGetter
invoke
in interface IPropertyGetter
invoke
in class JavaPropertyGetter
object
- The model element.columnIdentifier
- 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.public List<Object> query(Collection<?> collection, String column, IEolContext context) throws EolRuntimeException
EolRuntimeException
public Object query(SpreadsheetRow row, String columnIdentifier) throws EolRuntimeException
EolRuntimeException
public Object query(SpreadsheetRow row, SpreadsheetColumn column)
Copyright © 2020. All rights reserved.