this.value = value;
}
public Object execute(CommandContext commandContext) {
final PropertyManager propertyManager = commandContext.getPropertyManager();
PropertyEntity property = propertyManager
.findPropertyById(name);
if(property != null) {
// update
property.setValue(value);
} else {
// create
property = new PropertyEntity(name, value);
propertyManager.insert(property);
}
return null;
}