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