Enum Class EnumGenericStatus

java.lang.Object
java.lang.Enum<EnumGenericStatus>
fr.paris.lutece.plugins.grubusiness.business.web.rs.EnumGenericStatus
All Implemented Interfaces:
Serializable, Comparable<EnumGenericStatus>, Constable

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

  • Method Details

    • values

      public static EnumGenericStatus[] 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 EnumGenericStatus 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
    • getStatusId

      public Integer getStatusId()
      Returns:
      the _nStatusId
    • getLabel

      public String getLabel()
      Returns:
      the _strLabel
    • isFinalStatus

      public boolean isFinalStatus()
      Returns:
      true if is final
    • exists

      public static boolean exists(Integer nIdStatus)
      Check if id status exist
      Parameters:
      nIdStatus -
      Returns:
      true if exist
    • getByStatusId

      public static EnumGenericStatus getByStatusId(Integer nIdStatus)
      Return EnumGenericStatus by id status
      Parameters:
      nIdStatus -
      Returns:
      enumGenericStatus