Interface ITypedValue
- All Known Implementing Classes:
AbstractValueComposite
,AbstractValueNumber
,AbstractValuePrimitive
,ValueArray
,ValueBoolean
,ValueByte
,ValueCharacter
,ValueDouble
,ValueFloat
,ValueInteger
,ValueLong
,ValueObject
,ValueRaw
,ValueShort
,ValueString
,ValueVoid
public interface ITypedValue
A typed value. Typed values can be either
primitives
or
composites
.-
Field Summary
Fields -
Method Summary
-
Field Details
-
TYPE_RAW
- See Also:
-
TYPE_BOOLEAN
- See Also:
-
TYPE_BYTE
- See Also:
-
TYPE_CHARACTER
- See Also:
-
TYPE_SHORT
- See Also:
-
TYPE_INTEGER
- See Also:
-
TYPE_LONG
- See Also:
-
TYPE_FLOAT
- See Also:
-
TYPE_DOUBLE
- See Also:
-
TYPE_STRING
- See Also:
-
TYPE_OBJECT
- See Also:
-
TYPE_ARRAY
- See Also:
-
-
Method Details
-
getTypeName
String getTypeName()Get the type name. One of TYPE_* or a language type (Ljava/util/ArrayList; for example)- Returns:
-
format
String format()Format the value to a readable string block.- Returns:
-
getValue
Object getValue()Get the value. The object returned depends ongetTypeName()
. For raw types, the returned byte array contains the value bytes in the target byte order.- Returns:
-