Class JsonPropertySetter

java.lang.Object
org.eclipse.epsilon.emc.json.JsonPropertySetter
All Implemented Interfaces:
IPropertySetter

public class JsonPropertySetter extends Object implements IPropertySetter
  • Constructor Details

    • JsonPropertySetter

      public JsonPropertySetter()
  • Method Details

    • invoke

      public void invoke(Object target, String property, Object value, IEolContext context) throws EolRuntimeException
      Description copied from interface: IPropertySetter
      Sets a property on a given object to the specified value.
      Specified by:
      invoke in interface IPropertySetter
      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.