All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opengis.metadata.citation.CitationDate Maven / Gradle / Ivy

There is a newer version: 24.2-oss84-1
Show 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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy