Class SimulinkPropertySetter
java.lang.Object
org.eclipse.epsilon.eol.execute.introspection.AbstractPropertySetter
org.eclipse.epsilon.eol.execute.introspection.java.JavaPropertySetter
org.eclipse.epsilon.emc.simulink.introspection.java.SimulinkPropertySetter
- All Implemented Interfaces:
IPropertySetter,IReflectivePropertySetter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinvoke(Object target, String property, Object value, IEolContext context) Sets a property on a given object to the specified value.Methods inherited from class org.eclipse.epsilon.eol.execute.introspection.java.JavaPropertySetter
coerce, conforms, getMethodForMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.eol.execute.introspection.IPropertySetter
invoke, invokeMethods inherited from interface org.eclipse.epsilon.eol.execute.introspection.IReflectivePropertySetter
coerce, conforms
-
Constructor Details
-
SimulinkPropertySetter
public SimulinkPropertySetter()
-
-
Method Details
-
invoke
public void invoke(Object target, String property, Object value, IEolContext context) throws EolRuntimeException Description copied from interface:IPropertySetterSets a property on a given object to the specified value.- Specified by:
invokein interfaceIPropertySetter- Overrides:
invokein classJavaPropertySetter- 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.
-