/* * 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.XmlType; /** * <p>Java class for DerivedCRSType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="DerivedCRSType"> * <complexContent> * <extension base="{http://www.opengis.net/gml/3.2}AbstractGeneralDerivedCRSType"> * <sequence> * <element ref="{http://www.opengis.net/gml/3.2}baseCRS"/> * <element ref="{http://www.opengis.net/gml/3.2}derivedCRSType"/> * <element ref="{http://www.opengis.net/gml/3.2}coordinateSystem"/> * </sequence> * </extension> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(/*name = "DerivedCRSType",*/ propOrder = { "baseCRS", "derivedCRSType", "coordinateSystem" }) public class DerivedCRSType extends AbstractGeneralDerivedCRSType { @XmlElement(required = true) private SingleCRSPropertyType baseCRS; @XmlElement(required = true) private CodeWithAuthorityType derivedCRSType; @XmlElementRef(name = "coordinateSystem", namespace = "http://www.opengis.net/gml/3.2", type = JAXBElement.class) private JAXBElement<CoordinateSystemPropertyType> coordinateSystem; /** * Gets the value of the baseCRS property. * * @return * possible object is * {@link SingleCRSPropertyType } * */ public SingleCRSPropertyType getBaseCRS() { return baseCRS; } /** * Sets the value of the baseCRS property. * * @param value * allowed object is * {@link SingleCRSPropertyType } * */ public void setBaseCRS(SingleCRSPropertyType value) { this.baseCRS = value; } /** * Gets the value of the derivedCRSType property. * * @return * possible object is * {@link CodeWithAuthorityType } * */ public CodeWithAuthorityType getDerivedCRSType() { return derivedCRSType; } /** * Sets the value of the derivedCRSType property. * * @param value * allowed object is * {@link CodeWithAuthorityType } * */ public void setDerivedCRSType(CodeWithAuthorityType value) { this.derivedCRSType = value; } /** * Gets the value of the coordinateSystem property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link CoordinateSystemPropertyType }{@code >} * {@link JAXBElement }{@code <}{@link CoordinateSystemPropertyType }{@code >} * */ public JAXBElement<CoordinateSystemPropertyType> getCoordinateSystem() { return coordinateSystem; } /** * Sets the value of the coordinateSystem property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link CoordinateSystemPropertyType }{@code >} * {@link JAXBElement }{@code <}{@link CoordinateSystemPropertyType }{@code >} * */ public void setCoordinateSystem(JAXBElement<CoordinateSystemPropertyType> value) { this.coordinateSystem = ((JAXBElement<CoordinateSystemPropertyType> ) value); } }