net.opengis.sensorml.x20.impl.TemporalFrameTypeImpl Maven / Gradle / Ivy
/*
* XML Type: TemporalFrameType
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.TemporalFrameType
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* An XML TemporalFrameType(@http://www.opengis.net/sensorml/2.0).
*
* This is a complex type.
*/
public class TemporalFrameTypeImpl extends net.opengis.swe.x20.impl.AbstractSWEIdentifiableTypeImpl implements net.opengis.sensorml.x20.TemporalFrameType
{
private static final long serialVersionUID = 1L;
public TemporalFrameTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ORIGIN$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "origin");
/**
* Gets the "origin" element
*/
public java.lang.String getOrigin()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "origin" element
*/
public org.apache.xmlbeans.XmlString xgetOrigin()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORIGIN$0, 0);
return target;
}
}
/**
* Sets the "origin" element
*/
public void setOrigin(java.lang.String origin)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORIGIN$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORIGIN$0);
}
target.setStringValue(origin);
}
}
/**
* Sets (as xml) the "origin" element
*/
public void xsetOrigin(org.apache.xmlbeans.XmlString origin)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ORIGIN$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ORIGIN$0);
}
target.set(origin);
}
}
}