Enum Class ProcedimentoStatus

java.lang.Object
java.lang.Enum<ProcedimentoStatus>
br.com.selfmaintenance.domain.entities.procedimento.ProcedimentoStatus
All Implemented Interfaces:
Serializable, Comparable<ProcedimentoStatus>, Constable

public enum ProcedimentoStatus extends Enum<ProcedimentoStatus>
[ProcedimentoStatus] é a enumeração que representa os status possíveis de um procedimento.
Version:
1.0.0
See Also:
  • Enum Constant Details

    • ABERTO

      public static final ProcedimentoStatus ABERTO
      Procedimento foi aberto mas ainda não teve uma resposta
    • AGENDADO

      public static final ProcedimentoStatus AGENDADO
      Procedimento foi agendado
    • REALIZADO

      public static final ProcedimentoStatus REALIZADO
      Procedimento foi realizado
    • CANCELADO

      public static final ProcedimentoStatus CANCELADO
      Procedimento foi cancelado
  • Method Details

    • values

      public static ProcedimentoStatus[] 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 ProcedimentoStatus 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
    • getStatus

      public String getStatus()