public class JavaPropertySetter extends AbstractPropertySetter implements IReflectivePropertySetter
ast, context, object, property| Constructor and Description |
|---|
JavaPropertySetter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerce(Object value)
Coerces the given value such that it is permitted for this property.
|
boolean |
conforms(Object value)
Indicates whether the specified value is permitted for this property.
|
protected ObjectMethod |
getMethodFor(Object object,
String property,
Object value) |
void |
invoke(Object value) |
getAst, getContext, getObject, getProperty, setAst, setContext, setObject, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAst, getContext, getObject, getProperty, setAst, setContext, setObject, setPropertyprotected ObjectMethod getMethodFor(Object object, String property, Object value)
public void invoke(Object value) throws EolRuntimeException
invoke in interface IPropertySetterEolRuntimeExceptionpublic Object coerce(Object value) throws EolIllegalPropertyException
IReflectivePropertySettercoerce in interface IReflectivePropertySetterEolIllegalPropertyException - when getObject is not a valid
model object or when getProperty is not a property that
getObject knows about.public boolean conforms(Object value) throws EolIllegalPropertyException
IReflectivePropertySetterconforms in interface IReflectivePropertySetterEolIllegalPropertyException - when getObject is not a valid
model object or when getProperty is not a property that
getObject knows about.Copyright © 2016. All rights reserved.