net.opengis.swe.x101.impl.PhenomenonDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: Phenomenon
* Namespace: http://www.opengis.net/swe/1.0.1
* Java type: net.opengis.swe.x101.PhenomenonDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.swe.x101.impl;
/**
* A document containing one Phenomenon(@http://www.opengis.net/swe/1.0.1) element.
*
* This is a complex type.
*/
public class PhenomenonDocumentImpl extends net.opengis.gml.impl.DefinitionDocumentImpl implements net.opengis.swe.x101.PhenomenonDocument
{
private static final long serialVersionUID = 1L;
public PhenomenonDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PHENOMENON$0 =
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "Phenomenon");
private static final org.apache.xmlbeans.QNameSet PHENOMENON$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "CompoundPhenomenon"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "Phenomenon"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "CompositePhenomenon"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "PhenomenonSeries"),
new javax.xml.namespace.QName("http://www.opengis.net/swe/1.0.1", "ConstrainedPhenomenon"),
});
/**
* Gets the "Phenomenon" element
*/
public net.opengis.swe.x101.PhenomenonType getPhenomenon()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.PhenomenonType target = null;
target = (net.opengis.swe.x101.PhenomenonType)get_store().find_element_user(PHENOMENON$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Phenomenon" element
*/
public void setPhenomenon(net.opengis.swe.x101.PhenomenonType phenomenon)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.PhenomenonType target = null;
target = (net.opengis.swe.x101.PhenomenonType)get_store().find_element_user(PHENOMENON$1, 0);
if (target == null)
{
target = (net.opengis.swe.x101.PhenomenonType)get_store().add_element_user(PHENOMENON$0);
}
target.set(phenomenon);
}
}
/**
* Appends and returns a new empty "Phenomenon" element
*/
public net.opengis.swe.x101.PhenomenonType addNewPhenomenon()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x101.PhenomenonType target = null;
target = (net.opengis.swe.x101.PhenomenonType)get_store().add_element_user(PHENOMENON$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy