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