Class GenericDataFieldDTO

java.lang.Object
de.aeb.xnsg.foundation.bf.genericdata.GenericDataFieldDTO

public class GenericDataFieldDTO extends Object
A field of a generic data record.
  • Field Details

    • TYPE_STRING

      public static final String TYPE_STRING
      Constant for type 'string'
      See Also:
    • TYPE_INT

      public static final String TYPE_INT
      Constant for type 'int'
      See Also:
    • TYPE_LONG

      public static final String TYPE_LONG
      Constant for type 'long'
      See Also:
    • TYPE_DECIMAL

      public static final String TYPE_DECIMAL
      Constant for type 'decimal'
      See Also:
    • TYPE_BOOLEAN

      public static final String TYPE_BOOLEAN
      Constant for type 'boolean'
      See Also:
    • TYPE_DATETIME

      public static final String TYPE_DATETIME
      Constant for type 'dateTime'
      See Also:
    • TYPE_BASE64BINARY

      public static final String TYPE_BASE64BINARY
      Constant for type 'base64Binary'
      See Also:
    • DATE_TIME_FORMAT

      public static final String DATE_TIME_FORMAT
      Constant for dateTime format: "yyyy-MM-dd'T'HH:mm:ss"
      See Also:
    • name

      public String 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

      public String 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

      public String 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()