net.opengis.sps.x10.impl.LatestResponseTimeDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: LatestResponseTime
* Namespace: http://www.opengis.net/sps/1.0
* Java type: net.opengis.sps.x10.LatestResponseTimeDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x10.impl;
/**
* A document containing one LatestResponseTime(@http://www.opengis.net/sps/1.0) element.
*
* This is a complex type.
*/
public class LatestResponseTimeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.LatestResponseTimeDocument
{
private static final long serialVersionUID = 1L;
public LatestResponseTimeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName LATESTRESPONSETIME$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "LatestResponseTime");
/**
* Gets the "LatestResponseTime" element
*/
public net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime getLatestResponseTime()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime target = null;
target = (net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime)get_store().find_element_user(LATESTRESPONSETIME$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "LatestResponseTime" element
*/
public void setLatestResponseTime(net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime latestResponseTime)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime target = null;
target = (net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime)get_store().find_element_user(LATESTRESPONSETIME$0, 0);
if (target == null)
{
target = (net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime)get_store().add_element_user(LATESTRESPONSETIME$0);
}
target.set(latestResponseTime);
}
}
/**
* Appends and returns a new empty "LatestResponseTime" element
*/
public net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime addNewLatestResponseTime()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime target = null;
target = (net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime)get_store().add_element_user(LATESTRESPONSETIME$0);
return target;
}
}
/**
* An XML LatestResponseTime(@http://www.opengis.net/sps/1.0).
*
* This is a complex type.
*/
public static class LatestResponseTimeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sps.x10.LatestResponseTimeDocument.LatestResponseTime
{
private static final long serialVersionUID = 1L;
public LatestResponseTimeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TIMEINSTANT$0 =
new javax.xml.namespace.QName("http://www.opengis.net/gml", "TimeInstant");
/**
* Gets the "TimeInstant" element
*/
public net.opengis.gml.TimeInstantType getTimeInstant()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.TimeInstantType target = null;
target = (net.opengis.gml.TimeInstantType)get_store().find_element_user(TIMEINSTANT$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "TimeInstant" element
*/
public void setTimeInstant(net.opengis.gml.TimeInstantType timeInstant)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.TimeInstantType target = null;
target = (net.opengis.gml.TimeInstantType)get_store().find_element_user(TIMEINSTANT$0, 0);
if (target == null)
{
target = (net.opengis.gml.TimeInstantType)get_store().add_element_user(TIMEINSTANT$0);
}
target.set(timeInstant);
}
}
/**
* Appends and returns a new empty "TimeInstant" element
*/
public net.opengis.gml.TimeInstantType addNewTimeInstant()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.TimeInstantType target = null;
target = (net.opengis.gml.TimeInstantType)get_store().add_element_user(TIMEINSTANT$0);
return target;
}
}
}
}