net.opengis.ogc.impl.FeatureIdDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: FeatureId
* Namespace: http://www.opengis.net/ogc
* Java type: net.opengis.ogc.FeatureIdDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.ogc.impl;
/**
* A document containing one FeatureId(@http://www.opengis.net/ogc) element.
*
* This is a complex type.
*/
public class FeatureIdDocumentImpl extends net.opengis.ogc.impl.IdDocumentImpl implements net.opengis.ogc.FeatureIdDocument
{
private static final long serialVersionUID = 1L;
public FeatureIdDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName FEATUREID$0 =
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "FeatureId");
/**
* Gets the "FeatureId" element
*/
public net.opengis.ogc.FeatureIdType getFeatureId()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.FeatureIdType target = null;
target = (net.opengis.ogc.FeatureIdType)get_store().find_element_user(FEATUREID$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "FeatureId" element
*/
public void setFeatureId(net.opengis.ogc.FeatureIdType featureId)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.FeatureIdType target = null;
target = (net.opengis.ogc.FeatureIdType)get_store().find_element_user(FEATUREID$0, 0);
if (target == null)
{
target = (net.opengis.ogc.FeatureIdType)get_store().add_element_user(FEATUREID$0);
}
target.set(featureId);
}
}
/**
* Appends and returns a new empty "FeatureId" element
*/
public net.opengis.ogc.FeatureIdType addNewFeatureId()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.FeatureIdType target = null;
target = (net.opengis.ogc.FeatureIdType)get_store().add_element_user(FEATUREID$0);
return target;
}
}
}