/*
* 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.XmlElementRef;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for DynamicFeatureType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="DynamicFeatureType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml/3.2}AbstractFeatureType">
* <group ref="{http://www.opengis.net/gml/3.2}dynamicProperties"/>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DynamicFeatureType", propOrder = {
"validTime",
"history",
"dataSource",
"dataSourceReference"
})
@XmlSeeAlso({
DynamicFeatureCollectionType.class
})
public class DynamicFeatureType
extends AbstractFeatureType
{
private TimePrimitivePropertyType validTime;
@XmlElementRef(name = "history", namespace = "http://www.opengis.net/gml/3.2", type = JAXBElement.class)
private JAXBElement<HistoryPropertyType> history;
private StringOrRefType dataSource;
private ReferenceType dataSourceReference;
/**
* Gets the value of the validTime property.
*
* @return
* possible object is
* {@link TimePrimitivePropertyType }
*
*/
public TimePrimitivePropertyType getValidTime() {
return validTime;
}
/**
* Sets the value of the validTime property.
*
* @param value
* allowed object is
* {@link TimePrimitivePropertyType }
*
*/
public void setValidTime(TimePrimitivePropertyType value) {
this.validTime = value;
}
/**
* Gets the value of the history property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link HistoryPropertyType }{@code >}
* {@link JAXBElement }{@code <}{@link HistoryPropertyType }{@code >}
*
*/
public JAXBElement<HistoryPropertyType> getHistory() {
return history;
}
/**
* Sets the value of the history property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link HistoryPropertyType }{@code >}
* {@link JAXBElement }{@code <}{@link HistoryPropertyType }{@code >}
*
*/
public void setHistory(JAXBElement<HistoryPropertyType> value) {
this.history = ((JAXBElement<HistoryPropertyType> ) value);
}
/**
* Gets the value of the dataSource property.
*
* @return
* possible object is
* {@link StringOrRefType }
*
*/
public StringOrRefType getDataSource() {
return dataSource;
}
/**
* Sets the value of the dataSource property.
*
* @param value
* allowed object is
* {@link StringOrRefType }
*
*/
public void setDataSource(StringOrRefType value) {
this.dataSource = value;
}
/**
* Gets the value of the dataSourceReference property.
*
* @return
* possible object is
* {@link ReferenceType }
*
*/
public ReferenceType getDataSourceReference() {
return dataSourceReference;
}
/**
* Sets the value of the dataSourceReference property.
*
* @param value
* allowed object is
* {@link ReferenceType }
*
*/
public void setDataSourceReference(ReferenceType value) {
this.dataSourceReference = value;
}
}