net.opengis.swe.x101.impl.TimeAggregateDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: TimeAggregate
* Namespace: http://www.opengis.net/swe/1.0.1
* Java type: net.opengis.swe.x101.TimeAggregateDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x101.impl;
/**
* A document containing one TimeAggregate(@http://www.opengis.net/swe/1.0.1) element.
*
* This is a complex type.
*/
public class TimeAggregateDocumentImpl extends net.opengis.gml.impl.TimeObjectDocumentImpl implements net.opengis.swe.x101.TimeAggregateDocument
{
private static final long serialVersionUID = 1L;
public TimeAggregateDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TIMEAGGREGATE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "TimeAggregate");
/**
* Gets the "TimeAggregate" element
*/
public net.opengis.swe.x101.TimeAggregateType getTimeAggregate()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimeAggregateType target = null;
target = (net.opengis.swe.x101.TimeAggregateType)get_store().find_element_user(TIMEAGGREGATE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "TimeAggregate" element
*/
public void setTimeAggregate(net.opengis.swe.x101.TimeAggregateType timeAggregate)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimeAggregateType target = null;
target = (net.opengis.swe.x101.TimeAggregateType)get_store().find_element_user(TIMEAGGREGATE$0, 0);
if (target == null)
{
target = (net.opengis.swe.x101.TimeAggregateType)get_store().add_element_user(TIMEAGGREGATE$0);
}
target.set(timeAggregate);
}
}
/**
* Appends and returns a new empty "TimeAggregate" element
*/
public net.opengis.swe.x101.TimeAggregateType addNewTimeAggregate()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimeAggregateType target = null;
target = (net.opengis.swe.x101.TimeAggregateType)get_store().add_element_user(TIMEAGGREGATE$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy