
net.opengis.tsml.x10.impl.TimeValuePairDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: TimeValuePair
* Namespace: http://www.opengis.net/tsml/1.0
* Java type: net.opengis.tsml.x10.TimeValuePairDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.tsml.x10.impl;
/**
* A document containing one TimeValuePair(@http://www.opengis.net/tsml/1.0) element.
*
* This is a complex type.
*/
public class TimeValuePairDocumentImpl extends net.opengis.gml.x32.impl.AbstractObjectDocumentImpl implements net.opengis.tsml.x10.TimeValuePairDocument
{
private static final long serialVersionUID = 1L;
public TimeValuePairDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TIMEVALUEPAIR$0 =
new javax.xml.namespace.QName("http://www.opengis.net/tsml/1.0", "TimeValuePair");
private static final org.apache.xmlbeans.QNameSet TIMEVALUEPAIR$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/tsml/1.0", "MeasurementTVP"),
new javax.xml.namespace.QName("http://www.opengis.net/tsml/1.0", "TimeValuePair"),
new javax.xml.namespace.QName("http://www.opengis.net/tsml/1.0", "CategoricalTVP"),
});
/**
* Gets the "TimeValuePair" element
*/
public net.opengis.tsml.x10.TimeValuePairType getTimeValuePair()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.tsml.x10.TimeValuePairType target = null;
target = (net.opengis.tsml.x10.TimeValuePairType)get_store().find_element_user(TIMEVALUEPAIR$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "TimeValuePair" element
*/
public void setTimeValuePair(net.opengis.tsml.x10.TimeValuePairType timeValuePair)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.tsml.x10.TimeValuePairType target = null;
target = (net.opengis.tsml.x10.TimeValuePairType)get_store().find_element_user(TIMEVALUEPAIR$1, 0);
if (target == null)
{
target = (net.opengis.tsml.x10.TimeValuePairType)get_store().add_element_user(TIMEVALUEPAIR$0);
}
target.set(timeValuePair);
}
}
/**
* Appends and returns a new empty "TimeValuePair" element
*/
public net.opengis.tsml.x10.TimeValuePairType addNewTimeValuePair()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.tsml.x10.TimeValuePairType target = null;
target = (net.opengis.tsml.x10.TimeValuePairType)get_store().add_element_user(TIMEVALUEPAIR$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy