/*
* 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 java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for AbstractCoordinateOperationType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="AbstractCoordinateOperationType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml/3.2}IdentifiedObjectType">
* <sequence>
* <element ref="{http://www.opengis.net/gml/3.2}domainOfValidity" minOccurs="0"/>
* <element ref="{http://www.opengis.net/gml/3.2}scope" maxOccurs="unbounded"/>
* <element ref="{http://www.opengis.net/gml/3.2}operationVersion" minOccurs="0"/>
* <element ref="{http://www.opengis.net/gml/3.2}coordinateOperationAccuracy" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.opengis.net/gml/3.2}sourceCRS" minOccurs="0"/>
* <element ref="{http://www.opengis.net/gml/3.2}targetCRS" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(/*name = "AbstractCoordinateOperationType",*/ propOrder = {
"domainOfValidity",
"scope",
"operationVersion",
"coordinateOperationAccuracy",
"sourceCRS",
"targetCRS"
})
@XmlSeeAlso({
PassThroughOperationType.class,
AbstractGeneralTransformationType.class,
AbstractGeneralConversionType.class,
ConcatenatedOperationType.class
})
public abstract class AbstractCoordinateOperationType
extends IdentifiedObjectType
{
private DomainOfValidity domainOfValidity;
@XmlElement(required = true)
private List<String> scope;
private String operationVersion;
private List<CoordinateOperationAccuracy> coordinateOperationAccuracy;
private CRSPropertyType sourceCRS;
private CRSPropertyType targetCRS;
/**
* Gets the value of the domainOfValidity property.
*
* @return
* possible object is
* {@link DomainOfValidity }
*
*/
public DomainOfValidity getDomainOfValidity() {
return domainOfValidity;
}
/**
* Sets the value of the domainOfValidity property.
*
* @param value
* allowed object is
* {@link DomainOfValidity }
*
*/
public void setDomainOfValidity(DomainOfValidity value) {
this.domainOfValidity = value;
}
/**
* Gets the value of the scope property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the scope property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getScope().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List<String> getScope() {
if (scope == null) {
scope = new ArrayList<String>();
}
return this.scope;
}
/**
* Gets the value of the operationVersion property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOperationVersion() {
return operationVersion;
}
/**
* Sets the value of the operationVersion property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOperationVersion(String value) {
this.operationVersion = value;
}
/**
* Gets the value of the coordinateOperationAccuracy property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the coordinateOperationAccuracy property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getCoordinateOperationAccuracy().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link CoordinateOperationAccuracy }
*
*
*/
public List<CoordinateOperationAccuracy> getCoordinateOperationAccuracy() {
if (coordinateOperationAccuracy == null) {
coordinateOperationAccuracy = new ArrayList<CoordinateOperationAccuracy>();
}
return this.coordinateOperationAccuracy;
}
/**
* Gets the value of the sourceCRS property.
*
* @return
* possible object is
* {@link CRSPropertyType }
*
*/
public CRSPropertyType getSourceCRS() {
return sourceCRS;
}
/**
* Sets the value of the sourceCRS property.
*
* @param value
* allowed object is
* {@link CRSPropertyType }
*
*/
public void setSourceCRS(CRSPropertyType value) {
this.sourceCRS = value;
}
/**
* Gets the value of the targetCRS property.
*
* @return
* possible object is
* {@link CRSPropertyType }
*
*/
public CRSPropertyType getTargetCRS() {
return targetCRS;
}
/**
* Sets the value of the targetCRS property.
*
* @param value
* allowed object is
* {@link CRSPropertyType }
*
*/
public void setTargetCRS(CRSPropertyType value) {
this.targetCRS = value;
}
}