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

io.github11904212.java.stac.client.search.ItemCollection Maven / Gradle / Ivy

There is a newer version: 1.0.0-alpha.0.7
Show newest version
package io.github11904212.java.stac.client.search;

import io.github11904212.java.stac.client.core.Item;
import io.github11904212.java.stac.client.core.Link;

import java.util.List;

/**
 * A ItemCollection is a container holding items and links which usually represent the result of a search.
 * @see itemcollection-spec
 */
public interface ItemCollection {

    /**
     * the type of the item-collection (usually FeatureCollection).
     * @return the type.
     */
    String getType();

    /**
     * a possibly-empty list of items.
     * @return the list of {@link Item}s.
     */
    List getItems();

    /**
     * a list of links related to this item-collection.
     * @return the list of {@link Link}s.
     */
    List getLinks();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy