|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LovParameterDataType>
com.sap.sl.sdk.authoring.datafoundation.LovParameterDataType
public enum LovParameterDataType
A representation of the literals of the enumeration 'Lov Parameter Data Type', and utility methods to work with them.
This enum represents the different data types that a column of a list of values can take.
Enum Constant Summary | |
---|---|
DATE
The 'DATE' literal object. |
|
DATE_TIME
The 'DATE TIME' literal object. |
|
NUMERIC
The 'NUMERIC' literal object. |
|
STRING
The 'STRING' literal object. |
Field Summary | |
---|---|
static int |
DATE_TIME_VALUE
The 'DATE TIME' literal value. |
static int |
DATE_VALUE
The 'DATE' literal value. |
static int |
NUMERIC_VALUE
The 'NUMERIC' literal value. |
static int |
STRING_VALUE
The 'STRING' literal value. |
static java.util.List<LovParameterDataType> |
VALUES
A public read-only list of all the 'Lov Parameter Data Type' enumerators. |
Method Summary | |
---|---|
static LovParameterDataType |
get(int value)
Returns the 'Lov Parameter Data Type' literal with the specified integer value. |
static LovParameterDataType |
get(java.lang.String literal)
Returns the 'Lov Parameter Data Type' literal with the specified literal value. |
static LovParameterDataType |
getByName(java.lang.String name)
Returns the 'Lov Parameter Data 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 LovParameterDataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LovParameterDataType[] |
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 LovParameterDataType STRING
STRING_VALUE
public static final LovParameterDataType NUMERIC
NUMERIC_VALUE
public static final LovParameterDataType DATE
DATE_VALUE
public static final LovParameterDataType DATE_TIME
DATE_TIME_VALUE
Field Detail |
---|
public static final int STRING_VALUE
This is the type String of a parameter.
STRING
,
Constant Field Valuespublic static final int NUMERIC_VALUE
This is the type Numeric of a parameter.
NUMERIC
,
Constant Field Valuespublic static final int DATE_VALUE
This is the type Date of a parameter.
DATE
,
Constant Field Valuespublic static final int DATE_TIME_VALUE
If the meaning of 'DATE TIME' literal object isn't clear, there really should be more of a description here...
DATE_TIME
,
Constant Field Valuespublic static final java.util.List<LovParameterDataType> VALUES
Method Detail |
---|
public static LovParameterDataType[] values()
for (LovParameterDataType c : LovParameterDataType.values()) System.out.println(c);
public static LovParameterDataType 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 LovParameterDataType get(java.lang.String literal)
literal
- A String that represents the data type of the parameter
LovParameterDataType
object
public static LovParameterDataType getByName(java.lang.String name)
name
- The name of the data type
LovParameterDataType
object
public static LovParameterDataType get(int value)
value
- The literal integer value
LovParameterDataType
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<LovParameterDataType>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |