com.pax.dal.entity
Enum EmmcInfo
- java.lang.Object
-
- java.lang.Enum<EmmcInfo>
-
- com.pax.dal.entity.EmmcInfo
-
-
Enum Constant Summary
Enum Constants Enum Constant and Description EMMC_LIFE_EXCEEDEDOFLIFEExceeded its maximum estimated device life timeExceeded its maximum estimated device life timeEMMC_LIFE_NOT_DEFINEDnot definednot definedEMMC_LIFE_USED_00% - 10% device life time used0% - 10% device life time usedEMMC_LIFE_USED_1010% - 20% device life time used10% - 20% device life time usedEMMC_LIFE_USED_2020% - 30% device life time used20% - 30% device life time usedEMMC_LIFE_USED_3030% - 40% device life time used30% - 40% device life time usedEMMC_LIFE_USED_4040% - 50% device life time used40% - 50% device life time usedEMMC_LIFE_USED_5050% - 60% device life time used50% - 60% device life time usedEMMC_LIFE_USED_6060% - 70% device life time used60% - 70% device life time usedEMMC_LIFE_USED_7070% - 80% device life time used70% - 80% device life time usedEMMC_LIFE_USED_8080% - 90% device life time used80% - 90% device life time usedEMMC_LIFE_USED_9090% - 100% device life time used90% - 100% device life time used
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static EmmcInfofromValue(int value)java.lang.StringgetInfo()intgetValue()static EmmcInfovalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EmmcInfo[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMMC_LIFE_NOT_DEFINED
public static final EmmcInfo EMMC_LIFE_NOT_DEFINED
not definednot defined
-
EMMC_LIFE_USED_0
public static final EmmcInfo EMMC_LIFE_USED_0
0% - 10% device life time used0% - 10% device life time used
-
EMMC_LIFE_USED_10
public static final EmmcInfo EMMC_LIFE_USED_10
10% - 20% device life time used10% - 20% device life time used
-
EMMC_LIFE_USED_20
public static final EmmcInfo EMMC_LIFE_USED_20
20% - 30% device life time used20% - 30% device life time used
-
EMMC_LIFE_USED_30
public static final EmmcInfo EMMC_LIFE_USED_30
30% - 40% device life time used30% - 40% device life time used
-
EMMC_LIFE_USED_40
public static final EmmcInfo EMMC_LIFE_USED_40
40% - 50% device life time used40% - 50% device life time used
-
EMMC_LIFE_USED_50
public static final EmmcInfo EMMC_LIFE_USED_50
50% - 60% device life time used50% - 60% device life time used
-
EMMC_LIFE_USED_60
public static final EmmcInfo EMMC_LIFE_USED_60
60% - 70% device life time used60% - 70% device life time used
-
EMMC_LIFE_USED_70
public static final EmmcInfo EMMC_LIFE_USED_70
70% - 80% device life time used70% - 80% device life time used
-
EMMC_LIFE_USED_80
public static final EmmcInfo EMMC_LIFE_USED_80
80% - 90% device life time used80% - 90% device life time used
-
EMMC_LIFE_USED_90
public static final EmmcInfo EMMC_LIFE_USED_90
90% - 100% device life time used90% - 100% device life time used
-
EMMC_LIFE_EXCEEDEDOFLIFE
public static final EmmcInfo EMMC_LIFE_EXCEEDEDOFLIFE
Exceeded its maximum estimated device life timeExceeded its maximum estimated device life time
-
-
Method Detail
-
values
public static EmmcInfo[] 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 (EmmcInfo c : EmmcInfo.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmmcInfo 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 namejava.lang.NullPointerException- if the argument is null
-
getInfo
public java.lang.String getInfo()
-
getValue
public int getValue()
-
-