public static enum ExtraValue.CoordinateType extends Enum<ExtraValue.CoordinateType>
DataCube
Enum Constant and Description |
---|
COLUMN
The extra values are attached to column coordinates
only.
|
POSITION
The extra values are attached to position
coordinates only.
|
SPOT
The extra values are attached to spots.
|
Modifier and Type | Field and Description |
---|---|
private int |
value
The integer value of this coordinate type.
|
private static Map<Integer,ExtraValue.CoordinateType> |
valueMapping
Maps the integer that is stored in the database with an fileaction.
|
Modifier and Type | Method and Description |
---|---|
static ExtraValue.CoordinateType |
fromValue(int value)
Get the
CoordinateType object when you know the integer code. |
int |
getValue()
Get the integer value that is used when storing a
CoordinateType
|
abstract VirtualTable |
getVirtualTable(Type valueType)
Get the
VirtualTable used to store extra values of
this coordinate type given the value type. |
static ExtraValue.CoordinateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtraValue.CoordinateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtraValue.CoordinateType SPOT
public static final ExtraValue.CoordinateType POSITION
public static final ExtraValue.CoordinateType COLUMN
private static final Map<Integer,ExtraValue.CoordinateType> valueMapping
private final int value
public static ExtraValue.CoordinateType[] values()
for (ExtraValue.CoordinateType c : ExtraValue.CoordinateType.values()) System.out.println(c);
public static ExtraValue.CoordinateType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static ExtraValue.CoordinateType fromValue(int value)
CoordinateType
object when you know the integer code.value
- The integer valueCoordinateType
for the integer value,
or null if not foundpublic int getValue()
CoordinateType
public abstract VirtualTable getVirtualTable(Type valueType)
VirtualTable
used to store extra values of
this coordinate type given the value type.valueType
- The type of the values to store