com.sap.sl.sdk.authoring.datafoundation
Enum LovParameterDataType

java.lang.Object
  extended by java.lang.Enum<LovParameterDataType>
      extended by com.sap.sl.sdk.authoring.datafoundation.LovParameterDataType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LovParameterDataType>

public enum LovParameterDataType
extends java.lang.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

STRING

public static final LovParameterDataType STRING
The 'STRING' literal object.

See Also:
STRING_VALUE

NUMERIC

public static final LovParameterDataType NUMERIC
The 'NUMERIC' literal object.

See Also:
NUMERIC_VALUE

DATE

public static final LovParameterDataType DATE
The 'DATE' literal object.

See Also:
DATE_VALUE

DATE_TIME

public static final LovParameterDataType DATE_TIME
The 'DATE TIME' literal object.

See Also:
DATE_TIME_VALUE
Field Detail

STRING_VALUE

public static final int STRING_VALUE
The 'STRING' literal value.

This is the type String of a parameter.

See Also:
STRING, Constant Field Values

NUMERIC_VALUE

public static final int NUMERIC_VALUE
The 'NUMERIC' literal value.

This is the type Numeric of a parameter.

See Also:
NUMERIC, Constant Field Values

DATE_VALUE

public static final int DATE_VALUE
The 'DATE' literal value.

This is the type Date of a parameter.

See Also:
DATE, Constant Field Values

DATE_TIME_VALUE

public static final int DATE_TIME_VALUE
The 'DATE TIME' literal value.

If the meaning of 'DATE TIME' literal object isn't clear, there really should be more of a description here...

See Also:
DATE_TIME, Constant Field Values

VALUES

public static final java.util.List<LovParameterDataType> VALUES
A public read-only list of all the 'Lov Parameter Data Type' enumerators.

Method Detail

values

public static LovParameterDataType[] 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 (LovParameterDataType c : LovParameterDataType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LovParameterDataType 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 name
java.lang.NullPointerException - if the argument is null

get

public static LovParameterDataType get(java.lang.String literal)
Returns the 'Lov Parameter Data Type' literal with the specified literal value.

Parameters:
literal - A String that represents the data type of the parameter
Returns:
A LovParameterDataType object

getByName

public static LovParameterDataType getByName(java.lang.String name)
Returns the 'Lov Parameter Data Type' literal with the specified name.

Parameters:
name - The name of the data type
Returns:
A LovParameterDataType object

get

public static LovParameterDataType get(int value)
Returns the 'Lov Parameter Data Type' literal with the specified integer value.

Parameters:
value - The literal integer value
Returns:
A LovParameterDataType object

getValue

public int getValue()
Returns the literal integer value of the enumerator.

Returns:
An integer that represents the literal value

getName

public java.lang.String getName()
Returns the literal name of the enumerator.

Returns:
A String that represents the literal name

getLiteral

public java.lang.String getLiteral()
Returns the string representation of the enumerator.

Returns:
A String that represents the enumerator

toString

public java.lang.String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class java.lang.Enum<LovParameterDataType>
Returns:
A String that represents the literal


© Copyright 2016 SAP SE or an SAP affiliate company. All rights reserved.