Package com.im.df.api.util
Enum CalculatedReturnType
- java.lang.Object
-
- java.lang.Enum<CalculatedReturnType>
-
- com.im.df.api.util.CalculatedReturnType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CalculatedReturnType>
public enum CalculatedReturnType extends java.lang.Enum<CalculatedReturnType>
- Author:
- pzajac
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DFFieldDataTypeCapability
getDataTypeCapability()
java.lang.Class<?>
getFieldClass()
java.lang.String
toString()
static CalculatedReturnType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CalculatedReturnType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECIMAL
public static final CalculatedReturnType DECIMAL
-
INTEGER
public static final CalculatedReturnType INTEGER
-
TEXT
public static final CalculatedReturnType TEXT
-
BOOLEAN
public static final CalculatedReturnType BOOLEAN
-
-
Method Detail
-
values
public static CalculatedReturnType[] 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 (CalculatedReturnType c : CalculatedReturnType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalculatedReturnType 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 namejava.lang.NullPointerException
- if the argument is null
-
getDataTypeCapability
public DFFieldDataTypeCapability getDataTypeCapability()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<CalculatedReturnType>
-
getFieldClass
public java.lang.Class<?> getFieldClass()
-
-