Enum DublinCoreType
- java.lang.Object
-
- java.lang.Enum<DublinCoreType>
-
- mil.nga.geopackage.extension.related.dublin.DublinCoreType
-
- All Implemented Interfaces:
Serializable
,Comparable<DublinCoreType>
public enum DublinCoreType extends Enum<DublinCoreType>
Dublin Core Metadata Initiative term types- Since:
- 3.0.1
- Author:
- osbornb
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATE
A point or period of time associated with an event in the lifecycle of the resource.DESCRIPTION
An account of the resource.FORMAT
The file format, physical medium, or dimensions of the resource.IDENTIFIER
An unambiguous reference to the resource within a given context.SOURCE
A related resource from which the described resource is derived.TITLE
A name given to the resource.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DublinCoreType
fromName(String name)
Get the Dublin Core Type from the term nameString
getName()
Get the term nameString[]
getSynonyms()
Get the synonymous column namesstatic DublinCoreType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DublinCoreType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DATE
public static final DublinCoreType DATE
A point or period of time associated with an event in the lifecycle of the resource.
-
DESCRIPTION
public static final DublinCoreType DESCRIPTION
An account of the resource.
-
FORMAT
public static final DublinCoreType FORMAT
The file format, physical medium, or dimensions of the resource.
-
IDENTIFIER
public static final DublinCoreType IDENTIFIER
An unambiguous reference to the resource within a given context.
-
SOURCE
public static final DublinCoreType SOURCE
A related resource from which the described resource is derived.
-
TITLE
public static final DublinCoreType TITLE
A name given to the resource.
-
-
Method Detail
-
values
public static DublinCoreType[] 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 (DublinCoreType c : DublinCoreType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DublinCoreType 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 nameNullPointerException
- if the argument is null
-
getName
public String getName()
Get the term name- Returns:
- term name
-
getSynonyms
public String[] getSynonyms()
Get the synonymous column names- Returns:
- synonyms
-
fromName
public static DublinCoreType fromName(String name)
Get the Dublin Core Type from the term name- Parameters:
name
- term name- Returns:
- Dublin Core type
-
-