java.lang.Object
de.haumacher.msgbuf.data.AbstractDataObject
de.haumacher.msgbuf.graph.cmd.Command
de.haumacher.msgbuf.graph.cmd.SetProperty
- All Implemented Interfaces:
BinaryDataObject,DataObject,ReflectiveDataObject,Observable
An operation setting the value of a property to a new value.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.haumacher.msgbuf.graph.cmd.Command
Command.TypeKind, Command.Visitor<R,A, E extends Throwable> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifier for theSetPropertytype in JSON format.static final intIdentifier for theSetPropertytype in binary format. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SetPropertycreate()Creates aSetPropertyinstance.jsonType()The type identifier for this concrete sub-type.kind()The type code of this instance.static SetPropertyReads a new instance from the given reader.static SetPropertyReads a new instance from the given reader.inttypeId()The binary identifier for this concrete type in the polymorphicCommandhierarchy.<R,A, E extends Throwable>
Rvisit(Command.Visitor<R, A, E> v, A arg) Accepts the given visitor.Methods inherited from class de.haumacher.msgbuf.graph.cmd.Command
get, getId, getNode, getProperty, hasNode, properties, readCommand, readCommand, readField, readField, registerListener, set, setId, setNode, setProperty, unregisterListener, writeFields, writeFields, writeTo, writeToMethods inherited from class de.haumacher.msgbuf.data.AbstractDataObject
readContent, readFields, toString, writeContent
-
Field Details
-
SET_PROPERTY__TYPE
Identifier for theSetPropertytype in JSON format.- See Also:
-
SET_PROPERTY__TYPE_ID
public static final int SET_PROPERTY__TYPE_IDIdentifier for theSetPropertytype in binary format.- See Also:
-
-
Constructor Details
-
SetProperty
protected SetProperty()Creates aSetPropertyinstance.- See Also:
-
-
Method Details
-
create
Creates aSetPropertyinstance. -
kind
Description copied from class:CommandThe type code of this instance. -
jsonType
Description copied from interface:ReflectiveDataObjectThe type identifier for this concrete sub-type. -
readSetProperty
Reads a new instance from the given reader.- Throws:
IOException
-
typeId
public int typeId()Description copied from class:CommandThe binary identifier for this concrete type in the polymorphicCommandhierarchy. -
readSetProperty
Reads a new instance from the given reader.- Throws:
IOException
-
visit
Description copied from class:CommandAccepts the given visitor.
-