Data Request Broker
2-3-release

Package fr.gael.drb.value

Envelope classes and operations for primitive values of DRB.

See:
          Description

Interface Summary
Arithmetic Arithmetic expression evaluation.
Comparison Generic comparison operator.
Logic Generic logical operator.
Numeric Standard numeric values : from boolean to double.
NumericArray Numeric array value wrapper.
Sumable Sumable expression evaluation.
Value Generic value wrapper for multiple purposes.
ValueArray Generic array value wrapper.
ValueFormat Interface to format the value.
 

Class Summary
AbstractNumericArray Generic numeric array wrapper.
AbstractValueArray Generic array value wrapper.
Binary The Binary class is a generic wrapper for binary values.
BinaryInteger The BinaryInteger class is a generic wrapper for binary integer values.
Boolean The Boolean class is a generic wrapper for boolean values.
BooleanArray The BooleanArray class is a generic wrapper for boolean array values.
Byte The Byte class is a generic wrapper for byte values.
ByteArray The ByteArray class is a generic wrapper for byte array values.
DateTime The DateTime class is a generic wrapper for Date values.
DayTimeDuration The DayTimeDuration class is a generic wrapper for day/time duration.
Decimal The Decimal class is a generic wrapper for decimal values.
DefaultValueArray Generic array value wrapper.
Double The Double class is a generic wrapper for double values.
DoubleArray The DoubleArray class is a generic wrapper for double array values.
Duration The DateTime class is a generic wrapper for Date values.
Float The Float class is a generic wrapper for float values.
FloatArray The FloatArray class is a generic wrapper for float array values.
Int The Int class is a generic wrapper for int values.
IntArray The IntArray class is a generic wrapper for int array values.
Integer The Integer class is a generic wrapper for decimal values.
Long The Long class is a generic wrapper for long values.
LongArray The LongArray class is a generic wrapper for long array values.
Short The Short class is a generic wrapper for short values.
ShortArray The ShortArray class is a generic wrapper for short array values.
String The String class is a generic wrapper for string values.
UnsignedByte The UnsignedByte class is a generic wrapper for unsigned byte values.
UnsignedByteArray The UnsignedByteArray class is a generic wrapper for unsigned byte array values.
UnsignedInt The UnsignedInt class is a wrapper for unsigned integer values.
UnsignedIntArray The UnsignedIntegerArray class is a generic wrapper for unsigned int array values.
UnsignedLong The UnsignedLong class is a generic wrapper for unsigned long values.
UnsignedLongArray The UnsignedLongArray class is a generic wrapper for unsigned long array values.
UnsignedShort The UnsignedShort class is a generic wrapper for unsigned short values.
UnsignedShortArray The UnsignedShortArray class is a generic wrapper for unsigned short array values.
YearMonthDuration The YearMonthDuration class is a generic wrapper for year/month duration.
 

Package fr.gael.drb.value Description

Envelope classes and operations for primitive values of DRB.

DRB API® relies also on a unified value type model to represent the atomic value which is physically extracted from the data sources. Indeed, values coming from different files are usually formatted in different ways. They must be converted into a unique format to be able to be processed all together. The implementations shall return a value encoded according to a pre-defined format.

The fr.gael.drb.value package contains several interfaces defining how operation, assignment and converting are implemented. DRB API® relies on Java primitive data type standard and a subset of XML Schema data types. The Value, ValueArray, Numeric, NumericArray and DateTime interfaces define how value are typed. The Arithmetic, Logic and Comparison interfaces defines how operations are organised. The fr.gael.drb.value package contains a unified set of value classes. These classes wrap classes provided inherently by Java primitive data type and add methods specific to DRB API®. Indeed, the Java primitive data type may not be used as they are. They are mainly employed for querying evaluation: dynamic coercion may be applied while converting to comply with output type requirement. Actually, there is no need to know the real type embedded in the value. Note that each data type has a identifier which is defined in the Value interface.

The supported Value types:

Value Type Array Unsigned
BinaryInteger No No
Boolean Yes N/A
Byte Yes Yes
DateTime No N/A
Double Yes N/A
Float Yes N/A
Integer Yes Yes
Long Yes Yes
Short Yes Yes
String No N/A


Data Request Broker - DRB API®
2-3-release

Copyright© 2001-2009 GAEL Consultant. All rights reserved. Use is subject to license terms .