Enum DATA_TYPE

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DATA_TYPE>, Named

    public enum DATA_TYPE
    extends java.lang.Enum<DATA_TYPE>
    implements Named
    See Also:
    DATATYPE
    • 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​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • byName

        public static DATA_TYPE byName​(java.lang.String name)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface Named
      • getMappedClass

        public java.lang.Class<?> getMappedClass()
      • getActualValue

        public java.lang.Object getActualValue​(java.lang.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: