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, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAst, getContext, getObject, getProperty, setAst, setContext, setObject, setProperty
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.public void invoke(Object value) throws EolRuntimeException
invoke
in interface IPropertySetter
EolRuntimeException
protected void copyCollectionValues(Collection<?> source, Collection<Object> target)
protected org.eclipse.emf.ecore.EObject getEObject() throws EolIllegalPropertyException
EolIllegalPropertyException
Copyright © 2018. All rights reserved.