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