/* * 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.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlSeeAlso; import javax.xml.bind.annotation.XmlType; /** * The base type for coverages is gml:AbstractCoverageType. The basic elements of a coverage can be seen in this content model: the coverage contains gml:domainSet and gml:rangeSet properties. The gml:domainSet property describes the domain of the coverage and the gml:rangeSet property describes the range of the coverage. * * <p>Java class for AbstractCoverageType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="AbstractCoverageType"> * <complexContent> * <extension base="{http://www.opengis.net/gml/3.2}AbstractFeatureType"> * <sequence> * <element ref="{http://www.opengis.net/gml/3.2}domainSet"/> * <element ref="{http://www.opengis.net/gml/3.2}rangeSet"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AbstractCoverageType", propOrder = { "domainSet", "rangeSet" }) @XmlSeeAlso({ DiscreteCoverageType.class, AbstractContinuousCoverageType.class }) public abstract class AbstractCoverageType extends AbstractFeatureType { @XmlElementRef(name = "domainSet", namespace = "http://www.opengis.net/gml/3.2", type = JAXBElement.class) private JAXBElement<DomainSetType> domainSet; @XmlElement(required = true) private RangeSetType rangeSet; public AbstractCoverageType() { } public AbstractCoverageType(AbstractFeatureType feature, RangeSetType rangeSet, JAXBElement<DomainSetType> domainSet) { super(feature); this.rangeSet = rangeSet; this.domainSet = domainSet; } /** * Gets the value of the domainSet property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * */ public JAXBElement<DomainSetType> getDomainSet() { return domainSet; } /** * Sets the value of the domainSet property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * {@link JAXBElement }{@code <}{@link DomainSetType }{@code >} * */ public void setDomainSet(JAXBElement<DomainSetType> value) { this.domainSet = ((JAXBElement<DomainSetType> ) value); } /** * Gets the value of the rangeSet property. * * @return * possible object is * {@link RangeSetType } * */ public RangeSetType getRangeSet() { return rangeSet; } /** * Sets the value of the rangeSet property. * * @param value * allowed object is * {@link RangeSetType } * */ public void setRangeSet(RangeSetType value) { this.rangeSet = value; } }