public interface Value
AttributeValue
is a container for a typed vaule of
an attribute in a notification. An AttributeValue
can
be of type String
, byte[]
,
int
, long
, double
, and
boolean
. Modifier and Type | Field and Description |
---|---|
static int |
BOOL
boolean type.
|
static int |
BYTEARRAY
string of bytes
|
static int |
DOUBLE
double type.
|
static int |
INT
integer type.
|
static int |
LONG
integer type.
|
static int |
NULL
null type, the default type of a Siena attribute
|
static int |
STRING
string of bytes
an alias to
BYTEARRAY
provided only for backward compatibility |
Modifier and Type | Method and Description |
---|---|
boolean |
booleanValue() |
byte[] |
byteArrayValue() |
double |
doubleValue() |
int |
getType() |
int |
intValue() |
long |
longValue() |
java.lang.String |
stringValue() |
static final int NULL
static final int BYTEARRAY
static final int STRING
BYTEARRAY
provided only for backward compatibilitystatic final int LONG
long
type.static final int INT
int
type.static final int DOUBLE
double
type.static final int BOOL
boolean
type.
Copyright © 2005-2011 Antonio Carzaniga.
This documentation is maintained by Antonio Carzaniga