/* * XML Type: CT_CustomShow * Namespace: http://schemas.openxmlformats.org/presentationml/2006/main * Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTCustomShow * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.presentationml.x2006.main.impl; /** * An XML CT_CustomShow(@http://schemas.openxmlformats.org/presentationml/2006/main). * * This is a complex type. */ public class CTCustomShowImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTCustomShow { public CTCustomShowImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName SLDLST$0 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "sldLst"); private static final javax.xml.namespace.QName EXTLST$2 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "extLst"); private static final javax.xml.namespace.QName NAME$4 = new javax.xml.namespace.QName("", "name"); private static final javax.xml.namespace.QName ID$6 = new javax.xml.namespace.QName("", "id"); /** * Gets the "sldLst" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList getSldLst() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList)get_store().find_element_user(SLDLST$0, 0); if (target == null) { return null; } return target; } } /** * Sets the "sldLst" element */ public void setSldLst(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList sldLst) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList)get_store().find_element_user(SLDLST$0, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList)get_store().add_element_user(SLDLST$0); } target.set(sldLst); } } /** * Appends and returns a new empty "sldLst" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList addNewSldLst() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTSlideRelationshipList)get_store().add_element_user(SLDLST$0); return target; } } /** * Gets the "extLst" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList getExtLst() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList)get_store().find_element_user(EXTLST$2, 0); if (target == null) { return null; } return target; } } /** * True if has "extLst" element */ public boolean isSetExtLst() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(EXTLST$2) != 0; } } /** * Sets the "extLst" element */ public void setExtLst(org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList extLst) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList)get_store().find_element_user(EXTLST$2, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList)get_store().add_element_user(EXTLST$2); } target.set(extLst); } } /** * Appends and returns a new empty "extLst" element */ public org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList addNewExtLst() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList)get_store().add_element_user(EXTLST$2); return target; } } /** * Unsets the "extLst" element */ public void unsetExtLst() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(EXTLST$2, 0); } } /** * Gets the "name" attribute */ public java.lang.String getName() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$4); if (target == null) { return null; } return target.getStringValue(); } } /** * Gets (as xml) the "name" attribute */ public org.openxmlformats.schemas.presentationml.x2006.main.STName xgetName() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.STName target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.STName)get_store().find_attribute_user(NAME$4); return target; } } /** * Sets the "name" attribute */ public void setName(java.lang.String name) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$4); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$4); } target.setStringValue(name); } } /** * Sets (as xml) the "name" attribute */ public void xsetName(org.openxmlformats.schemas.presentationml.x2006.main.STName name) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.STName target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.STName)get_store().find_attribute_user(NAME$4); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.STName)get_store().add_attribute_user(NAME$4); } target.set(name); } } /** * 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$6); 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$6); 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$6); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$6); } 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$6); if (target == null) { target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(ID$6); } target.set(id); } } }