/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2005, Open Geospatial Consortium Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation;
* version 2.1 of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.opengis.filter.temporal;
import org.opengis.annotation.XmlElement;
/**
* Filter operator that determines if a temporal object contains another temporal object as defined
* by the Filter Encoding Specification.
* <p>
* The TContains operator is defined by ISO 19108 and has the following semantics:
* <table border='1'>
* <tr align='center'>
* <td>t1,t2</td><td>t1[],t2</td><td>t1,t2[]</td><td>t1[],t2[]</td>
* </tr>
* <tr>
* <td>n/a</td><td>t1.start < t2 < t1.end</td><td>n/a</td><td>t1.start < t2.start and t2.end < t1.end</td>
* </tr>
* </table>
* </p>
*
* @author Justin Deoliveira, OpenGeo
* @see http://portal.opengeospatial.org/files/?artifact_id=39968
* @since 8.0
*
* @source $URL$
*/
@XmlElement("TContains")
public interface TContains extends BinaryTemporalOperator {
/** Operator name */
public static final String NAME = "TContains";
}