/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2011, Geomatys
*
* 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; either
* version 2.1 of the License, or (at your option) any later version.
*
* 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.geotoolkit.ogc.xml.v100;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.opengis.filter.capability.IdCapabilities;
import org.opengis.filter.capability.TemporalCapabilities;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Spatial_Capabilities" type="{http://www.opengis.net/ogc}Spatial_CapabilitiesType"/>
* <element name="Scalar_Capabilities" type="{http://www.opengis.net/ogc}Scalar_CapabilitiesType"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"spatialCapabilities",
"scalarCapabilities"
})
@XmlRootElement(name = "Filter_Capabilities")
public class FilterCapabilities implements org.opengis.filter.capability.FilterCapabilities {
@XmlElement(name = "Spatial_Capabilities", required = true)
private SpatialCapabilitiesType spatialCapabilities;
@XmlElement(name = "Scalar_Capabilities", required = true)
private ScalarCapabilitiesType scalarCapabilities;
public FilterCapabilities() {
}
public FilterCapabilities(final SpatialCapabilitiesType spatialCapabilities, final ScalarCapabilitiesType scalarCapabilities) {
this.scalarCapabilities = scalarCapabilities;
this.spatialCapabilities = spatialCapabilities;
}
/**
* Gets the value of the spatialCapabilities property.
*
* @return
* possible object is
* {@link SpatialCapabilitiesType }
*
*/
@Override
public SpatialCapabilitiesType getSpatialCapabilities() {
return spatialCapabilities;
}
/**
* Sets the value of the spatialCapabilities property.
*
* @param value
* allowed object is
* {@link SpatialCapabilitiesType }
*
*/
public void setSpatialCapabilities(SpatialCapabilitiesType value) {
this.spatialCapabilities = value;
}
/**
* Gets the value of the scalarCapabilities property.
*
* @return
* possible object is
* {@link ScalarCapabilitiesType }
*
*/
@Override
public ScalarCapabilitiesType getScalarCapabilities() {
return scalarCapabilities;
}
/**
* Sets the value of the scalarCapabilities property.
*
* @param value
* allowed object is
* {@link ScalarCapabilitiesType }
*
*/
public void setScalarCapabilities(ScalarCapabilitiesType value) {
this.scalarCapabilities = value;
}
@Override
public TemporalCapabilities getTemporalCapabilities() {
return null;
}
@Override
public IdCapabilities getIdCapabilities() {
return null;
}
@Override
public String getVersion() {
return "1.0.0";
}
}