Enum EnumGenericStatus

    • Method Detail

      • values

        public static EnumGenericStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EnumGenericStatus c : EnumGenericStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EnumGenericStatus valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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