|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PredefinedNumberFormatType>
com.sap.sl.sdk.authoring.businesslayer.PredefinedNumberFormatType
public enum PredefinedNumberFormatType
A representation of the literals of the enumeration 'Predefined Number Format Type', and utility methods to work with them.
This object represents a type of predefined numeric format for a business object.
Enum Constant Summary | |
---|---|
BOOLEAN
The 'Boolean' literal object. |
|
NUMERIC
The 'Numeric' literal object. |
|
PERCENT
The 'Percent' literal object. |
|
SCIENTIFIC
The 'Scientific' literal object. |
Field Summary | |
---|---|
static int |
BOOLEAN_VALUE
The 'Boolean' literal value. |
static int |
NUMERIC_VALUE
The 'Numeric' literal value. |
static int |
PERCENT_VALUE
The 'Percent' literal value. |
static int |
SCIENTIFIC_VALUE
The 'Scientific' literal value. |
static java.util.List<PredefinedNumberFormatType> |
VALUES
A public read-only list of all the 'Predefined Number Format Type' enumerators. |
Method Summary | |
---|---|
static PredefinedNumberFormatType |
get(int value)
Returns the 'Predefined Number Format Type' literal with the specified integer value. |
static PredefinedNumberFormatType |
get(java.lang.String literal)
Returns the 'Predefined Number Format Type' literal with the specified literal value. |
static PredefinedNumberFormatType |
getByName(java.lang.String name)
Returns the 'Predefined Number Format Type' literal with the specified name. |
java.lang.String |
getLiteral()
Returns the string representation of the enumerator. |
java.lang.String |
getName()
Returns the literal name of the enumerator. |
int |
getValue()
Returns the literal integer value of the enumerator. |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static PredefinedNumberFormatType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PredefinedNumberFormatType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PredefinedNumberFormatType NUMERIC
This is the default type of an instantiated PredefinedNumberFormat
object.
NUMERIC_VALUE
public static final PredefinedNumberFormatType PERCENT
PERCENT_VALUE
public static final PredefinedNumberFormatType SCIENTIFIC
SCIENTIFIC_VALUE
public static final PredefinedNumberFormatType BOOLEAN
BOOLEAN_VALUE
Field Detail |
---|
public static final int NUMERIC_VALUE
NUMERIC
,
Constant Field Valuespublic static final int PERCENT_VALUE
PERCENT
,
Constant Field Valuespublic static final int SCIENTIFIC_VALUE
SCIENTIFIC
,
Constant Field Valuespublic static final int BOOLEAN_VALUE
BOOLEAN
,
Constant Field Valuespublic static final java.util.List<PredefinedNumberFormatType> VALUES
Method Detail |
---|
public static PredefinedNumberFormatType[] values()
for (PredefinedNumberFormatType c : PredefinedNumberFormatType.values()) System.out.println(c);
public static PredefinedNumberFormatType 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 name
java.lang.NullPointerException
- if the argument is nullpublic static PredefinedNumberFormatType get(java.lang.String literal)
literal
- The enumerator literal as a string
PredefinedNumberFormatType
object
public static PredefinedNumberFormatType getByName(java.lang.String name)
name
- The literal name of the enumerator
PredefinedNumberFormatType
object
public static PredefinedNumberFormatType get(int value)
value
- The literal integer value of the enumerator
PredefinedNumberFormatType
object
public int getValue()
public java.lang.String getName()
public java.lang.String getLiteral()
public java.lang.String toString()
toString
in class java.lang.Enum<PredefinedNumberFormatType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |