Enum DataType

    • Enum Constant Detail

      • FEATURES_2D

        public static final DataType FEATURES_2D
        Features 2D
      • FEATURES_3D

        public static final DataType FEATURES_3D
        Features 3D
      • TILES_2D

        public static final DataType TILES_2D
        Tiles 2D
      • TILES_3D

        public static final DataType TILES_3D
        Tiles 3D
    • Method Detail

      • values

        public static DataType[] 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 (DataType c : DataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DataType 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 name
        NullPointerException - if the argument is null
      • getDataType

        public ContentsDataType getDataType()
        Get the contents data type
        Returns:
        contents data type
      • getDimension

        public int getDimension()
        Get the dimension
        Returns:
        dimension
      • isFeatures

        public boolean isFeatures()
        Is a features data type
        Returns:
        true if features
      • isTiles

        public boolean isTiles()
        Is a tiles data type
        Returns:
        true if tiles
      • is2D

        public boolean is2D()
        Is a 2D data type
        Returns:
        true if 2D
      • is3D

        public boolean is3D()
        Is a 3D data type
        Returns:
        true if 3D
      • getZ

        public byte getZ()
        Get a geometry columns z value, 0 for prohibited and 1 for mandatory
        Returns:
        z value
      • getDataTypes

        public static Set<DataType> getDataTypes​(ContentsDataType type)
        Get the data types for the contents data type
        Parameters:
        type - contents data type
        Returns:
        data types