/* * XML Type: CT_SlideIdListEntry * Namespace: http://schemas.openxmlformats.org/presentationml/2006/main * Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.presentationml.x2006.main.impl; /** * An XML CT_SlideIdListEntry(@http://schemas.openxmlformats.org/presentationml/2006/main). * * This is a complex type. */ public class CTSlideIdListEntryImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry { public CTSlideIdListEntryImpl(org.apache.xmlbeans.SchemaType sType) { super(sType); } private static final javax.xml.namespace.QName EXTLST$0 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "extLst"); private static final javax.xml.namespace.QName ID$2 = new javax.xml.namespace.QName("", "id"); private static final javax.xml.namespace.QName ID2$4 = new javax.xml.namespace.QName("http://schemas.openxmlformats.org/officeDocument/2006/relationships", "id"); /** * 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$0, 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$0) != 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$0, 0); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionList)get_store().add_element_user(EXTLST$0); } 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$0); return target; } } /** * Unsets the "extLst" element */ public void unsetExtLst() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(EXTLST$0, 0); } } /** * 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$2); if (target == null) { return 0L; } return target.getLongValue(); } } /** * Gets (as xml) the "id" attribute */ public org.openxmlformats.schemas.presentationml.x2006.main.STSlideId xgetId() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.STSlideId target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.STSlideId)get_store().find_attribute_user(ID$2); 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$2); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$2); } target.setLongValue(id); } } /** * Sets (as xml) the "id" attribute */ public void xsetId(org.openxmlformats.schemas.presentationml.x2006.main.STSlideId id) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.presentationml.x2006.main.STSlideId target = null; target = (org.openxmlformats.schemas.presentationml.x2006.main.STSlideId)get_store().find_attribute_user(ID$2); if (target == null) { target = (org.openxmlformats.schemas.presentationml.x2006.main.STSlideId)get_store().add_attribute_user(ID$2); } target.set(id); } } /** * Gets the "id" attribute */ public java.lang.String getId2() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID2$4); if (target == null) { return null; } return target.getStringValue(); } } /** * Gets (as xml) the "id" attribute */ public org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId xgetId2() { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId target = null; target = (org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId)get_store().find_attribute_user(ID2$4); return target; } } /** * Sets the "id" attribute */ public void setId2(java.lang.String id2) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID2$4); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID2$4); } target.setStringValue(id2); } } /** * Sets (as xml) the "id" attribute */ public void xsetId2(org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId id2) { synchronized (monitor()) { check_orphaned(); org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId target = null; target = (org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId)get_store().find_attribute_user(ID2$4); if (target == null) { target = (org.openxmlformats.schemas.officeDocument.x2006.relationships.STRelationshipId)get_store().add_attribute_user(ID2$4); } target.set(id2); } } }