public class PrimitiveOperation extends Object
| Constructor and Description |
|---|
PrimitiveOperation(OperationId id,
byte[] value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
int |
hashCode() |
OperationId |
id()
Returns the operation identifier.
|
static PrimitiveOperation |
operation(OperationId id)
Creates a new primitive operation with a simplified identifier and a null value.
|
static PrimitiveOperation |
operation(OperationId id,
byte[] value)
Creates a new primitive operation with a simplified identifier.
|
String |
toString() |
byte[] |
value()
Returns the operation value.
|
public PrimitiveOperation(OperationId id, byte[] value)
public static PrimitiveOperation operation(OperationId id)
id - the operation identifierpublic static PrimitiveOperation operation(OperationId id, byte[] value)
id - the operation identifiervalue - the operation valuepublic OperationId id()
public byte[] value()
Copyright © 2013–2018. All rights reserved.