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