net.opengis.swe.x20.impl.CountRangeDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: CountRange
* Namespace: http://www.opengis.net/swe/2.0
* Java type: net.opengis.swe.x20.CountRangeDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x20.impl;
/**
* A document containing one CountRange(@http://www.opengis.net/swe/2.0) element.
*
* This is a complex type.
*/
public class CountRangeDocumentImpl extends net.opengis.swe.x20.impl.AbstractSimpleComponentDocumentImpl implements net.opengis.swe.x20.CountRangeDocument
{
private static final long serialVersionUID = 1L;
public CountRangeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName COUNTRANGE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "CountRange");
/**
* Gets the "CountRange" element
*/
public net.opengis.swe.x20.CountRangeType getCountRange()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.CountRangeType target = null;
target = (net.opengis.swe.x20.CountRangeType)get_store().find_element_user(COUNTRANGE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "CountRange" element
*/
public void setCountRange(net.opengis.swe.x20.CountRangeType countRange)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.CountRangeType target = null;
target = (net.opengis.swe.x20.CountRangeType)get_store().find_element_user(COUNTRANGE$0, 0);
if (target == null)
{
target = (net.opengis.swe.x20.CountRangeType)get_store().add_element_user(COUNTRANGE$0);
}
target.set(countRange);
}
}
/**
* Appends and returns a new empty "CountRange" element
*/
public net.opengis.swe.x20.CountRangeType addNewCountRange()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.CountRangeType target = null;
target = (net.opengis.swe.x20.CountRangeType)get_store().add_element_user(COUNTRANGE$0);
return target;
}
}
}