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