net.opengis.swe.x10.impl.TypedValueListDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: TypedValueList
* Namespace: http://www.opengis.net/swe/1.0
* Java type: net.opengis.swe.x10.TypedValueListDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x10.impl;
/**
* A document containing one TypedValueList(@http://www.opengis.net/swe/1.0) element.
*
* This is a complex type.
*/
public class TypedValueListDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.swe.x10.TypedValueListDocument
{
private static final long serialVersionUID = 1L;
public TypedValueListDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TYPEDVALUELIST$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0", "TypedValueList");
/**
* Gets the "TypedValueList" element
*/
public net.opengis.swe.x10.TypedValueListType getTypedValueList()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x10.TypedValueListType target = null;
target = (net.opengis.swe.x10.TypedValueListType)get_store().find_element_user(TYPEDVALUELIST$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "TypedValueList" element
*/
public void setTypedValueList(net.opengis.swe.x10.TypedValueListType typedValueList)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x10.TypedValueListType target = null;
target = (net.opengis.swe.x10.TypedValueListType)get_store().find_element_user(TYPEDVALUELIST$0, 0);
if (target == null)
{
target = (net.opengis.swe.x10.TypedValueListType)get_store().add_element_user(TYPEDVALUELIST$0);
}
target.set(typedValueList);
}
}
/**
* Appends and returns a new empty "TypedValueList" element
*/
public net.opengis.swe.x10.TypedValueListType addNewTypedValueList()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x10.TypedValueListType target = null;
target = (net.opengis.swe.x10.TypedValueListType)get_store().add_element_user(TYPEDVALUELIST$0);
return target;
}
}
}