Enum ExtraValue.CoordinateType

All Implemented Interfaces:
Serializable, Comparable<ExtraValue.CoordinateType>, java.lang.constant.Constable
Enclosing class:

public static enum ExtraValue.CoordinateType
extends 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.
See Also:
  • Enum Constant Details

    • SPOT

      public static final ExtraValue.CoordinateType SPOT
      The extra values are attached to spots. Ie. position/column coordinates.

      public static final ExtraValue.CoordinateType POSITION
      The extra values are attached to position coordinates only.
    • COLUMN

      public static final ExtraValue.CoordinateType COLUMN
      The extra values are attached to column coordinates only.
  • Field Details

    • valueMapping

      private static final Map<Integer,​ExtraValue.CoordinateType> valueMapping
      Maps the integer that is stored in the database with an fileaction.
    • value

      private final int value
      The integer value of this coordinate type. Used when stored in the database.
  • Constructor Details

    • CoordinateType

      private CoordinateType​(int value)
  • Method Details

    • values

      public static ExtraValue.CoordinateType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ExtraValue.CoordinateType 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • fromValue

      public static ExtraValue.CoordinateType fromValue​(int value)
      Get the CoordinateType object when you know the integer code.
      value - The integer value
      The CoordinateType for the integer value, or null if not found
    • getValue

      public int getValue()
      Get the integer value that is used when storing a CoordinateType in the database.
      The intger value of this coordinate type
    • getVirtualTable

      public abstract VirtualTable getVirtualTable​(Type valueType)
      Get the VirtualTable used to store extra values of this coordinate type given the value type.
      valueType - The type of the values to store