Enum Class CardPacketStatus
java.lang.Object
java.lang.Enum<CardPacketStatus>
ru.bitel.bgbilling.modules.cerbercrypt.common.bean.enums.CardPacketStatus
- All Implemented Interfaces:
Serializable,Comparable<CardPacketStatus>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionкарта работаетзаблокирована сервером(локером)/администраторомприостановлена клиентом -
Method Summary
Modifier and TypeMethodDescriptionstatic CardPacketStatusgetCardPacketStatusByCode(int code) intgetCode()getTitle()static CardPacketStatusReturns the enum constant of this class with the specified name.static CardPacketStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STATUS_ACTIVE
карта работает -
STATUS_LOCKED
заблокирована сервером(локером)/администратором -
STATUS_SUSPEND
приостановлена клиентом
-
-
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
-
getCode
public int getCode() -
getTitle
-
getCardPacketStatusByCode
-