/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2008 - 2009, 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.wcs.xml.v100;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import java.util.List;
/**
* Full description of one coverage available from a WCS instance.
* WCS version 1.0.0
*
* <p>Java class for CoverageOfferingType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="CoverageOfferingType">
* <complexContent>
* <extension base="{http://www.opengis.net/wcs}CoverageOfferingBriefType">
* <sequence>
* <element ref="{http://www.opengis.net/wcs}domainSet"/>
* <element ref="{http://www.opengis.net/wcs}rangeSet"/>
* <element ref="{http://www.opengis.net/wcs}supportedCRSs"/>
* <element ref="{http://www.opengis.net/wcs}supportedFormats"/>
* <element ref="{http://www.opengis.net/wcs}supportedInterpolations" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
* @author Guilhem Legal
* @module
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CoverageOfferingType")
public class CoverageOfferingType extends CoverageOfferingBriefType {
private DomainSetType domainSet;
private RangeSet rangeSet;
private SupportedCRSsType supportedCRSs;
private SupportedFormatsType supportedFormats;
private SupportedInterpolationsType supportedInterpolations;
/**
* An empty constructor used by JAXB.
*/
CoverageOfferingType(){
}
/**
* build a new CoverageOffering type used in describeCoverage response.
*/
public CoverageOfferingType(final List<MetadataLinkType> metadataLink, final String name, final String label, final String description,
final LonLatEnvelopeType lonLatEnvelope, final Keywords keywords, final DomainSetType domainSet, final RangeSet rangeSet,
final SupportedCRSsType supportedCRSs, final SupportedFormatsType supportedFormats, final SupportedInterpolationsType supportedInterpolations){
super(metadataLink, name, label, description, lonLatEnvelope, keywords);
this.domainSet = domainSet;
this.rangeSet = rangeSet;
this.supportedCRSs = supportedCRSs;
this.supportedFormats = supportedFormats;
this.supportedInterpolations = supportedInterpolations;
}
/**
* build a new CoverageOffering type used in describeCoverage response.
*/
public CoverageOfferingType(final List<MetadataLinkType> metadataLink, final String name, final String label, final String description,
final LonLatEnvelopeType lonLatEnvelope, final List<String> keywords, final DomainSetType domainSet, final RangeSetType rangeSet,
final SupportedCRSsType supportedCRSs, final SupportedFormatsType supportedFormats, final SupportedInterpolationsType supportedInterpolations){
super(metadataLink, name, label, description, lonLatEnvelope, keywords);
this.domainSet = domainSet;
if (rangeSet != null) {
this.rangeSet = new RangeSet(rangeSet);
}
this.supportedCRSs = supportedCRSs;
this.supportedFormats = supportedFormats;
this.supportedInterpolations = supportedInterpolations;
}
/**
* Return the domainSet property
*/
public DomainSetType getDomainSet() {
return domainSet;
}
/**
* Return the rangeSet property
*/
public RangeSet getRangeSet(){
return rangeSet;
}
/**
* Return the domainSet property
*/
public SupportedCRSsType getSupportedCRSs(){
return supportedCRSs;
}
/**
* Return the domainSet property
*/
public SupportedFormatsType getSupportedFormats(){
return supportedFormats;
}
/**
* Return the domainSet property
*/
public SupportedInterpolationsType getSupportedInterpolations(){
return supportedInterpolations;
}
}