net.opengis.sensorml.x20.impl.ArraySettingPropertyTypeImpl Maven / Gradle / Ivy
/*
* XML Type: ArraySettingPropertyType
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.ArraySettingPropertyType
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* An XML ArraySettingPropertyType(@http://www.opengis.net/sensorml/2.0).
*
* This is a complex type.
*/
public class ArraySettingPropertyTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorml.x20.ArraySettingPropertyType
{
private static final long serialVersionUID = 1L;
public ArraySettingPropertyTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ARRAYVALUES$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "ArrayValues");
private static final javax.xml.namespace.QName REF$2 =
new javax.xml.namespace.QName("", "ref");
/**
* Gets the "ArrayValues" element
*/
public net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues getArrayValues()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues target = null;
target = (net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues)get_store().find_element_user(ARRAYVALUES$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "ArrayValues" element
*/
public void setArrayValues(net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues arrayValues)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues target = null;
target = (net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues)get_store().find_element_user(ARRAYVALUES$0, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues)get_store().add_element_user(ARRAYVALUES$0);
}
target.set(arrayValues);
}
}
/**
* Appends and returns a new empty "ArrayValues" element
*/
public net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues addNewArrayValues()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues target = null;
target = (net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues)get_store().add_element_user(ARRAYVALUES$0);
return target;
}
}
/**
* Gets the "ref" attribute
*/
public java.lang.String getRef()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REF$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ref" attribute
*/
public net.opengis.sensorml.x20.DataComponentPathPropertyType xgetRef()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.DataComponentPathPropertyType target = null;
target = (net.opengis.sensorml.x20.DataComponentPathPropertyType)get_store().find_attribute_user(REF$2);
return target;
}
}
/**
* Sets the "ref" attribute
*/
public void setRef(java.lang.String ref)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REF$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REF$2);
}
target.setStringValue(ref);
}
}
/**
* Sets (as xml) the "ref" attribute
*/
public void xsetRef(net.opengis.sensorml.x20.DataComponentPathPropertyType ref)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.DataComponentPathPropertyType target = null;
target = (net.opengis.sensorml.x20.DataComponentPathPropertyType)get_store().find_attribute_user(REF$2);
if (target == null)
{
target = (net.opengis.sensorml.x20.DataComponentPathPropertyType)get_store().add_attribute_user(REF$2);
}
target.set(ref);
}
}
/**
* An XML ArrayValues(@http://www.opengis.net/sensorml/2.0).
*
* This is a complex type.
*/
public static class ArrayValuesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues
{
private static final long serialVersionUID = 1L;
public ArrayValuesImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ENCODING$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "encoding");
private static final javax.xml.namespace.QName VALUE$2 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "value");
/**
* Gets the "encoding" element
*/
public net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding getEncoding()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding target = null;
target = (net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding)get_store().find_element_user(ENCODING$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "encoding" element
*/
public void setEncoding(net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding encoding)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding target = null;
target = (net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding)get_store().find_element_user(ENCODING$0, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding)get_store().add_element_user(ENCODING$0);
}
target.set(encoding);
}
}
/**
* Appends and returns a new empty "encoding" element
*/
public net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding addNewEncoding()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding target = null;
target = (net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding)get_store().add_element_user(ENCODING$0);
return target;
}
}
/**
* Gets the "value" element
*/
public net.opengis.swe.x20.EncodedValuesPropertyType getValue()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.EncodedValuesPropertyType target = null;
target = (net.opengis.swe.x20.EncodedValuesPropertyType)get_store().find_element_user(VALUE$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "value" element
*/
public void setValue(net.opengis.swe.x20.EncodedValuesPropertyType value)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.EncodedValuesPropertyType target = null;
target = (net.opengis.swe.x20.EncodedValuesPropertyType)get_store().find_element_user(VALUE$2, 0);
if (target == null)
{
target = (net.opengis.swe.x20.EncodedValuesPropertyType)get_store().add_element_user(VALUE$2);
}
target.set(value);
}
}
/**
* Appends and returns a new empty "value" element
*/
public net.opengis.swe.x20.EncodedValuesPropertyType addNewValue()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.EncodedValuesPropertyType target = null;
target = (net.opengis.swe.x20.EncodedValuesPropertyType)get_store().add_element_user(VALUE$2);
return target;
}
}
/**
* An XML encoding(@http://www.opengis.net/sensorml/2.0).
*
* This is a complex type.
*/
public static class EncodingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorml.x20.ArraySettingPropertyType.ArrayValues.Encoding
{
private static final long serialVersionUID = 1L;
public EncodingImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ABSTRACTENCODING$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractEncoding");
private static final org.apache.xmlbeans.QNameSet ABSTRACTENCODING$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "BinaryEncoding"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "TextEncoding"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "AbstractEncoding"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/2.0", "XMLEncoding"),
});
/**
* Gets the "AbstractEncoding" element
*/
public net.opengis.swe.x20.AbstractEncodingType getAbstractEncoding()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractEncodingType target = null;
target = (net.opengis.swe.x20.AbstractEncodingType)get_store().find_element_user(ABSTRACTENCODING$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AbstractEncoding" element
*/
public void setAbstractEncoding(net.opengis.swe.x20.AbstractEncodingType abstractEncoding)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractEncodingType target = null;
target = (net.opengis.swe.x20.AbstractEncodingType)get_store().find_element_user(ABSTRACTENCODING$1, 0);
if (target == null)
{
target = (net.opengis.swe.x20.AbstractEncodingType)get_store().add_element_user(ABSTRACTENCODING$0);
}
target.set(abstractEncoding);
}
}
/**
* Appends and returns a new empty "AbstractEncoding" element
*/
public net.opengis.swe.x20.AbstractEncodingType addNewAbstractEncoding()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractEncodingType target = null;
target = (net.opengis.swe.x20.AbstractEncodingType)get_store().add_element_user(ABSTRACTENCODING$0);
return target;
}
}
}
}
}