/* * Geotoolkit - An Open Source Java GIS Toolkit * http://www.geotoolkit.org * * (C) 2008 - 2012, 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.gml.xml.v321; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for CoverageFunctionType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="CoverageFunctionType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice> * <element ref="{http://www.opengis.net/gml/3.2}MappingRule"/> * <element ref="{http://www.opengis.net/gml/3.2}CoverageMappingRule"/> * <element ref="{http://www.opengis.net/gml/3.2}GridFunction"/> * </choice> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CoverageFunctionType", propOrder = { "mappingRule", "coverageMappingRule", "gridFunction" }) public class CoverageFunctionType { @XmlElement(name = "MappingRule") private StringOrRefType mappingRule; @XmlElement(name = "CoverageMappingRule") private MappingRuleType coverageMappingRule; @XmlElement(name = "GridFunction") private GridFunctionType gridFunction; /** * Gets the value of the mappingRule property. * * @return * possible object is * {@link StringOrRefType } * */ public StringOrRefType getMappingRule() { return mappingRule; } /** * Sets the value of the mappingRule property. * * @param value * allowed object is * {@link StringOrRefType } * */ public void setMappingRule(StringOrRefType value) { this.mappingRule = value; } /** * Gets the value of the coverageMappingRule property. * * @return * possible object is * {@link MappingRuleType } * */ public MappingRuleType getCoverageMappingRule() { return coverageMappingRule; } /** * Sets the value of the coverageMappingRule property. * * @param value * allowed object is * {@link MappingRuleType } * */ public void setCoverageMappingRule(MappingRuleType value) { this.coverageMappingRule = value; } /** * Gets the value of the gridFunction property. * * @return * possible object is * {@link GridFunctionType } * */ public GridFunctionType getGridFunction() { return gridFunction; } /** * Sets the value of the gridFunction property. * * @param value * allowed object is * {@link GridFunctionType } * */ public void setGridFunction(GridFunctionType value) { this.gridFunction = value; } }