public enum ScaleValue extends java.lang.Enum<ScaleValue>
Enum Constant and Description |
---|
MillionsOfMeasure
The Millions of measure.
|
ThousandsOfMeasure
The Thousands of measure.
|
UnitsOfMeasure
The Units of measure.
|
Modifier and Type | Method and Description |
---|---|
static ScaleValue |
fromUnlocalizedString(java.lang.String value)
From unlocalized string.
|
int |
getValue()
Gets the value.
|
java.lang.String |
toString()
To string.
|
java.lang.String |
toUnlocalizedString()
To unlocalized string.
|
static ScaleValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScaleValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScaleValue UnitsOfMeasure
public static final ScaleValue ThousandsOfMeasure
public static final ScaleValue MillionsOfMeasure
public static ScaleValue[] values()
for (ScaleValue c : ScaleValue.values()) System.out.println(c);
public static ScaleValue valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<ScaleValue>
public static ScaleValue fromUnlocalizedString(java.lang.String value)
value
- the valuepublic java.lang.String toUnlocalizedString()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa