- java.lang.Object
-
- java.lang.Enum<DataRepresentation.Base>
-
- com.pervasive.datarush.tokens.DataRepresentation.Base
-
- All Implemented Interfaces:
Serializable
,Comparable<DataRepresentation.Base>
- Enclosing class:
- DataRepresentation
public static enum DataRepresentation.Base extends Enum<DataRepresentation.Base>
The default value that is assumed for unspecified values.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataRepresentation.Base
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataRepresentation.Base[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final DataRepresentation.Base NULL
Unspecified values signify a null or missing value.
-
ZERO
public static final DataRepresentation.Base ZERO
Unspecified values signify a "zero". Each type has its own "zero" value. For numerical types, this value is zero. For strings it is the empty string. For enumerated values, it is the value corresponding to an ordinal of zero.
-
-
Method Detail
-
values
public static DataRepresentation.Base[] 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 (DataRepresentation.Base c : DataRepresentation.Base.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataRepresentation.Base valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-