use of com.canoo.dp.impl.remoting.legacy.communication.AttributeMetadataChangedCommand in project dolphin-platform by canoo.
the class AttributeMetadataChangedCommandEncoder method decode.
@Override
public AttributeMetadataChangedCommand decode(final JsonObject jsonObject) {
final AttributeMetadataChangedCommand command = new AttributeMetadataChangedCommand();
command.setAttributeId(getStringElement(jsonObject, ATTRIBUTE_ID));
command.setMetadataName(getStringElement(jsonObject, NAME));
command.setValue(ValueEncoder.decodeValue(jsonObject.get(VALUE)));
return command;
}
Aggregations