All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openxmlformats.schemas.drawingml.x2006.main.impl.CTBaseStylesOverrideImpl Maven / Gradle / Ivy

Go to download

XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used): https://www.ecma-international.org/publications/standards/Ecma-376.htm

There is a newer version: 5.2.5
Show newest version
/*
 * XML Type:  CT_BaseStylesOverride
 * Namespace: http://schemas.openxmlformats.org/drawingml/2006/main
 * Java type: org.openxmlformats.schemas.drawingml.x2006.main.CTBaseStylesOverride
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.drawingml.x2006.main.impl;
/**
 * An XML CT_BaseStylesOverride(@http://schemas.openxmlformats.org/drawingml/2006/main).
 *
 * This is a complex type.
 */
public class CTBaseStylesOverrideImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.main.CTBaseStylesOverride {
    private static final long serialVersionUID = 1L;
    
    public CTBaseStylesOverrideImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CLRSCHEME$0 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "clrScheme");
    private static final javax.xml.namespace.QName FONTSCHEME$2 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "fontScheme");
    private static final javax.xml.namespace.QName FMTSCHEME$4 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/main", "fmtScheme");
    
    
    /**
     * Gets the "clrScheme" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTColorScheme getClrScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTColorScheme target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTColorScheme)get_store().find_element_user(CLRSCHEME$0, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "clrScheme" element
     */
    public boolean isSetClrScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CLRSCHEME$0) != 0;
        }
    }
    
    /**
     * Sets the "clrScheme" element
     */
    public void setClrScheme(org.openxmlformats.schemas.drawingml.x2006.main.CTColorScheme clrScheme) {
        generatedSetterHelperImpl(clrScheme, CLRSCHEME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "clrScheme" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTColorScheme addNewClrScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTColorScheme target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTColorScheme)get_store().add_element_user(CLRSCHEME$0);
            return target;
        }
    }
    
    /**
     * Unsets the "clrScheme" element
     */
    public void unsetClrScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CLRSCHEME$0, 0);
        }
    }
    
    /**
     * Gets the "fontScheme" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTFontScheme getFontScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTFontScheme target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTFontScheme)get_store().find_element_user(FONTSCHEME$2, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "fontScheme" element
     */
    public boolean isSetFontScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(FONTSCHEME$2) != 0;
        }
    }
    
    /**
     * Sets the "fontScheme" element
     */
    public void setFontScheme(org.openxmlformats.schemas.drawingml.x2006.main.CTFontScheme fontScheme) {
        generatedSetterHelperImpl(fontScheme, FONTSCHEME$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "fontScheme" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTFontScheme addNewFontScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTFontScheme target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTFontScheme)get_store().add_element_user(FONTSCHEME$2);
            return target;
        }
    }
    
    /**
     * Unsets the "fontScheme" element
     */
    public void unsetFontScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(FONTSCHEME$2, 0);
        }
    }
    
    /**
     * Gets the "fmtScheme" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTStyleMatrix getFmtScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTStyleMatrix target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTStyleMatrix)get_store().find_element_user(FMTSCHEME$4, 0);
            if (target == null) {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "fmtScheme" element
     */
    public boolean isSetFmtScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(FMTSCHEME$4) != 0;
        }
    }
    
    /**
     * Sets the "fmtScheme" element
     */
    public void setFmtScheme(org.openxmlformats.schemas.drawingml.x2006.main.CTStyleMatrix fmtScheme) {
        generatedSetterHelperImpl(fmtScheme, FMTSCHEME$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "fmtScheme" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTStyleMatrix addNewFmtScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTStyleMatrix target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTStyleMatrix)get_store().add_element_user(FMTSCHEME$4);
            return target;
        }
    }
    
    /**
     * Unsets the "fmtScheme" element
     */
    public void unsetFmtScheme() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(FMTSCHEME$4, 0);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy