Enum Class FoundationType

java.lang.Object
java.lang.Enum<FoundationType>
org.ehrbase.openehr.aqlengine.pathanalysis.FoundationType
All Implemented Interfaces:
Serializable, Comparable<FoundationType>, Constable

public enum FoundationType extends Enum<FoundationType>
https://specifications.openehr.org/releases/BASE/latest/foundation_types.html

Note that the types names are based on the Archie type model and are not fully aligned with the specification.

  • Enum Constant Details

    • BOOLEAN

      public static final FoundationType BOOLEAN
    • BYTE

      public static final FoundationType BYTE
      Java-Alias for "Octet". Only as multiple-valued for byte arrays
    • DOUBLE

      public static final FoundationType DOUBLE
    • INTEGER

      public static final FoundationType INTEGER
    • LONG

      public static final FoundationType LONG
      Java-Alias for "Integer64"
    • STRING

      public static final FoundationType STRING
    • URI

      public static final FoundationType URI
    • TEMPORAL

      public static final FoundationType TEMPORAL
    • TEMPORAL_ACCESSOR

      public static final FoundationType TEMPORAL_ACCESSOR
    • TEMPORAL_AMOUNT

      public static final FoundationType TEMPORAL_AMOUNT
    • CHAR

      public static final FoundationType CHAR
      Java-Alias for "Character", Only used for TERM_MAPPING.match
    • OBJECT

      public static final FoundationType OBJECT
      Java-Alias for "Any": not a foundation type, used as generic placeholder in INTERVAL
  • Field Details

  • Method Details

    • values

      public static FoundationType[] 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 FoundationType 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
    • byTypeName

      public static Optional<FoundationType> byTypeName(String typeName)