io.github11904212.java.stac.client.search.ItemCollection Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-stac-client Show documentation
Show all versions of java-stac-client Show documentation
A Java client for working with STAC-APIs
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();
}