
net.opengis.swe.x10.impl.TimeGridDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: TimeGrid
* Namespace: http://www.opengis.net/swe/1.0
* Java type: net.opengis.swe.x10.TimeGridDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x10.impl;
/**
* A document containing one TimeGrid(@http://www.opengis.net/swe/1.0) element.
*
* This is a complex type.
*/
public class TimeGridDocumentImpl extends net.opengis.gml.impl.TimeComplexDocumentImpl implements net.opengis.swe.x10.TimeGridDocument
{
private static final long serialVersionUID = 1L;
public TimeGridDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TIMEGRID$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0", "TimeGrid");
private static final org.apache.xmlbeans.QNameSet TIMEGRID$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0", "TimeInstantGrid"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0", "TimeGrid"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0", "TimeIntervalGrid"),
});
/**
* Gets the "TimeGrid" element
*/
public net.opengis.swe.x10.TimeGridType getTimeGrid()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x10.TimeGridType target = null;
target = (net.opengis.swe.x10.TimeGridType)get_store().find_element_user(TIMEGRID$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "TimeGrid" element
*/
public void setTimeGrid(net.opengis.swe.x10.TimeGridType timeGrid)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x10.TimeGridType target = null;
target = (net.opengis.swe.x10.TimeGridType)get_store().find_element_user(TIMEGRID$1, 0);
if (target == null)
{
target = (net.opengis.swe.x10.TimeGridType)get_store().add_element_user(TIMEGRID$0);
}
target.set(timeGrid);
}
}
/**
* Appends and returns a new empty "TimeGrid" element
*/
public net.opengis.swe.x10.TimeGridType addNewTimeGrid()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x10.TimeGridType target = null;
target = (net.opengis.swe.x10.TimeGridType)get_store().add_element_user(TIMEGRID$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy