Class GenericDataFieldDTO
java.lang.Object
de.aeb.xnsg.foundation.bf.genericdata.GenericDataFieldDTO
A field of a generic data record.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Constant for dateTime format: "yyyy-MM-dd'T'HH:mm:ss"Name of this field, i.e.Data type of the field.static final String
Constant for type 'base64Binary'static final String
Constant for type 'boolean'static final String
Constant for type 'dateTime'static final String
Constant for type 'decimal'static final String
Constant for type 'int'static final String
Constant for type 'long'static final String
Constant for type 'string'Value of the field. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TYPE_STRING
Constant for type 'string'- See Also:
-
TYPE_INT
Constant for type 'int'- See Also:
-
TYPE_LONG
Constant for type 'long'- See Also:
-
TYPE_DECIMAL
Constant for type 'decimal'- See Also:
-
TYPE_BOOLEAN
Constant for type 'boolean'- See Also:
-
TYPE_DATETIME
Constant for type 'dateTime'- See Also:
-
TYPE_BASE64BINARY
Constant for type 'base64Binary'- See Also:
-
DATE_TIME_FORMAT
Constant for dateTime format: "yyyy-MM-dd'T'HH:mm:ss"- See Also:
-
name
Name of this field, i.e. the role the field plays in the enclosing record.
When the same name is repeated in the context of the same parent record, it is assumed that the parent defines this element as a repeatable (array) element.
-
value
Value of the field.
The format follows the conventions of xml schema encoding, see http://www.w3.org/TR/xmlschema-2/.
Currently implemented formats:
- string - the plain string
- int - digits base10, +-2^31
- long - digits base10, +-2^63
- decimal - +-123456.789
- boolean - the literals 'true' and 'false'
- dateTime - yyyy-MM-ddTHH:mm:ss
- base64Binary - binary data in base64 encoding
-
type
Data type of the field.
This is not strictly necessary since the receiving entity should be able to infer the structure with its own meta data; it may be used however for sanity checks.
The format follows the conventions of xml schema encoding, see <a href=\"http://www.w3.org/TR/xmlschema-2/\">http://www.w3.org/TR/xmlschema-2/.
Currently implemented formats:
- string
- int
- long
- decimal
- boolean
- dateTime
- base64Binary
-
-
Constructor Details
-
GenericDataFieldDTO
public GenericDataFieldDTO()
-