net.opengis.ogc.impl.LogicOpsDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: logicOps
* Namespace: http://www.opengis.net/ogc
* Java type: net.opengis.ogc.LogicOpsDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.ogc.impl;
/**
* A document containing one logicOps(@http://www.opengis.net/ogc) element.
*
* This is a complex type.
*/
public class LogicOpsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ogc.LogicOpsDocument
{
private static final long serialVersionUID = 1L;
public LogicOpsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName LOGICOPS$0 =
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "logicOps");
private static final org.apache.xmlbeans.QNameSet LOGICOPS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Or"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "logicOps"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "Not"),
new javax.xml.namespace.QName("http://www.opengis.net/ogc", "And"),
});
/**
* Gets the "logicOps" element
*/
public net.opengis.ogc.LogicOpsType getLogicOps()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.LogicOpsType target = null;
target = (net.opengis.ogc.LogicOpsType)get_store().find_element_user(LOGICOPS$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "logicOps" element
*/
public void setLogicOps(net.opengis.ogc.LogicOpsType logicOps)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.LogicOpsType target = null;
target = (net.opengis.ogc.LogicOpsType)get_store().find_element_user(LOGICOPS$1, 0);
if (target == null)
{
target = (net.opengis.ogc.LogicOpsType)get_store().add_element_user(LOGICOPS$0);
}
target.set(logicOps);
}
}
/**
* Appends and returns a new empty "logicOps" element
*/
public net.opengis.ogc.LogicOpsType addNewLogicOps()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.ogc.LogicOpsType target = null;
target = (net.opengis.ogc.LogicOpsType)get_store().add_element_user(LOGICOPS$0);
return target;
}
}
}