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

org.opengis.metadata.distribution.Medium 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.distribution;

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

import java.util.Collection;
import javax.measure.Unit;
import org.opengis.annotation.UML;
import org.opengis.util.InternationalString;

/**
 * Information about the media on which the resource can be distributed.
 *
 * @version ISO 19115
 * @author Martin Desruisseaux (IRD)
 * @since GeoAPI 2.0
 */
@UML(identifier = "MD_Medium", specification = ISO_19115)
public interface Medium {
    /**
     * Name of the medium on which the resource can be received.
     *
     * @return Name of the medium, or {@code null}.
     */
    @UML(identifier = "name", obligation = OPTIONAL, specification = ISO_19115)
    MediumName getName();

    /**
     * Density at which the data is recorded. The numbers should be greater than zero.
     *
     * @return Density at which the data is recorded, or {@code null}.
     */
    @UML(identifier = "density", obligation = OPTIONAL, specification = ISO_19115)
    Collection getDensities();

    /**
     * Units of measure for the recording density.
     *
     * @return Units of measure for the recording density, or {@code null}.
     */
    @UML(identifier = "densityUnits", obligation = CONDITIONAL, specification = ISO_19115)
    Unit getDensityUnits();

    /**
     * Number of items in the media identified. Returns {@code null} if unknown.
     *
     * @return Number of items in the media identified, or {@code null}.
     */
    @UML(identifier = "volumes", obligation = OPTIONAL, specification = ISO_19115)
    Integer getVolumes();

    /**
     * Method used to write to the medium.
     *
     * @return Method used to write to the medium, or {@code null}.
     */
    @UML(identifier = "mediumFormat", obligation = OPTIONAL, specification = ISO_19115)
    Collection getMediumFormats();

    /**
     * Description of other limitations or requirements for using the medium.
     *
     * @return Description of other limitations for using the medium, or {@code null}.
     */
    @UML(identifier = "mediumNote", obligation = OPTIONAL, specification = ISO_19115)
    InternationalString getMediumNote();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy