@Requirement(reqId="DOI_SRV_010",reqName="Cr\u00e9ation de m\u00e9tadonn\u00e9es") @Requirement(reqId="DOI_SRV_040",reqName="Mise \u00e0 jour des m\u00e9tadonn\u00e9es d\u2019un DOI") @Requirement(reqId="DOI_INTER_060",reqName="V\u00e9rification du sch\u00e9ma de m\u00e9tadonn\u00e9es") public enum DateType extends Enum<DateType>
Java class for dateType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="dateType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Accepted"/> <enumeration value="Available"/> <enumeration value="Collected"/> <enumeration value="Copyrighted"/> <enumeration value="Created"/> <enumeration value="Issued"/> <enumeration value="Other"/> <enumeration value="Submitted"/> <enumeration value="Updated"/> <enumeration value="Valid"/> </restriction> </simpleType>
Enum Constant and Description |
---|
ACCEPTED
The date that the publisher accepted the resource into their system.
|
AVAILABLE
The date the resource is made publicly available.
|
COLLECTED
The date or date range in which the resource content was collected.
|
COPYRIGHTED
The specific, documented date at which the resource receives a
copyrighted status, if applicable.
|
CREATED
The date the resource itself was put together; this could be a date range
or a single date for a final component, e.g., the finalised file with all
of the data.
|
ISSUED
The date that the resource is published or distributed e.g.
|
OTHER
Other
|
SUBMITTED
The date the creator submits the resource to the publisher.
|
UPDATED
The date of the last update to the resource, when the resource is being
added to.
|
VALID
The date or date range during which the dataset or resource is accurate.
|
Modifier and Type | Method and Description |
---|---|
static DateType |
fromValue(String v)
Finds DateType from value.
|
String |
value()
Returns the value
|
static DateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateType ACCEPTED
public static final DateType AVAILABLE
public static final DateType COLLECTED
public static final DateType COPYRIGHTED
public static final DateType CREATED
public static final DateType ISSUED
public static final DateType OTHER
public static final DateType SUBMITTED
public static final DateType UPDATED
public static final DateType VALID
private final String value
public static DateType[] values()
for (DateType c : DateType.values()) System.out.println(c);
public static DateType 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 nullpublic String value()
Copyright © 2017–2020 CNES. All rights reserved.