/* * XML Type: CT_OleObjectLink * Namespace: http://schemas.openxmlformats.org/presentationml/2006/main * Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTOleObjectLink * * Automatically generated - do not modify. */ package org.openxmlformats.schemas.presentationml.x2006.main.impl; /** * An XML CT_OleObjectLink(@http://schemas.openxmlformats.org/presentationml/2006/main). * * This is a complex type. */ public class CTOleObjectLinkImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTOleObjectLink { public CTOleObjectLinkImpl(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 UPDATEAUTOMATIC$2 = new javax.xml.namespace.QName("", "updateAutomatic"); /** * 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 "updateAutomatic" attribute */ public boolean getUpdateAutomatic() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(UPDATEAUTOMATIC$2); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(UPDATEAUTOMATIC$2); } if (target == null) { return false; } return target.getBooleanValue(); } } /** * Gets (as xml) the "updateAutomatic" attribute */ public org.apache.xmlbeans.XmlBoolean xgetUpdateAutomatic() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(UPDATEAUTOMATIC$2); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(UPDATEAUTOMATIC$2); } return target; } } /** * True if has "updateAutomatic" attribute */ public boolean isSetUpdateAutomatic() { synchronized (monitor()) { check_orphaned(); return get_store().find_attribute_user(UPDATEAUTOMATIC$2) != null; } } /** * Sets the "updateAutomatic" attribute */ public void setUpdateAutomatic(boolean updateAutomatic) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(UPDATEAUTOMATIC$2); if (target == null) { target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(UPDATEAUTOMATIC$2); } target.setBooleanValue(updateAutomatic); } } /** * Sets (as xml) the "updateAutomatic" attribute */ public void xsetUpdateAutomatic(org.apache.xmlbeans.XmlBoolean updateAutomatic) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.XmlBoolean target = null; target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(UPDATEAUTOMATIC$2); if (target == null) { target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(UPDATEAUTOMATIC$2); } target.set(updateAutomatic); } } /** * Unsets the "updateAutomatic" attribute */ public void unsetUpdateAutomatic() { synchronized (monitor()) { check_orphaned(); get_store().remove_attribute(UPDATEAUTOMATIC$2); } } }