/* * XML Type: CT_CustomShowId * Namespace: http://schemas.openxmlformats.org/presentationml/2006/main * Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTCustomShowId * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.presentationml.x2006.main.impl; /** * An XML CT_CustomShowId(@http://schemas.openxmlformats.org/presentationml/2006/main). * * This is a complex type. */ public class CTCustomShowIdImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTCustomShowId { public CTCustomShowIdImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName ID$0 = new javax.xml.namespace.QName("", "id"); /** * Gets the "id" attribute */ public long getId() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0); if (target == null) { return 0L; } return target.getLongValue(); } } /** * Gets (as xml) the "id" attribute */ public org.apache.xmlbeans.XmlUnsignedInt xgetId() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlUnsignedInt target = null; target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ID$0); return target; } } /** * Sets the "id" attribute */ public void setId(long id) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$0); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$0); } target.setLongValue(id); } } /** * Sets (as xml) the "id" attribute */ public void xsetId(org.apache.xmlbeans.XmlUnsignedInt id) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlUnsignedInt target = null; target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ID$0); if (target == null) { target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(ID$0); } target.set(id); } } }