Enum DATA_TYPE

    • Enum Constant Detail

      • STRING

        public static final DATA_TYPE STRING
      • INTEGER

        public static final DATA_TYPE INTEGER
      • DOUBLE

        public static final DATA_TYPE DOUBLE
      • BOOLEAN

        public static final DATA_TYPE BOOLEAN
      • DATE_TIME

        public static final DATA_TYPE DATE_TIME
      • DATE_DAYS_SINCE_0

        public static final DATA_TYPE DATE_DAYS_SINCE_0
      • DATE_DAYS_SINCE_1960

        public static final DATA_TYPE DATE_DAYS_SINCE_1960
      • DATE_DAYS_SINCE_1970

        public static final DATA_TYPE DATE_DAYS_SINCE_1970
      • DATE_DAYS_SINCE_1980

        public static final DATA_TYPE DATE_DAYS_SINCE_1980
      • TIME_SECONDS

        public static final DATA_TYPE TIME_SECONDS
      • DATE_TIME_SECONDS_SINCE_0

        public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_0
      • DATE_TIME_SECONDS_SINCE_1960

        public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1960
      • DATE_TIME_SECONDS_SINCE_1970

        public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1970
      • DATE_TIME_SECONDS_SINCE_1980

        public static final DATA_TYPE DATE_TIME_SECONDS_SINCE_1980
    • Method Detail

      • values

        public static DATA_TYPE[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DATA_TYPE c : DATA_TYPE.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DATA_TYPE valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getMappedClass

        public Class<?> getMappedClass()
      • getActualValue

        public Object getActualValue​(Object rawValue)
        This method convert a raw object value to the correct type as defined in the original DataDictionary. Needed for example when an unmarshalled Predicate expose a field' value as String while the value' type is defined as double in the DataFielddefinition.
        Parameters:
        rawValue -
        Returns: