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