net.opengis.ows.x11.impl.OrganisationNameDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: OrganisationName
* Namespace: http://www.opengis.net/ows/1.1
* Java type: net.opengis.ows.x11.OrganisationNameDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.ows.x11.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;
/**
* A document containing one OrganisationName(@http://www.opengis.net/ows/1.1) element.
*
* This is a complex type.
*/
public class OrganisationNameDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.ows.x11.OrganisationNameDocument {
private static final long serialVersionUID = 1L;
public OrganisationNameDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://www.opengis.net/ows/1.1", "OrganisationName"),
};
/**
* Gets the "OrganisationName" element
*/
@Override
public java.lang.String getOrganisationName() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "OrganisationName" element
*/
@Override
public org.apache.xmlbeans.XmlString xgetOrganisationName() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return target;
}
}
/**
* Sets the "OrganisationName" element
*/
@Override
public void setOrganisationName(java.lang.String organisationName) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PROPERTY_QNAME[0], 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.setStringValue(organisationName);
}
}
/**
* Sets (as xml) the "OrganisationName" element
*/
@Override
public void xsetOrganisationName(org.apache.xmlbeans.XmlString organisationName) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PROPERTY_QNAME[0], 0);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PROPERTY_QNAME[0]);
}
target.set(organisationName);
}
}
}