org.openxmlformats.schemas.drawingml.x2006.main.impl.CTRelativeRectImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: CT_RelativeRect
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
* Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTRelativeRect
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
/**
* An XML CT_RelativeRect(@http://schemas.openxmlformats.org/drawingml/2006/main).
*
* This is a complex type.
*/
public class CTRelativeRectImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTRelativeRect {
private static final long serialVersionUID = 1L;
public CTRelativeRectImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName L$0 =
new javax.xml.namespace.QName("", "l");
private static final javax.xml.namespace.QName T$2 =
new javax.xml.namespace.QName("", "t");
private static final javax.xml.namespace.QName R$4 =
new javax.xml.namespace.QName("", "r");
private static final javax.xml.namespace.QName B$6 =
new javax.xml.namespace.QName("", "b");
/**
* Gets the "l" attribute
*/
public java.lang.Object getL() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(L$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(L$0);
}
if (target == null) {
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "l" attribute
*/
public org.openxmlformats.schemas.drawingml.x2006.main.STPercentage xgetL() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(L$0);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_default_attribute_value(L$0);
}
return target;
}
}
/**
* True if has "l" attribute
*/
public boolean isSetL() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(L$0) != null;
}
}
/**
* Sets the "l" attribute
*/
public void setL(java.lang.Object l) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(L$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(L$0);
}
target.setObjectValue(l);
}
}
/**
* Sets (as xml) the "l" attribute
*/
public void xsetL(org.openxmlformats.schemas.drawingml.x2006.main.STPercentage l) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(L$0);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().add_attribute_user(L$0);
}
target.set(l);
}
}
/**
* Unsets the "l" attribute
*/
public void unsetL() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(L$0);
}
}
/**
* Gets the "t" attribute
*/
public java.lang.Object getT() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(T$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(T$2);
}
if (target == null) {
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "t" attribute
*/
public org.openxmlformats.schemas.drawingml.x2006.main.STPercentage xgetT() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(T$2);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_default_attribute_value(T$2);
}
return target;
}
}
/**
* True if has "t" attribute
*/
public boolean isSetT() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(T$2) != null;
}
}
/**
* Sets the "t" attribute
*/
public void setT(java.lang.Object t) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(T$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(T$2);
}
target.setObjectValue(t);
}
}
/**
* Sets (as xml) the "t" attribute
*/
public void xsetT(org.openxmlformats.schemas.drawingml.x2006.main.STPercentage t) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(T$2);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().add_attribute_user(T$2);
}
target.set(t);
}
}
/**
* Unsets the "t" attribute
*/
public void unsetT() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(T$2);
}
}
/**
* Gets the "r" attribute
*/
public java.lang.Object getR() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(R$4);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(R$4);
}
if (target == null) {
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "r" attribute
*/
public org.openxmlformats.schemas.drawingml.x2006.main.STPercentage xgetR() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(R$4);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_default_attribute_value(R$4);
}
return target;
}
}
/**
* True if has "r" attribute
*/
public boolean isSetR() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(R$4) != null;
}
}
/**
* Sets the "r" attribute
*/
public void setR(java.lang.Object r) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(R$4);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(R$4);
}
target.setObjectValue(r);
}
}
/**
* Sets (as xml) the "r" attribute
*/
public void xsetR(org.openxmlformats.schemas.drawingml.x2006.main.STPercentage r) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(R$4);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().add_attribute_user(R$4);
}
target.set(r);
}
}
/**
* Unsets the "r" attribute
*/
public void unsetR() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(R$4);
}
}
/**
* Gets the "b" attribute
*/
public java.lang.Object getB() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(B$6);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(B$6);
}
if (target == null) {
return null;
}
return target.getObjectValue();
}
}
/**
* Gets (as xml) the "b" attribute
*/
public org.openxmlformats.schemas.drawingml.x2006.main.STPercentage xgetB() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(B$6);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_default_attribute_value(B$6);
}
return target;
}
}
/**
* True if has "b" attribute
*/
public boolean isSetB() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(B$6) != null;
}
}
/**
* Sets the "b" attribute
*/
public void setB(java.lang.Object b) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(B$6);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(B$6);
}
target.setObjectValue(b);
}
}
/**
* Sets (as xml) the "b" attribute
*/
public void xsetB(org.openxmlformats.schemas.drawingml.x2006.main.STPercentage b) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPercentage target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().find_attribute_user(B$6);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPercentage)get_store().add_attribute_user(B$6);
}
target.set(b);
}
}
/**
* Unsets the "b" attribute
*/
public void unsetB() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(B$6);
}
}
}