Enum EStatus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EStatus>

    public enum EStatus
    extends java.lang.Enum<EStatus>
    This enumeration represents a status object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static EStatus cumulateStatus​(EStatus inStatus, EStatus status)
      Cumulates status
      char getStatus()
      Returns status.
      static EStatus getStatusType​(char bkndStatus)
      Determines status for given backend status.
      static EStatus valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static EStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NOT_RELEVANT

        public static final EStatus NOT_RELEVANT
        Status is not applicable.
      • NOT_PROCESSED

        public static final EStatus NOT_PROCESSED
        Status is not processed yet.
      • PARTIALLY_PROCESSED

        public static final EStatus PARTIALLY_PROCESSED
        Status has been processed, but is not yet completely processed.
      • PROCESSED

        public static final EStatus PROCESSED
        Status has already been processed.
      • CANCELLED

        public static final EStatus CANCELLED
        Status has been cancelled.
      • EXPIRED

        public static final EStatus EXPIRED
        Status is expired.
      • ACCEPTED

        public static final EStatus ACCEPTED
        Status is accepted.
      • OPEN

        public static final EStatus OPEN
        Status is open.
      • REQUEST_QUOTATION

        public static final EStatus REQUEST_QUOTATION
        Status Request for Quotation
      • UNDEFINED

        public static final EStatus UNDEFINED
        Status is not defined.
    • Method Detail

      • values

        public static EStatus[] 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 (EStatus c : EStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EStatus valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getStatusType

        public static EStatus getStatusType​(char bkndStatus)
        Determines status for given backend status.
        Parameters:
        bkndStatus - Backend status
        Returns:
        status
      • getStatus

        public char getStatus()
        Returns status.
        Returns:
        status
      • cumulateStatus

        public static EStatus cumulateStatus​(EStatus inStatus,
                                             EStatus status)
        Cumulates status
        Parameters:
        inStatus - Additional status to be concerned in the cumulation
        status - Previously cumulated status
        Returns:
        cumulated status