java.lang.Object
de.haumacher.msgbuf.data.AbstractDataObject
de.haumacher.msgbuf.graph.cmd.Command
de.haumacher.msgbuf.graph.cmd.ListUpdate
de.haumacher.msgbuf.graph.cmd.RemoveElement
- All Implemented Interfaces:
BinaryDataObject,DataObject,ReflectiveDataObject,Observable
The removal of an element of a list value.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.haumacher.msgbuf.graph.cmd.ListUpdate
ListUpdate.Visitor<R,A, E extends Throwable> Nested classes/interfaces inherited from class de.haumacher.msgbuf.graph.cmd.Command
Command.TypeKind -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifier for theRemoveElementtype in JSON format.static final intIdentifier for theRemoveElementtype in binary format.Fields inherited from class de.haumacher.msgbuf.graph.cmd.ListUpdate
INDEX, INDEX__ID, NEXT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoveElementcreate()Creates aRemoveElementinstance.jsonType()The type identifier for this concrete sub-type.kind()The type code of this instance.static RemoveElementReads a new instance from the given reader.static RemoveElementReads a new instance from the given reader.inttypeId()The binary identifier for this concrete type in the polymorphicCommandhierarchy.<R,A, E extends Throwable>
Rvisit(ListUpdate.Visitor<R, A, E> v, A arg) Accepts the given visitor.Methods inherited from class de.haumacher.msgbuf.graph.cmd.ListUpdate
get, getIndex, getNext, hasNext, properties, readField, readField, readListUpdate, readListUpdate, set, setIndex, setNext, visit, writeFields, writeFieldsMethods inherited from class de.haumacher.msgbuf.graph.cmd.Command
getId, getNode, getProperty, hasNode, readCommand, readCommand, registerListener, setId, setNode, setProperty, unregisterListener, writeTo, writeToMethods inherited from class de.haumacher.msgbuf.data.AbstractDataObject
readContent, readFields, toString, writeContent
-
Field Details
-
REMOVE_ELEMENT__TYPE
Identifier for theRemoveElementtype in JSON format.- See Also:
-
REMOVE_ELEMENT__TYPE_ID
public static final int REMOVE_ELEMENT__TYPE_IDIdentifier for theRemoveElementtype in binary format.- See Also:
-
-
Constructor Details
-
RemoveElement
protected RemoveElement()Creates aRemoveElementinstance.- See Also:
-
-
Method Details
-
create
Creates aRemoveElementinstance. -
kind
Description copied from class:CommandThe type code of this instance. -
jsonType
Description copied from interface:ReflectiveDataObjectThe type identifier for this concrete sub-type. -
readRemoveElement
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. -
readRemoveElement
Reads a new instance from the given reader.- Throws:
IOException
-
visit
Description copied from class:ListUpdateAccepts the given visitor.- Specified by:
visitin classListUpdate- Throws:
E extends Throwable
-