public enum DataType extends Enum<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 and Description |
---|
COLLECTION |
DATASET |
EVENT |
IMAGE |
INTERACTIVE_RESOURCE |
MOVING_IMAGE |
PHYSICAL_OBJECT |
SERVICE |
SOFTWARE |
SOUND |
STILL_IMAGE |
TEXT |
Modifier and Type | Method and Description |
---|---|
static DataType |
fromValue(String value) |
String |
toString() |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType COLLECTION
public static final DataType DATASET
public static final DataType EVENT
public static final DataType IMAGE
public static final DataType INTERACTIVE_RESOURCE
public static final DataType MOVING_IMAGE
public static final DataType PHYSICAL_OBJECT
public static final DataType SERVICE
public static final DataType SOFTWARE
public static final DataType SOUND
public static final DataType STILL_IMAGE
public static final DataType TEXT
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 nullThis work is licensed under a Creative Commons Attribution 4.0 International License.