- All Implemented Interfaces:
Serializable
,Comparable<DateType>
,ControlledVocabulary
@UML(identifier="CI_DateTypeCode",
specification=ISO_19115)
public final class DateType
extends CodeList<DateType>
Identification of when a given event occurred
- Since:
- 2.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opengis.util.CodeList
CodeList.Filter
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DateType
Date identifies when the resource was adopted.static final DateType
Date identifies when the resource was brought into existence.static final DateType
Date identifies when the resource was deprecated.static final DateType
Date identifies when an instance of the resource was distributed.static final DateType
Date identifies when resource expires.static final DateType
Date identifies when resource became in force.static final DateType
Date identifies when the resource was examined or re-examined and improved or amended.static final DateType
Date identifies when resource was last updated.static final DateType
Date identifies when the resource will be next updated.static final DateType
Date identifies when the resource was issued.static final DateType
The date that the resource shall be released for public access.static final DateType
Date identifies when the resource was examined or re-examined and improved or amended.static final DateType
Date identifies when resource was superseded or replaced by another resource.static final DateType
Date identifies when resource became not available or obtainable.static final DateType
Time at which the data are considered to become valid.static final DateType
Time at which the data are no longer considered to be valid. -
Method Summary
Methods inherited from class org.opengis.util.CodeList
compareTo, identifier, name, ordinal, readResolve, toString, valueOf, valueOf, valueOf, values
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opengis.util.ControlledVocabulary
names
-
Field Details
-
CREATION
@UML(identifier="creation", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType CREATIONDate identifies when the resource was brought into existence. -
PUBLICATION
@UML(identifier="publication", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType PUBLICATIONDate identifies when the resource was issued. -
REVISION
@UML(identifier="revision", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType REVISIONDate identifies when the resource was examined or re-examined and improved or amended. -
EXPIRY
@UML(identifier="expiry", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType EXPIRYDate identifies when resource expires.- Since:
- 3.1
-
LAST_UPDATE
@UML(identifier="lastUpdate", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType LAST_UPDATEDate identifies when resource was last updated.- Since:
- 3.1
-
LAST_REVISION
@UML(identifier="lastRevision", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType LAST_REVISIONDate identifies when the resource was examined or re-examined and improved or amended.- Since:
- 3.1
-
NEXT_UPDATE
@UML(identifier="nextUpdate", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType NEXT_UPDATEDate identifies when the resource will be next updated.- Since:
- 3.1
-
UNAVAILABLE
@UML(identifier="unavailable", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType UNAVAILABLEDate identifies when resource became not available or obtainable.- Since:
- 3.1
-
IN_FORCE
@UML(identifier="inForce", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType IN_FORCEDate identifies when resource became in force.- Since:
- 3.1
-
ADOPTED
@UML(identifier="adopted", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType ADOPTEDDate identifies when the resource was adopted.- Since:
- 3.1
-
DEPRECATED
@UML(identifier="deprecated", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType DEPRECATEDDate identifies when the resource was deprecated.- Since:
- 3.1
-
SUPERSEDED
@UML(identifier="superseded", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType SUPERSEDEDDate identifies when resource was superseded or replaced by another resource.- Since:
- 3.1
-
VALIDITY_BEGINS
@UML(identifier="validityBegins", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType VALIDITY_BEGINSTime at which the data are considered to become valid.Note: there could be quite a delay between creation and validity begins.- Since:
- 3.1
-
VALIDITY_EXPIRES
@UML(identifier="validityExpires", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType VALIDITY_EXPIRESTime at which the data are no longer considered to be valid.- Since:
- 3.1
-
RELEASED
@UML(identifier="released", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType RELEASEDThe date that the resource shall be released for public access.- Since:
- 3.1
-
DISTRIBUTION
@UML(identifier="distribution", obligation=CONDITIONAL, specification=ISO_19115) public static final DateType DISTRIBUTIONDate identifies when an instance of the resource was distributed.- Since:
- 3.1
-
-
Method Details
-
values
-
family
Returns the list of codes of the same kind as this code list element. Invoking this method is equivalent to invokingvalues()
, except that this method can be invoked on an instance of the parentCodeList
class. -
valueOf
Returns the date type that matches the given string, or returns a new one if none match it. This methods returns the first instance (in declaration order) for which the name is equals, ignoring case, to the given name. If no existing instance is found, then a new one is created for the given name.- Parameters:
code
- the name of the code to fetch or to create.- Returns:
- a code matching the given name.
-