public class BinaryValueRepresentation extends AbstractValueRepresentation
Constructor and Description |
---|
BinaryValueRepresentation(SerializationType serializationType,
byte[] value)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getAsByteArray()
Returns the value as the actual type (that is, a byte array.)
|
java.lang.Object |
getValue()
Retrieves the actual value returned from the server.
|
getSerializationType
public BinaryValueRepresentation(SerializationType serializationType, byte[] value)
serializationType
- The serialization type.value
- The actual encoded value, as a byte array.public java.lang.Object getValue()
ValueRepresentation
public byte[] getAsByteArray()