/*$************************************************************************************************
**
** $Id: CitationDate.java 831 2006-05-01 00:27:23Z Desruisseaux $
**
** $URL: http://svn.code.sf.net/p/geoapi/code/branches/2.0.x/geoapi/src/main/java/org/opengis/metadata/citation/CitationDate.java $
**
** Copyright (C) 2004-2005 Open GIS Consortium, Inc.
** All Rights Reserved. http://www.opengis.org/legal/
**
*************************************************************************************************/
package org.opengis.metadata.citation;
// J2SE direct dependencies
import java.util.Date;
// Annotations
import org.opengis.annotation.UML;
import org.opengis.annotation.Profile;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
import static org.opengis.annotation.ComplianceLevel.*;
import static org.opengis.annotation.Specification.*;
/**
* Reference date and event used to describe it.
*
* @version Abstract specification 5.0
* @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.
*/
@Profile (level=CORE)
@UML(identifier="date", obligation=MANDATORY, specification=ISO_19115)
Date getDate();
/**
* Event used for reference date.
*/
@Profile (level=CORE)
@UML(identifier="dateType", obligation=MANDATORY, specification=ISO_19115)
DateType getDateType();
}
Ads help maintain this website.