Enum Class EPrefix
- All Implemented Interfaces:
Serializable,Comparable<EPrefix>,Constable,org.eclipse.emf.common.util.Enumerator
A representation of the literals of the enumeration 'EPrefix',
and utility methods for working with them.
- See Also:
- Generated:
- Model:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe 'Atto' literal object.The 'Centi' literal object.The 'Deca' literal object.The 'Deci' literal object.The 'Exa' literal object.The 'Femto' literal object.The 'Giga' literal object.The 'Hecto' literal object.The 'Kilo' literal object.The 'Mega' literal object.The 'Micro' literal object.The 'Mili' literal object.The 'Nano' literal object.The 'No P' literal object.The 'Peta' literal object.The 'Pico' literal object.The 'Tera' literal object.The 'Yocto' literal object.The 'Yotta' literal object.The 'Zepto' literal object.The 'Zetta' literal object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe 'Atto' literal value.static final intThe 'Centi' literal value.static final intThe 'Deca' literal value.static final intThe 'Deci' literal value.static final intThe 'Exa' literal value.static final intThe 'Femto' literal value.static final intThe 'Giga' literal value.static final intThe 'Hecto' literal value.static final intThe 'Kilo' literal value.static final intThe 'Mega' literal value.static final intThe 'Micro' literal value.static final intThe 'Mili' literal value.static final intThe 'Nano' literal value.static final intThe 'No P' literal value.static final intThe 'Peta' literal value.static final intThe 'Pico' literal value.static final intThe 'Tera' literal value.A public read-only list of all the 'EPrefix' enumerators.static final intThe 'Yocto' literal value.static final intThe 'Yotta' literal value.static final intThe 'Zepto' literal value.static final intThe 'Zetta' literal value. -
Method Summary
Modifier and TypeMethodDescriptionstatic EPrefixget(int value) Returns the 'EPrefix' literal with the specified integer value.static EPrefixReturns the 'EPrefix' literal with the specified literal value.static EPrefixReturns the 'EPrefix' literal with the specified name.getName()intgetValue()toString()Returns the literal value of the enumerator, which is its string representation.static EPrefixReturns the enum constant of this class with the specified name.static EPrefix[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_P
The 'No P' literal object.- See Also:
- Generated:
- Ordered:
-
YOTTA
The 'Yotta' literal object.- See Also:
- Generated:
- Ordered:
-
ZETTA
The 'Zetta' literal object.- See Also:
- Generated:
- Ordered:
-
EXA
The 'Exa' literal object.- See Also:
- Generated:
- Ordered:
-
PETA
The 'Peta' literal object.- See Also:
- Generated:
- Ordered:
-
TERA
The 'Tera' literal object.- See Also:
- Generated:
- Ordered:
-
GIGA
The 'Giga' literal object.- See Also:
- Generated:
- Ordered:
-
MEGA
The 'Mega' literal object.- See Also:
- Generated:
- Ordered:
-
KILO
The 'Kilo' literal object.- See Also:
- Generated:
- Ordered:
-
HECTO
The 'Hecto' literal object.- See Also:
- Generated:
- Ordered:
-
DECA
The 'Deca' literal object.- See Also:
- Generated:
- Ordered:
-
DECI
The 'Deci' literal object.- See Also:
- Generated:
- Ordered:
-
CENTI
The 'Centi' literal object.- See Also:
- Generated:
- Ordered:
-
MILI
The 'Mili' literal object.- See Also:
- Generated:
- Ordered:
-
MICRO
The 'Micro' literal object.- See Also:
- Generated:
- Ordered:
-
NANO
The 'Nano' literal object.- See Also:
- Generated:
- Ordered:
-
PICO
The 'Pico' literal object.- See Also:
- Generated:
- Ordered:
-
FEMTO
The 'Femto' literal object.- See Also:
- Generated:
- Ordered:
-
ATTO
The 'Atto' literal object.- See Also:
- Generated:
- Ordered:
-
ZEPTO
The 'Zepto' literal object.- See Also:
- Generated:
- Ordered:
-
YOCTO
The 'Yocto' literal object.- See Also:
- Generated:
- Ordered:
-
-
Field Details
-
NO_P_VALUE
public static final int NO_P_VALUEThe 'No P' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="noP"
-
YOTTA_VALUE
public static final int YOTTA_VALUEThe 'Yotta' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="yotta" literal="Y"
-
ZETTA_VALUE
public static final int ZETTA_VALUEThe 'Zetta' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="zetta" literal="Z"
-
EXA_VALUE
public static final int EXA_VALUEThe 'Exa' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="exa" literal="E"
-
PETA_VALUE
public static final int PETA_VALUEThe 'Peta' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="peta" literal="P"
-
TERA_VALUE
public static final int TERA_VALUEThe 'Tera' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="tera" literal="T"
-
GIGA_VALUE
public static final int GIGA_VALUEThe 'Giga' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="giga" literal="G"
-
MEGA_VALUE
public static final int MEGA_VALUEThe 'Mega' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="mega" literal="M"
-
KILO_VALUE
public static final int KILO_VALUEThe 'Kilo' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="kilo" literal="k"
-
HECTO_VALUE
public static final int HECTO_VALUEThe 'Hecto' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="hecto" literal="h"
-
DECA_VALUE
public static final int DECA_VALUEThe 'Deca' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="deca" literal="da"
-
DECI_VALUE
public static final int DECI_VALUEThe 'Deci' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="deci" literal="d"
-
CENTI_VALUE
public static final int CENTI_VALUEThe 'Centi' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="centi" literal="c"
-
MILI_VALUE
public static final int MILI_VALUEThe 'Mili' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="mili" literal="m"
-
MICRO_VALUE
public static final int MICRO_VALUEThe 'Micro' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="micro" literal="mu"
-
NANO_VALUE
public static final int NANO_VALUEThe 'Nano' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="nano" literal="n"
-
PICO_VALUE
public static final int PICO_VALUEThe 'Pico' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="pico" literal="p"
-
FEMTO_VALUE
public static final int FEMTO_VALUEThe 'Femto' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="femto" literal="f"
-
ATTO_VALUE
public static final int ATTO_VALUEThe 'Atto' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="atto" literal="a"
-
ZEPTO_VALUE
public static final int ZEPTO_VALUEThe 'Zepto' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="zepto" literal="z"
-
YOCTO_VALUE
public static final int YOCTO_VALUEThe 'Yocto' literal value.- See Also:
- Generated:
- Ordered:
- Model:
- name="yocto" literal="y"
-
VALUES
A public read-only list of all the 'EPrefix' enumerators.- Generated:
-
-
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
-
get
Returns the 'EPrefix' literal with the specified literal value.- Parameters:
literal- the literal.- Returns:
- the matching enumerator or
null. - Generated:
-
getByName
Returns the 'EPrefix' literal with the specified name.- Parameters:
name- the name.- Returns:
- the matching enumerator or
null. - Generated:
-
get
Returns the 'EPrefix' literal with the specified integer value.- Parameters:
value- the integer value.- Returns:
- the matching enumerator or
null. - Generated:
-
getValue
public int getValue()- Specified by:
getValuein interfaceorg.eclipse.emf.common.util.Enumerator- Generated:
-
getName
- Specified by:
getNamein interfaceorg.eclipse.emf.common.util.Enumerator- Generated:
-
getLiteral
- Specified by:
getLiteralin interfaceorg.eclipse.emf.common.util.Enumerator- Generated:
-
toString
Returns the literal value of the enumerator, which is its string representation.
-