//
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 generiert
// Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2016.08.10 um 09:13:50 PM CEST
//
package net.opengis.gml;
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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Envelope that includes also a temporal extent.
*
* <p>Java-Klasse für EnvelopeWithTimePeriodType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="EnvelopeWithTimePeriodType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml}EnvelopeType">
* <sequence>
* <element ref="{http://www.opengis.net/gml}timePosition" maxOccurs="2" minOccurs="2"/>
* </sequence>
* <attribute name="frame" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="#ISO-8601" />
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EnvelopeWithTimePeriodType", propOrder = {
"timePosition"
})
public class EnvelopeWithTimePeriodType
extends EnvelopeType
{
@XmlElement(required = true)
protected List<TimePositionType> timePosition;
@XmlAttribute(name = "frame")
@XmlSchemaType(name = "anyURI")
protected String frame;
/**
* Gets the value of the timePosition 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 timePosition property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTimePosition().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TimePositionType }
*
*
*/
public List<TimePositionType> getTimePosition() {
if (timePosition == null) {
timePosition = new ArrayList<TimePositionType>();
}
return this.timePosition;
}
public boolean isSetTimePosition() {
return ((this.timePosition!= null)&&(!this.timePosition.isEmpty()));
}
public void unsetTimePosition() {
this.timePosition = null;
}
/**
* Ruft den Wert der frame-Eigenschaft ab.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFrame() {
if (frame == null) {
return "#ISO-8601";
} else {
return frame;
}
}
/**
* Legt den Wert der frame-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFrame(String value) {
this.frame = value;
}
public boolean isSetFrame() {
return (this.frame!= null);
}
public void setTimePosition(List<TimePositionType> value) {
this.timePosition = value;
}
}