public class EmfPropertySetter extends AbstractPropertySetter implements IReflectivePropertySetter
ast, context, object, property| Constructor and Description |
|---|
EmfPropertySetter() |
| 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 void |
copyCollectionValues(Collection<?> source,
Collection<Object> target) |
protected org.eclipse.emf.ecore.EObject |
getEObject() |
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, setPropertypublic 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.public void invoke(Object value) throws EolRuntimeException
invoke in interface IPropertySetterEolRuntimeExceptionprotected void copyCollectionValues(Collection<?> source, Collection<Object> target)
protected org.eclipse.emf.ecore.EObject getEObject()
throws EolIllegalPropertyException
EolIllegalPropertyExceptionCopyright © 2018. All rights reserved.