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