I - Type of the command's identity.D - Type of the command's data.C - Type of the command's data execution coding format.public class ReadWriteCommand<I,D,C> extends ReadCommand<I,D,C>
| Constructor and Description |
|---|
ReadWriteCommand(I identity,
Codec<D,C> codec)
Creates a new read/write command.
|
| Modifier and Type | Method and Description |
|---|---|
protected Codec<D,C> |
getCodec()
Gets the command codec.
|
void |
set(D data)
Sets the new value.
|
get, getDecoderequals, getIdentity, hashCode, toStringpublic ReadWriteCommand(I identity, Codec<D,C> codec) throws NullPointerException
identity - Command identity.codec - Command codec used to map from modeled data to command
execution format.NullPointerException - If either identity or codec is null.Copyright © 2014. All Rights Reserved.