org.openxmlformats.schemas.drawingml.x2006.main.impl.CTPositiveSize2DImpl 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_PositiveSize2D
* Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
* Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTPositiveSize2D
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
/**
* An XML CT_PositiveSize2D(@http://schemas.openxmlformats.org/drawingml/2006/main).
*
* This is a complex type.
*/
public class CTPositiveSize2DImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTPositiveSize2D {
private static final long serialVersionUID = 1L;
public CTPositiveSize2DImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName CX$0 =
new javax.xml.namespace.QName("", "cx");
private static final javax.xml.namespace.QName CY$2 =
new javax.xml.namespace.QName("", "cy");
/**
* Gets the "cx" attribute
*/
public long getCx() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CX$0);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "cx" attribute
*/
public org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate xgetCx() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate)get_store().find_attribute_user(CX$0);
return target;
}
}
/**
* Sets the "cx" attribute
*/
public void setCx(long cx) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CX$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CX$0);
}
target.setLongValue(cx);
}
}
/**
* Sets (as xml) the "cx" attribute
*/
public void xsetCx(org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate cx) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate)get_store().find_attribute_user(CX$0);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate)get_store().add_attribute_user(CX$0);
}
target.set(cx);
}
}
/**
* Gets the "cy" attribute
*/
public long getCy() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CY$2);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "cy" attribute
*/
public org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate xgetCy() {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate)get_store().find_attribute_user(CY$2);
return target;
}
}
/**
* Sets the "cy" attribute
*/
public void setCy(long cy) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CY$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CY$2);
}
target.setLongValue(cy);
}
}
/**
* Sets (as xml) the "cy" attribute
*/
public void xsetCy(org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate cy) {
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate)get_store().find_attribute_user(CY$2);
if (target == null) {
target = (org.openxmlformats.schemas.drawingml.x2006.main.STPositiveCoordinate)get_store().add_attribute_user(CY$2);
}
target.set(cy);
}
}
}