public class MuddleModelPropertySetter extends AbstractPropertySetter
| Modifier and Type | Field and Description |
|---|---|
protected MuddleModel |
model |
| Constructor and Description |
|---|
MuddleModelPropertySetter(MuddleModel model) |
| Modifier and Type | Method and Description |
|---|---|
protected Feature |
getFeature(MuddleElement element,
String property) |
protected Slot |
getSlot(MuddleElement element,
Feature feature) |
void |
invoke(Object object,
String property,
Object value,
IEolContext context)
Sets a property on a given object to the specified value.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinvokeprotected MuddleModel model
public MuddleModelPropertySetter(MuddleModel model)
public void invoke(Object object, String property, Object value, IEolContext context) throws EolRuntimeException
IPropertySetterobject - 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.EolRuntimeException - If anything goes wrong in updating the value.protected Slot getSlot(MuddleElement element, Feature feature)
protected Feature getFeature(MuddleElement element, String property)
Copyright © 2020. All rights reserved.