com.microsoft.schemas.office.office.impl.CTRelationImpl Maven / Gradle / Ivy
/*
* XML Type: CT_Relation
* Namespace: urn:schemas-microsoft-com:office:office
* Java type: com.microsoft.schemas.office.office.CTRelation
*
* 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;
/**
* An XML CT_Relation(@urn:schemas-microsoft-com:office:office).
*
* This is a complex type.
*/
public class CTRelationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.CTRelation {
private static final long serialVersionUID = 1L;
public CTRelationImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("urn:schemas-microsoft-com:vml", "ext"),
new QName("", "idsrc"),
new QName("", "iddest"),
new QName("", "idcntr"),
};
/**
* Gets the "ext" attribute
*/
@Override
public com.microsoft.schemas.vml.STExt.Enum getExt() {
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 : (com.microsoft.schemas.vml.STExt.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "ext" attribute
*/
@Override
public com.microsoft.schemas.vml.STExt xgetExt() {
synchronized (monitor()) {
check_orphaned();
com.microsoft.schemas.vml.STExt target = null;
target = (com.microsoft.schemas.vml.STExt)get_store().find_attribute_user(PROPERTY_QNAME[0]);
return target;
}
}
/**
* True if has "ext" attribute
*/
@Override
public boolean isSetExt() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[0]) != null;
}
}
/**
* Sets the "ext" attribute
*/
@Override
public void setExt(com.microsoft.schemas.vml.STExt.Enum ext) {
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.setEnumValue(ext);
}
}
/**
* Sets (as xml) the "ext" attribute
*/
@Override
public void xsetExt(com.microsoft.schemas.vml.STExt ext) {
synchronized (monitor()) {
check_orphaned();
com.microsoft.schemas.vml.STExt target = null;
target = (com.microsoft.schemas.vml.STExt)get_store().find_attribute_user(PROPERTY_QNAME[0]);
if (target == null) {
target = (com.microsoft.schemas.vml.STExt)get_store().add_attribute_user(PROPERTY_QNAME[0]);
}
target.set(ext);
}
}
/**
* Unsets the "ext" attribute
*/
@Override
public void unsetExt() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[0]);
}
}
/**
* Gets the "idsrc" attribute
*/
@Override
public java.lang.String getIdsrc() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[1]);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "idsrc" attribute
*/
@Override
public org.apache.xmlbeans.XmlString xgetIdsrc() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[1]);
return target;
}
}
/**
* True if has "idsrc" attribute
*/
@Override
public boolean isSetIdsrc() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[1]) != null;
}
}
/**
* Sets the "idsrc" attribute
*/
@Override
public void setIdsrc(java.lang.String idsrc) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[1]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[1]);
}
target.setStringValue(idsrc);
}
}
/**
* Sets (as xml) the "idsrc" attribute
*/
@Override
public void xsetIdsrc(org.apache.xmlbeans.XmlString idsrc) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[1]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROPERTY_QNAME[1]);
}
target.set(idsrc);
}
}
/**
* Unsets the "idsrc" attribute
*/
@Override
public void unsetIdsrc() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[1]);
}
}
/**
* Gets the "iddest" attribute
*/
@Override
public java.lang.String getIddest() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[2]);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "iddest" attribute
*/
@Override
public org.apache.xmlbeans.XmlString xgetIddest() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[2]);
return target;
}
}
/**
* True if has "iddest" attribute
*/
@Override
public boolean isSetIddest() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[2]) != null;
}
}
/**
* Sets the "iddest" attribute
*/
@Override
public void setIddest(java.lang.String iddest) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[2]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[2]);
}
target.setStringValue(iddest);
}
}
/**
* Sets (as xml) the "iddest" attribute
*/
@Override
public void xsetIddest(org.apache.xmlbeans.XmlString iddest) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[2]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROPERTY_QNAME[2]);
}
target.set(iddest);
}
}
/**
* Unsets the "iddest" attribute
*/
@Override
public void unsetIddest() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[2]);
}
}
/**
* Gets the "idcntr" attribute
*/
@Override
public java.lang.String getIdcntr() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[3]);
return (target == null) ? null : target.getStringValue();
}
}
/**
* Gets (as xml) the "idcntr" attribute
*/
@Override
public org.apache.xmlbeans.XmlString xgetIdcntr() {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[3]);
return target;
}
}
/**
* True if has "idcntr" attribute
*/
@Override
public boolean isSetIdcntr() {
synchronized (monitor()) {
check_orphaned();
return get_store().find_attribute_user(PROPERTY_QNAME[3]) != null;
}
}
/**
* Sets the "idcntr" attribute
*/
@Override
public void setIdcntr(java.lang.String idcntr) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PROPERTY_QNAME[3]);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PROPERTY_QNAME[3]);
}
target.setStringValue(idcntr);
}
}
/**
* Sets (as xml) the "idcntr" attribute
*/
@Override
public void xsetIdcntr(org.apache.xmlbeans.XmlString idcntr) {
synchronized (monitor()) {
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PROPERTY_QNAME[3]);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PROPERTY_QNAME[3]);
}
target.set(idcntr);
}
}
/**
* Unsets the "idcntr" attribute
*/
@Override
public void unsetIdcntr() {
synchronized (monitor()) {
check_orphaned();
get_store().remove_attribute(PROPERTY_QNAME[3]);
}
}
}