Enum Class ShareAccountStatusType

java.lang.Object
java.lang.Enum<ShareAccountStatusType>
org.apache.fineract.portfolio.shareaccounts.domain.ShareAccountStatusType
All Implemented Interfaces:
Serializable, Comparable<ShareAccountStatusType>, Constable

public enum ShareAccountStatusType extends Enum<ShareAccountStatusType>
Enum representation of ShareAccount status states.
  • Enum Constant Details

  • Method Details

    • values

      public static ShareAccountStatusType[] 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 ShareAccountStatusType 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
    • fromInt

      public static ShareAccountStatusType fromInt(Integer type)
    • hasStateOf

      public boolean hasStateOf(ShareAccountStatusType state)
    • getValue

      public Integer getValue()
    • getCode

      public String getCode()
    • isSubmittedAndPendingApproval

      public boolean isSubmittedAndPendingApproval()
    • isApproved

      public boolean isApproved()
    • isRejected

      public boolean isRejected()
    • isActive

      public boolean isActive()
    • isActiveOrAwaitingApprovalOrDisbursal

      public boolean isActiveOrAwaitingApprovalOrDisbursal()
    • isClosed

      public boolean isClosed()