...
Due to the various formats of incoming data, does not provide any hardcoded formatting rules. Instead, it provides the Ultra subsystem where nearly any format may be defined and handled using the Ultra Format Definition Language (UFDL). Such definitions will automatically compile into classes, implementing the DRUDR
interface. In addition, the DTK provides the possibility of coding such classes directly in Java.
...
DRUDRDesc
extends the DRUDRType
class, where each returned field's type may be examined. A returned field could be a primitive field but also a nested UDR (DRUDRDesc
), a list (DRUDRListDesc
), a map (DRUDRMapDesc
), a table (DRUDRTableType
) or a byte array (DRUDRRawDataDesc
).
automatically automatically creates DRUDRDesc
instances for all UDRs defined in the system.
...
To be able to support type validation and automatic code generation, implements implements a type description system that is separate from standard Java class handling. The base class for all type descriptions is DRUDRType
, and various UDR types are described by subclasses of DRUDRDesc
.
The following table lists the available types in , their type descriptions and the runtime implementation classes.
Type | Type Description | Java Object Type |
---|---|---|
any | DRUDRType.PT_ANY() | Object |
bigint | DRUDRType.PT_BIGINT() | BigInteger |
bitset | DRUDRType.PT_BIT_SET() | DRBitSet |
boolean | DRUDRType.PT_BOOLEAN() | Boolean |
byte | DRUDRType.PT_BYTE() | byte |
bytearray | DRUDRRawDataDesc | byte[] |
char | DRUDRType.PT_CHAR() | char |
date | DRUDRType.PT_DATE() | DRDate |
float | DRUDRType.PT_FLOAT() | float |
double | DRUDRType.PT_DOUBLE() | double |
int | DRUDRType.PT_INT() | int |
ipaddress | DRUDRType.PT_IPADDRESS() | DRIPAddress |
long | DRUDRType.PT_LONG() | long |
short | DRUDRType.PT_SHORT() | short |
string | DRUDRType.PT_STRING() | String |
table | DRUDRTableType | DRTable |
list type | DRUDRListDesc | DRList |
map type | DRUDRMapDesc | Map |
General UDR type | DRUDRDesc | DRUDR subtype |
DevKit UDR type | DRUDRClassDesc | DRAbstractUDR subclass |
Scroll ignore | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Scroll pagebreak |
---|