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

org.opengis.metadata.constraint.LegalConstraints 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.constraint;

import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;

import java.util.Collection;
import org.opengis.annotation.UML;
import org.opengis.util.InternationalString;

/**
 * Restrictions and legal prerequisites for accessing and using the resource.
 *
 * @version ISO 19115
 * @author Martin Desruisseaux (IRD)
 * @author Cory Horner (Refractions Research)
 * @since GeoAPI 2.0
 */
@UML(identifier = "MD_LegalConstraints", specification = ISO_19115)
public interface LegalConstraints extends Constraints {
    /**
     * Access constraints applied to assure the protection of privacy or intellectual property, and
     * any special restrictions or limitations on obtaining the resource.
     *
     * @return Access constraints applied to assure the protection of privacy or intellectual
     *     property.
     */
    @UML(identifier = "accessConstraints", obligation = OPTIONAL, specification = ISO_19115)
    Collection getAccessConstraints();

    /**
     * Constraints applied to assure the protection of privacy or intellectual property, and any
     * special restrictions or limitations or warnings on using the resource.
     *
     * @return Constraints applied to assure the protection of privacy or intellectual property.
     */
    @UML(identifier = "useConstraints", obligation = OPTIONAL, specification = ISO_19115)
    Collection getUseConstraints();

    /**
     * Other restrictions and legal prerequisites for accessing and using the resource. This method
     * should returns a non-empty value only if {@linkplain #getAccessConstraints access
     * constraints} or {@linkplain #getUseConstraints use constraints} declares {@linkplain
     * Restriction#OTHER_RESTRICTIONS other restrictions}.
     *
     * @return Other restrictions and legal prerequisites for accessing and using the resource.
     */
    @UML(identifier = "otherConstraints", obligation = CONDITIONAL, specification = ISO_19115)
    Collection getOtherConstraints();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy