net.opengis.swe.x101.impl.TimeRangeDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: TimeRange
* Namespace: http://www.opengis.net/swe/1.0.1
* Java type: net.opengis.swe.x101.TimeRangeDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x101.impl;
/**
* A document containing one TimeRange(@http://www.opengis.net/swe/1.0.1) element.
*
* This is a complex type.
*/
public class TimeRangeDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.swe.x101.TimeRangeDocument
{
private static final long serialVersionUID = 1L;
public TimeRangeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TIMERANGE$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "TimeRange");
/**
* Gets the "TimeRange" element
*/
public net.opengis.swe.x101.TimeRangeDocument.TimeRange getTimeRange()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimeRangeDocument.TimeRange target = null;
target = (net.opengis.swe.x101.TimeRangeDocument.TimeRange)get_store().find_element_user(TIMERANGE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "TimeRange" element
*/
public void setTimeRange(net.opengis.swe.x101.TimeRangeDocument.TimeRange timeRange)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimeRangeDocument.TimeRange target = null;
target = (net.opengis.swe.x101.TimeRangeDocument.TimeRange)get_store().find_element_user(TIMERANGE$0, 0);
if (target == null)
{
target = (net.opengis.swe.x101.TimeRangeDocument.TimeRange)get_store().add_element_user(TIMERANGE$0);
}
target.set(timeRange);
}
}
/**
* Appends and returns a new empty "TimeRange" element
*/
public net.opengis.swe.x101.TimeRangeDocument.TimeRange addNewTimeRange()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimeRangeDocument.TimeRange target = null;
target = (net.opengis.swe.x101.TimeRangeDocument.TimeRange)get_store().add_element_user(TIMERANGE$0);
return target;
}
}
/**
* An XML TimeRange(@http://www.opengis.net/swe/1.0.1).
*
* This is a complex type.
*/
public static class TimeRangeImpl extends net.opengis.swe.x101.impl.AbstractDataComponentTypeImpl implements net.opengis.swe.x101.TimeRangeDocument.TimeRange
{
private static final long serialVersionUID = 1L;
public TimeRangeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName UOM$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "uom");
private static final javax.xml.namespace.QName CONSTRAINT$2 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "constraint");
private static final javax.xml.namespace.QName QUALITY$4 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "quality");
private static final javax.xml.namespace.QName VALUE$6 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "value");
private static final javax.xml.namespace.QName REFERENCETIME$8 =
new javax.xml.namespace.QName("", "referenceTime");
private static final javax.xml.namespace.QName REFERENCEFRAME$10 =
new javax.xml.namespace.QName("", "referenceFrame");
private static final javax.xml.namespace.QName LOCALFRAME$12 =
new javax.xml.namespace.QName("", "localFrame");
/**
* Gets the "uom" element
*/
public net.opengis.swe.x101.UomPropertyType getUom()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.UomPropertyType target = null;
target = (net.opengis.swe.x101.UomPropertyType)get_store().find_element_user(UOM$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "uom" element
*/
public boolean isSetUom()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(UOM$0) != 0;
}
}
/**
* Sets the "uom" element
*/
public void setUom(net.opengis.swe.x101.UomPropertyType uom)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.UomPropertyType target = null;
target = (net.opengis.swe.x101.UomPropertyType)get_store().find_element_user(UOM$0, 0);
if (target == null)
{
target = (net.opengis.swe.x101.UomPropertyType)get_store().add_element_user(UOM$0);
}
target.set(uom);
}
}
/**
* Appends and returns a new empty "uom" element
*/
public net.opengis.swe.x101.UomPropertyType addNewUom()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.UomPropertyType target = null;
target = (net.opengis.swe.x101.UomPropertyType)get_store().add_element_user(UOM$0);
return target;
}
}
/**
* Unsets the "uom" element
*/
public void unsetUom()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(UOM$0, 0);
}
}
/**
* Gets the "constraint" element
*/
public net.opengis.swe.x101.AllowedTimesPropertyType getConstraint()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.AllowedTimesPropertyType target = null;
target = (net.opengis.swe.x101.AllowedTimesPropertyType)get_store().find_element_user(CONSTRAINT$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "constraint" element
*/
public boolean isSetConstraint()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CONSTRAINT$2) != 0;
}
}
/**
* Sets the "constraint" element
*/
public void setConstraint(net.opengis.swe.x101.AllowedTimesPropertyType constraint)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.AllowedTimesPropertyType target = null;
target = (net.opengis.swe.x101.AllowedTimesPropertyType)get_store().find_element_user(CONSTRAINT$2, 0);
if (target == null)
{
target = (net.opengis.swe.x101.AllowedTimesPropertyType)get_store().add_element_user(CONSTRAINT$2);
}
target.set(constraint);
}
}
/**
* Appends and returns a new empty "constraint" element
*/
public net.opengis.swe.x101.AllowedTimesPropertyType addNewConstraint()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.AllowedTimesPropertyType target = null;
target = (net.opengis.swe.x101.AllowedTimesPropertyType)get_store().add_element_user(CONSTRAINT$2);
return target;
}
}
/**
* Unsets the "constraint" element
*/
public void unsetConstraint()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CONSTRAINT$2, 0);
}
}
/**
* Gets the "quality" element
*/
public net.opengis.swe.x101.QualityPropertyType getQuality()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.QualityPropertyType target = null;
target = (net.opengis.swe.x101.QualityPropertyType)get_store().find_element_user(QUALITY$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "quality" element
*/
public boolean isSetQuality()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(QUALITY$4) != 0;
}
}
/**
* Sets the "quality" element
*/
public void setQuality(net.opengis.swe.x101.QualityPropertyType quality)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.QualityPropertyType target = null;
target = (net.opengis.swe.x101.QualityPropertyType)get_store().find_element_user(QUALITY$4, 0);
if (target == null)
{
target = (net.opengis.swe.x101.QualityPropertyType)get_store().add_element_user(QUALITY$4);
}
target.set(quality);
}
}
/**
* Appends and returns a new empty "quality" element
*/
public net.opengis.swe.x101.QualityPropertyType addNewQuality()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.QualityPropertyType target = null;
target = (net.opengis.swe.x101.QualityPropertyType)get_store().add_element_user(QUALITY$4);
return target;
}
}
/**
* Unsets the "quality" element
*/
public void unsetQuality()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(QUALITY$4, 0);
}
}
/**
* Gets the "value" element
*/
public java.util.List getValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$6, 0);
if (target == null)
{
return null;
}
return target.getListValue();
}
}
/**
* Gets (as xml) the "value" element
*/
public net.opengis.swe.x101.TimePair xgetValue()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimePair target = null;
target = (net.opengis.swe.x101.TimePair)get_store().find_element_user(VALUE$6, 0);
return target;
}
}
/**
* True if has "value" element
*/
public boolean isSetValue()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(VALUE$6) != 0;
}
}
/**
* Sets the "value" element
*/
public void setValue(java.util.List value)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VALUE$6);
}
target.setListValue(value);
}
}
/**
* Sets (as xml) the "value" element
*/
public void xsetValue(net.opengis.swe.x101.TimePair value)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimePair target = null;
target = (net.opengis.swe.x101.TimePair)get_store().find_element_user(VALUE$6, 0);
if (target == null)
{
target = (net.opengis.swe.x101.TimePair)get_store().add_element_user(VALUE$6);
}
target.set(value);
}
}
/**
* Unsets the "value" element
*/
public void unsetValue()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(VALUE$6, 0);
}
}
/**
* Gets the "referenceTime" attribute
*/
public java.lang.Object getReferenceTime()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFERENCETIME$8);
if (target == null)
{
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "referenceTime" attribute
*/
public net.opengis.swe.x101.TimeIso8601 xgetReferenceTime()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimeIso8601 target = null;
target = (net.opengis.swe.x101.TimeIso8601)get_store().find_attribute_user(REFERENCETIME$8);
return target;
}
}
/**
* True if has "referenceTime" attribute
*/
public boolean isSetReferenceTime()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(REFERENCETIME$8) != null;
}
}
/**
* Sets the "referenceTime" attribute
*/
public void setReferenceTime(java.lang.Object referenceTime)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFERENCETIME$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REFERENCETIME$8);
}
target.setObjectValue(referenceTime);
}
}
/**
* Sets (as xml) the "referenceTime" attribute
*/
public void xsetReferenceTime(net.opengis.swe.x101.TimeIso8601 referenceTime)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.TimeIso8601 target = null;
target = (net.opengis.swe.x101.TimeIso8601)get_store().find_attribute_user(REFERENCETIME$8);
if (target == null)
{
target = (net.opengis.swe.x101.TimeIso8601)get_store().add_attribute_user(REFERENCETIME$8);
}
target.set(referenceTime);
}
}
/**
* Unsets the "referenceTime" attribute
*/
public void unsetReferenceTime()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(REFERENCETIME$8);
}
}
/**
* Gets the "referenceFrame" attribute
*/
public java.lang.String getReferenceFrame()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFERENCEFRAME$10);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "referenceFrame" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetReferenceFrame()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(REFERENCEFRAME$10);
return target;
}
}
/**
* True if has "referenceFrame" attribute
*/
public boolean isSetReferenceFrame()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(REFERENCEFRAME$10) != null;
}
}
/**
* Sets the "referenceFrame" attribute
*/
public void setReferenceFrame(java.lang.String referenceFrame)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFERENCEFRAME$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REFERENCEFRAME$10);
}
target.setStringValue(referenceFrame);
}
}
/**
* Sets (as xml) the "referenceFrame" attribute
*/
public void xsetReferenceFrame(org.apache.xmlbeans.XmlAnyURI referenceFrame)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(REFERENCEFRAME$10);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(REFERENCEFRAME$10);
}
target.set(referenceFrame);
}
}
/**
* Unsets the "referenceFrame" attribute
*/
public void unsetReferenceFrame()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(REFERENCEFRAME$10);
}
}
/**
* Gets the "localFrame" attribute
*/
public java.lang.String getLocalFrame()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LOCALFRAME$12);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "localFrame" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetLocalFrame()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(LOCALFRAME$12);
return target;
}
}
/**
* True if has "localFrame" attribute
*/
public boolean isSetLocalFrame()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(LOCALFRAME$12) != null;
}
}
/**
* Sets the "localFrame" attribute
*/
public void setLocalFrame(java.lang.String localFrame)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LOCALFRAME$12);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LOCALFRAME$12);
}
target.setStringValue(localFrame);
}
}
/**
* Sets (as xml) the "localFrame" attribute
*/
public void xsetLocalFrame(org.apache.xmlbeans.XmlAnyURI localFrame)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(LOCALFRAME$12);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(LOCALFRAME$12);
}
target.set(localFrame);
}
}
/**
* Unsets the "localFrame" attribute
*/
public void unsetLocalFrame()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(LOCALFRAME$12);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy