/* * XML Type: CT_AdjPoint2D * Namespace: http://schemas.openxmlformats.org/drawingml/2006/main * Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTAdjPoint2D * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.drawingml.x2006.main.impl; /** * An XML CT_AdjPoint2D(@http://schemas.openxmlformats.org/drawingml/2006/main). * * This is a complex type. */ public class CTAdjPoint2DImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTAdjPoint2D { public CTAdjPoint2DImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName X$0 = new javax.xml.namespace.QName("", "x"); private static final javax.xml.namespace.QName Y$2 = new javax.xml.namespace.QName("", "y"); /** * Gets the "x" attribute */ public java.lang.Object getX() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(X$0); if (target == null) { return null; } return target.getObjectValue(); } } /** * Gets (as xml) the "x" attribute */ public org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate xgetX() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate)get_store().find_attribute_user(X$0); return target; } } /** * Sets the "x" attribute */ public void setX(java.lang.Object x) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(X$0); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(X$0); } target.setObjectValue(x); } } /** * Sets (as xml) the "x" attribute */ public void xsetX(org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate x) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate)get_store().find_attribute_user(X$0); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate)get_store().add_attribute_user(X$0); } target.set(x); } } /** * Gets the "y" attribute */ public java.lang.Object getY() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(Y$2); if (target == null) { return null; } return target.getObjectValue(); } } /** * Gets (as xml) the "y" attribute */ public org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate xgetY() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate)get_store().find_attribute_user(Y$2); return target; } } /** * Sets the "y" attribute */ public void setY(java.lang.Object y) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(Y$2); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(Y$2); } target.setObjectValue(y); } } /** * Sets (as xml) the "y" attribute */ public void xsetY(org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate y) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate target = null; target = (org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate)get_store().find_attribute_user(Y$2); if (target == null) { target = (org.openxmlformats.schemas.drawingml.x2006.main.STAdjCoordinate)get_store().add_attribute_user(Y$2); } target.set(y); } } }