Enum Class VitalStatusType

java.lang.Object
java.lang.Enum<VitalStatusType>
org.emau.icmvc.ttp.epix.common.model.enums.VitalStatusType
All Implemented Interfaces:
Serializable, Comparable<VitalStatusType>, Constable

public enum VitalStatusType extends Enum<VitalStatusType>
Author:
moser
  • Enum Constant Details

  • Method Details

    • values

      public static VitalStatusType[] 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 VitalStatusType 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
    • getDefaultStatus

      public VitalStatus getDefaultStatus()
    • getSymbol

      public char getSymbol()
    • isDead

      public boolean isDead()
    • isAlive

      public boolean isAlive()
    • isUnknown

      public boolean isUnknown()
    • isDead

      public static boolean isDead(VitalStatus status)
    • isAlive

      public static boolean isAlive(VitalStatus status)
    • isUnknown

      public static boolean isUnknown(VitalStatus status)
    • fromSymbol

      public static VitalStatusType fromSymbol(String symbol)
    • fromSymbol

      public static VitalStatusType fromSymbol(Character symbol)
    • fromSymbol

      public static VitalStatusType fromSymbol(char symbol)
    • isValidSymbol

      public static boolean isValidSymbol(char symbol)
    • getDefault

      public static VitalStatusType getDefault()
    • getDefaultSymbol

      public static char getDefaultSymbol()
    • getType

      public static VitalStatusType getType(VitalStatus vitalStatus)