|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ExtraValue.CoordinateType> net.sf.basedb.core.ExtraValue.CoordinateType
public static enum ExtraValue.CoordinateType
Defines which coordinates in the data cube the extra values are attached to. Extra values can be attached to any combination of the column and postion coordinate.
DataCube
Enum Constant Summary | |
---|---|
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. |
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ExtraValue.CoordinateType SPOT
public static final ExtraValue.CoordinateType POSITION
public static final ExtraValue.CoordinateType COLUMN
Field Detail |
---|
private static final Map<Integer,ExtraValue.CoordinateType> valueMapping
private final int value
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic static ExtraValue.CoordinateType fromValue(int value)
CoordinateType
object when you know the integer code.
value
- The integer value
CoordinateType
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
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |