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

com.microsoft.schemas.office.visio.x2012.main.impl.CellDefTypeImpl 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:  CellDef_Type
 * Namespace: http://schemas.microsoft.com/office/visio/2012/main
 * Java type: com.microsoft.schemas.office.visio.x2012.main.CellDefType
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
 * An XML CellDef_Type(@http://schemas.microsoft.com/office/visio/2012/main).
 *
 * This is a complex type.
 */
public class CellDefTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.CellDefType {
    private static final long serialVersionUID = 1L;
    
    public CellDefTypeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName N$0 = 
        new javax.xml.namespace.QName("", "N");
    private static final javax.xml.namespace.QName T$2 = 
        new javax.xml.namespace.QName("", "T");
    private static final javax.xml.namespace.QName F$4 = 
        new javax.xml.namespace.QName("", "F");
    private static final javax.xml.namespace.QName IX$6 = 
        new javax.xml.namespace.QName("", "IX");
    private static final javax.xml.namespace.QName S$8 = 
        new javax.xml.namespace.QName("", "S");
    
    
    /**
     * Gets the "N" attribute
     */
    public java.lang.String getN() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(N$0);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "N" attribute
     */
    public org.apache.xmlbeans.XmlString xgetN() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(N$0);
            return target;
        }
    }
    
    /**
     * Sets the "N" attribute
     */
    public void setN(java.lang.String n) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(N$0);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(N$0);
            }
            target.setStringValue(n);
        }
    }
    
    /**
     * Sets (as xml) the "N" attribute
     */
    public void xsetN(org.apache.xmlbeans.XmlString n) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(N$0);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(N$0);
            }
            target.set(n);
        }
    }
    
    /**
     * Gets the "T" attribute
     */
    public java.lang.String getT() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(T$2);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "T" attribute
     */
    public org.apache.xmlbeans.XmlToken xgetT() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlToken target = null;
            target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(T$2);
            return target;
        }
    }
    
    /**
     * Sets the "T" attribute
     */
    public void setT(java.lang.String t) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(T$2);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(T$2);
            }
            target.setStringValue(t);
        }
    }
    
    /**
     * Sets (as xml) the "T" attribute
     */
    public void xsetT(org.apache.xmlbeans.XmlToken t) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlToken target = null;
            target = (org.apache.xmlbeans.XmlToken)get_store().find_attribute_user(T$2);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlToken)get_store().add_attribute_user(T$2);
            }
            target.set(t);
        }
    }
    
    /**
     * Gets the "F" attribute
     */
    public java.lang.String getF() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(F$4);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "F" attribute
     */
    public org.apache.xmlbeans.XmlString xgetF() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(F$4);
            return target;
        }
    }
    
    /**
     * True if has "F" attribute
     */
    public boolean isSetF() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(F$4) != null;
        }
    }
    
    /**
     * Sets the "F" attribute
     */
    public void setF(java.lang.String f) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(F$4);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(F$4);
            }
            target.setStringValue(f);
        }
    }
    
    /**
     * Sets (as xml) the "F" attribute
     */
    public void xsetF(org.apache.xmlbeans.XmlString f) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(F$4);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(F$4);
            }
            target.set(f);
        }
    }
    
    /**
     * Unsets the "F" attribute
     */
    public void unsetF() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(F$4);
        }
    }
    
    /**
     * Gets the "IX" attribute
     */
    public short getIX() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(IX$6);
            if (target == null) {
                return 0;
            }
            return target.getShortValue();
        }
    }
    
    /**
     * Gets (as xml) the "IX" attribute
     */
    public org.apache.xmlbeans.XmlUnsignedByte xgetIX() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedByte target = null;
            target = (org.apache.xmlbeans.XmlUnsignedByte)get_store().find_attribute_user(IX$6);
            return target;
        }
    }
    
    /**
     * True if has "IX" attribute
     */
    public boolean isSetIX() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(IX$6) != null;
        }
    }
    
    /**
     * Sets the "IX" attribute
     */
    public void setIX(short ix) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(IX$6);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(IX$6);
            }
            target.setShortValue(ix);
        }
    }
    
    /**
     * Sets (as xml) the "IX" attribute
     */
    public void xsetIX(org.apache.xmlbeans.XmlUnsignedByte ix) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedByte target = null;
            target = (org.apache.xmlbeans.XmlUnsignedByte)get_store().find_attribute_user(IX$6);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlUnsignedByte)get_store().add_attribute_user(IX$6);
            }
            target.set(ix);
        }
    }
    
    /**
     * Unsets the "IX" attribute
     */
    public void unsetIX() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(IX$6);
        }
    }
    
    /**
     * Gets the "S" attribute
     */
    public short getS() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(S$8);
            if (target == null) {
                return 0;
            }
            return target.getShortValue();
        }
    }
    
    /**
     * Gets (as xml) the "S" attribute
     */
    public org.apache.xmlbeans.XmlUnsignedByte xgetS() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedByte target = null;
            target = (org.apache.xmlbeans.XmlUnsignedByte)get_store().find_attribute_user(S$8);
            return target;
        }
    }
    
    /**
     * True if has "S" attribute
     */
    public boolean isSetS() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(S$8) != null;
        }
    }
    
    /**
     * Sets the "S" attribute
     */
    public void setS(short s) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(S$8);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(S$8);
            }
            target.setShortValue(s);
        }
    }
    
    /**
     * Sets (as xml) the "S" attribute
     */
    public void xsetS(org.apache.xmlbeans.XmlUnsignedByte s) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedByte target = null;
            target = (org.apache.xmlbeans.XmlUnsignedByte)get_store().find_attribute_user(S$8);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlUnsignedByte)get_store().add_attribute_user(S$8);
            }
            target.set(s);
        }
    }
    
    /**
     * Unsets the "S" attribute
     */
    public void unsetS() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(S$8);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy