//
// 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* The abstract supertype for temporal primitives.
*
* <p>Java-Klasse für AbstractTimePrimitiveType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="AbstractTimePrimitiveType">
* <complexContent>
* <extension base="{http://www.opengis.net/gml}AbstractTimeObjectType">
* <sequence>
* <element name="relatedTime" type="{http://www.opengis.net/gml}RelatedTimeType" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractTimePrimitiveType", propOrder = {
"relatedTime"
})
@XmlSeeAlso({
AbstractTimeGeometricPrimitiveType.class,
AbstractTimeTopologyPrimitiveType.class
})
public abstract class AbstractTimePrimitiveType
extends AbstractTimeObjectType
{
protected List<RelatedTimeType> relatedTime;
/**
* Gets the value of the relatedTime 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 relatedTime property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getRelatedTime().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link RelatedTimeType }
*
*
*/
public List<RelatedTimeType> getRelatedTime() {
if (relatedTime == null) {
relatedTime = new ArrayList<RelatedTimeType>();
}
return this.relatedTime;
}
public boolean isSetRelatedTime() {
return ((this.relatedTime!= null)&&(!this.relatedTime.isEmpty()));
}
public void unsetRelatedTime() {
this.relatedTime = null;
}
public void setRelatedTime(List<RelatedTimeType> value) {
this.relatedTime = value;
}
}