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, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAst, getContext, getObject, getProperty, setAst, setContext, setObject, setProperty
protected ObjectMethod getMethodFor(Object object, String property, Object value)
public void invoke(Object value) throws EolRuntimeException
invoke
in interface IPropertySetter
EolRuntimeException
public Object coerce(Object value) throws EolIllegalPropertyException
IReflectivePropertySetter
coerce
in interface IReflectivePropertySetter
EolIllegalPropertyException
- 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
IReflectivePropertySetter
conforms
in interface IReflectivePropertySetter
EolIllegalPropertyException
- when getObject is not a valid
model object or when getProperty is not a property that
getObject knows about.Copyright © 2016. All rights reserved.