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

org.opengis.filter.Id Maven / Gradle / Ivy

/*
 *    GeoTools - The Open Source Java GIS Toolkit
 *    http://geotools.org
 *
 *    (C) 2011, Open Source Geospatial Foundation (OSGeo)
 *    (C) 2005 Open Geospatial Consortium Inc.
 *
 *    All Rights Reserved. http://www.opengis.org/legal/
 */
package org.opengis.filter;

import java.util.Set;
import org.opengis.filter.identity.Identifier;

/**
 * A filter that passes only the Identifiers listed.
 *
 * 

This application of this filter for Features is well established: * *

    *
  • FeatureId - used for GML2 Features *
  • GeometryId - used for GML3 Features and Geometry constructs *
* * We also have the following identifiers: * *
    *
  • RecordId - from CSW-2 *
  • ObjectId - from CSW-2 *
* *

You can check what kind of Identifiers are supported using: * *


 * idCapabilities.hasFID() == true; // for FeatureId
 * idCapabilities.hasEID() == true; // no idea ...
 * 
* * @author Chris Dillard (SYS Technologies) * @author Justin Deoliveira (The Open Planning Project) */ public interface Id extends Filter { /** Set of IDs representing the Identifiers used by this filter. */ Set getIDs(); /** Returns the set of identifiers used by this filter. */ Set getIdentifiers(); }