Enum Class ValueType

java.lang.Object
java.lang.Enum<ValueType>
org.hisp.dhis.model.ValueType
All Implemented Interfaces:
Serializable, Comparable<ValueType>, Constable

public enum ValueType extends Enum<ValueType>
  • Enum Constant Details

    • TEXT

      public static final ValueType TEXT
    • LONG_TEXT

      public static final ValueType LONG_TEXT
    • MULTI_TEXT

      public static final ValueType MULTI_TEXT
    • LETTER

      public static final ValueType LETTER
    • PHONE_NUMBER

      public static final ValueType PHONE_NUMBER
    • EMAIL

      public static final ValueType EMAIL
    • BOOLEAN

      public static final ValueType BOOLEAN
    • TRUE_ONLY

      public static final ValueType TRUE_ONLY
    • DATE

      public static final ValueType DATE
    • DATETIME

      public static final ValueType DATETIME
    • TIME

      public static final ValueType TIME
    • NUMBER

      public static final ValueType NUMBER
    • UNIT_INTERVAL

      public static final ValueType UNIT_INTERVAL
    • PERCENTAGE

      public static final ValueType PERCENTAGE
    • INTEGER

      public static final ValueType INTEGER
    • INTEGER_POSITIVE

      public static final ValueType INTEGER_POSITIVE
    • INTEGER_NEGATIVE

      public static final ValueType INTEGER_NEGATIVE
    • INTEGER_ZERO_OR_POSITIVE

      public static final ValueType INTEGER_ZERO_OR_POSITIVE
    • TRACKER_ASSOCIATE

      public static final ValueType TRACKER_ASSOCIATE
    • USERNAME

      public static final ValueType USERNAME
    • COORDINATE

      public static final ValueType COORDINATE
    • ORGANISATION_UNIT

      public static final ValueType ORGANISATION_UNIT
    • REFERENCE

      public static final ValueType REFERENCE
    • AGE

      public static final ValueType AGE
    • URL

      public static final ValueType URL
    • FILE_RESOURCE

      public static final ValueType FILE_RESOURCE
    • IMAGE

      public static final ValueType IMAGE
    • GEOJSON

      public static final ValueType GEOJSON
  • Field Details

    • INTEGER_TYPES

      public static final Set<ValueType> INTEGER_TYPES
    • DECIMAL_TYPES

      public static final Set<ValueType> DECIMAL_TYPES
    • BOOLEAN_TYPES

      public static final Set<ValueType> BOOLEAN_TYPES
    • TEXT_TYPES

      public static final Set<ValueType> TEXT_TYPES
    • DATE_TYPES

      public static final Set<ValueType> DATE_TYPES
    • FILE_TYPES

      public static final Set<ValueType> FILE_TYPES
    • GEO_TYPES

      public static final Set<ValueType> GEO_TYPES
    • NUMERIC_TYPES

      public static final Set<ValueType> NUMERIC_TYPES
  • Method Details

    • values

      public static ValueType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ValueType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • isInteger

      public boolean isInteger()
    • isDecimal

      public boolean isDecimal()
    • isBoolean

      public boolean isBoolean()
    • isText

      public boolean isText()
    • isDate

      public boolean isDate()
    • isFile

      public boolean isFile()
    • isGeo

      public boolean isGeo()
    • isOrganisationUnit

      public boolean isOrganisationUnit()
    • isNumeric

      public boolean isNumeric()