Enum Class DefaultAccountMemberStatuses
java.lang.Object
java.lang.Enum<DefaultAccountMemberStatuses>
com.broadleafcommerce.customer.domain.type.DefaultAccountMemberStatuses
- All Implemented Interfaces:
Serializable,Comparable<DefaultAccountMemberStatuses>,Constable
Describes the default statuses of an
AccountMember- Author:
- Sunny Yu
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents that the AccountMember is active.Represents that the AccountMember is inactive.Represents that theAccountInviteis pending. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleanisInactive(String status) static booleanisInvitePending(String status) static DefaultAccountMemberStatusesReturns the enum constant of this class with the specified name.static DefaultAccountMemberStatuses[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
Represents that the AccountMember is active. -
INACTIVE
Represents that the AccountMember is inactive. -
INVITE_PENDING
Represents that theAccountInviteis pending.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isActive
-
isInactive
-
isInvitePending
-