Interface IPropertySetter
-
- All Known Subinterfaces:
IReflectivePropertySetter
- All Known Implementing Classes:
AbstractPropertySetter
,BibtexPropertySetter
,CsvPropertySetter
,EmfPropertySetter
,ExtendedPropertySetter
,HtmlPropertySetter
,JavaPropertySetter
,ModelGroup.DelegatingModelElementPropertySetter
,MuddleModelPropertySetter
,PatternMatchPropertySetter
,PlainXmlPropertySetter
,SimulinkPropertySetter
,SpreadsheetPropertySetter
,TuplePropertySetter
,XmlPropertySetter
public interface IPropertySetter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
invoke(Object target, String property, Object value)
This method is provided only for convenience.void
invoke(Object target, String property, Object value, IEolContext context)
Sets a property on a given object to the specified value.
-
-
-
Method Detail
-
invoke
void invoke(Object target, String property, Object value, IEolContext context) throws EolRuntimeException
Sets a property on a given object to the specified value.- Parameters:
target
- The model element to update.property
- The name of the property of the model element.value
- The new value of the property.context
- The execution context.- Throws:
EolRuntimeException
- If anything goes wrong in updating the value.- Since:
- 1.6
-
invoke
default void invoke(Object target, String property, Object value) throws EolRuntimeException
This method is provided only for convenience. Implementations should override theinvoke(Object, String, Object, IEolContext)
method instead.- Parameters:
target
-property
-value
-- Throws:
EolRuntimeException
-
-