org.opengis.metadata.citation.CitationDate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gt-opengis Show documentation
Show all versions of gt-opengis Show documentation
Standard interfaces implemented throughout the library.
The newest version!
/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2004-2005, Open Geospatial Consortium Inc.
*
* All Rights Reserved. http://www.opengis.org/legal/
*/
package org.opengis.metadata.citation;
import static org.opengis.annotation.ComplianceLevel.*;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
import java.util.Date;
import org.opengis.annotation.Profile;
import org.opengis.annotation.UML;
/**
* Reference date and event used to describe it.
*
* @version ISO 19115
* @author Martin Desruisseaux (IRD)
* @since GeoAPI 2.0
*/
@Profile(level = CORE)
@UML(identifier = "CI_Date", specification = ISO_19115)
public interface CitationDate {
/**
* Reference date for the cited resource.
*
* @return Reference date for the cited resource.
*/
@Profile(level = CORE)
@UML(identifier = "date", obligation = MANDATORY, specification = ISO_19115)
Date getDate();
/**
* Event used for reference date.
*
* @return Event used for reference date.
*/
@Profile(level = CORE)
@UML(identifier = "dateType", obligation = MANDATORY, specification = ISO_19115)
DateType getDateType();
}