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