Enum Class DataType

java.lang.Object
java.lang.Enum<DataType>
ddf.catalog.data.types.constants.core.DataType
All Implemented Interfaces:
Serializable, Comparable<DataType>, Constable

public enum DataType extends Enum<DataType>
These are the allowed values for the attribute Core#DATATYPE.

These generic type(s) of the resource include the Dublin Core Metadata Initiative DCMI Type Vocabulary (http://dublincore.org/documents/dcmi-type-vocabulary/). DCMI Type term labels are included here, as opposed to term names.

The DDF extension types of "Document" and "Video" have been removed as of DDF-2.11.0

  • Enum Constant Details

    • COLLECTION

      public static final DataType COLLECTION
    • DATASET

      public static final DataType DATASET
    • EVENT

      public static final DataType EVENT
    • IMAGE

      public static final DataType IMAGE
    • INTERACTIVE_RESOURCE

      public static final DataType INTERACTIVE_RESOURCE
    • MOVING_IMAGE

      public static final DataType MOVING_IMAGE
    • PHYSICAL_OBJECT

      public static final DataType PHYSICAL_OBJECT
    • SERVICE

      public static final DataType SERVICE
    • SOFTWARE

      public static final DataType SOFTWARE
    • SOUND

      public static final DataType SOUND
    • STILL_IMAGE

      public static final DataType STILL_IMAGE
    • TEXT

      public static final DataType TEXT
  • Method Details

    • values

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

      public static DataType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<DataType>
    • fromValue

      public static DataType fromValue(String value)