com.microsoft.schemas.office.office.impl.ConnectlocsAttributeImpl Maven / Gradle / Ivy
/*
* An XML attribute type.
* Localname: connectlocs
* Namespace: urn:schemas-microsoft-com:office:office
* Java type: com.microsoft.schemas.office.office.ConnectlocsAttribute
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.office.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;
/**
* A document containing one connectlocs(@urn:schemas-microsoft-com:office:office) attribute.
*
* This is a complex type.
*/
public class ConnectlocsAttributeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.ConnectlocsAttribute {
private static final long serialVersionUID = 1L;
public ConnectlocsAttributeImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("urn:schemas-microsoft-com:office:office", "connectlocs"),
};
/**
* Gets the "connectlocs" attribute
*/
@Override
public java.lang.String getConnectlocs() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[0]);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "connectlocs" attribute
*/
@Override
public org.apache.xmlbeans.XmlString xgetConnectlocs() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[0]);
return target;
}
}
/**
* True if has "connectlocs" attribute
*/
@Override
public boolean isSetConnectlocs() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[0]) != null;
}
}
/**
* Sets the "connectlocs" attribute
*/
@Override
public void setConnectlocs(java.lang.String connectlocs) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[0]);
}
target.setStringValue(connectlocs);
}
}
/**
* Sets (as xml) the "connectlocs" attribute
*/
@Override
public void xsetConnectlocs(org.apache.xmlbeans.XmlString connectlocs) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROPERTY_QNAME[0]);
}
target.set(connectlocs);
}
}
/**
* Unsets the "connectlocs" attribute
*/
@Override
public void unsetConnectlocs() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[0]);
}
}
}