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