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

com.microsoft.schemas.office.visio.x2012.main.impl.ConnectTypeImpl Maven / Gradle / Ivy

Go to download

XmlBeans generated from the Ecma supplied xsds: http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip

There is a newer version: 1.4
Show newest version
/*
 * XML Type:  Connect_Type
 * Namespace: http://schemas.microsoft.com/office/visio/2012/main
 * Java type: com.microsoft.schemas.office.visio.x2012.main.ConnectType
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
 * An XML Connect_Type(@http://schemas.microsoft.com/office/visio/2012/main).
 *
 * This is a complex type.
 */
public class ConnectTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.ConnectType
{
    
    public ConnectTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName FROMSHEET$0 = 
        new javax.xml.namespace.QName("", "FromSheet");
    private static final javax.xml.namespace.QName FROMCELL$2 = 
        new javax.xml.namespace.QName("", "FromCell");
    private static final javax.xml.namespace.QName FROMPART$4 = 
        new javax.xml.namespace.QName("", "FromPart");
    private static final javax.xml.namespace.QName TOSHEET$6 = 
        new javax.xml.namespace.QName("", "ToSheet");
    private static final javax.xml.namespace.QName TOCELL$8 = 
        new javax.xml.namespace.QName("", "ToCell");
    private static final javax.xml.namespace.QName TOPART$10 = 
        new javax.xml.namespace.QName("", "ToPart");
    
    
    /**
     * Gets the "FromSheet" attribute
     */
    public long getFromSheet()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FROMSHEET$0);
            if (target == null)
            {
                return 0L;
            }
            return target.getLongValue();
        }
    }
    
    /**
     * Gets (as xml) the "FromSheet" attribute
     */
    public org.apache.xmlbeans.XmlUnsignedInt xgetFromSheet()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(FROMSHEET$0);
            return target;
        }
    }
    
    /**
     * Sets the "FromSheet" attribute
     */
    public void setFromSheet(long fromSheet)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FROMSHEET$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FROMSHEET$0);
            }
            target.setLongValue(fromSheet);
        }
    }
    
    /**
     * Sets (as xml) the "FromSheet" attribute
     */
    public void xsetFromSheet(org.apache.xmlbeans.XmlUnsignedInt fromSheet)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(FROMSHEET$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(FROMSHEET$0);
            }
            target.set(fromSheet);
        }
    }
    
    /**
     * Gets the "FromCell" attribute
     */
    public java.lang.String getFromCell()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FROMCELL$2);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "FromCell" attribute
     */
    public org.apache.xmlbeans.XmlString xgetFromCell()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(FROMCELL$2);
            return target;
        }
    }
    
    /**
     * True if has "FromCell" attribute
     */
    public boolean isSetFromCell()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(FROMCELL$2) != null;
        }
    }
    
    /**
     * Sets the "FromCell" attribute
     */
    public void setFromCell(java.lang.String fromCell)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FROMCELL$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FROMCELL$2);
            }
            target.setStringValue(fromCell);
        }
    }
    
    /**
     * Sets (as xml) the "FromCell" attribute
     */
    public void xsetFromCell(org.apache.xmlbeans.XmlString fromCell)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(FROMCELL$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(FROMCELL$2);
            }
            target.set(fromCell);
        }
    }
    
    /**
     * Unsets the "FromCell" attribute
     */
    public void unsetFromCell()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(FROMCELL$2);
        }
    }
    
    /**
     * Gets the "FromPart" attribute
     */
    public int getFromPart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FROMPART$4);
            if (target == null)
            {
                return 0;
            }
            return target.getIntValue();
        }
    }
    
    /**
     * Gets (as xml) the "FromPart" attribute
     */
    public org.apache.xmlbeans.XmlInt xgetFromPart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInt target = null;
            target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(FROMPART$4);
            return target;
        }
    }
    
    /**
     * True if has "FromPart" attribute
     */
    public boolean isSetFromPart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(FROMPART$4) != null;
        }
    }
    
    /**
     * Sets the "FromPart" attribute
     */
    public void setFromPart(int fromPart)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FROMPART$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FROMPART$4);
            }
            target.setIntValue(fromPart);
        }
    }
    
    /**
     * Sets (as xml) the "FromPart" attribute
     */
    public void xsetFromPart(org.apache.xmlbeans.XmlInt fromPart)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInt target = null;
            target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(FROMPART$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInt)get_store().add_attribute_user(FROMPART$4);
            }
            target.set(fromPart);
        }
    }
    
    /**
     * Unsets the "FromPart" attribute
     */
    public void unsetFromPart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(FROMPART$4);
        }
    }
    
    /**
     * Gets the "ToSheet" attribute
     */
    public long getToSheet()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TOSHEET$6);
            if (target == null)
            {
                return 0L;
            }
            return target.getLongValue();
        }
    }
    
    /**
     * Gets (as xml) the "ToSheet" attribute
     */
    public org.apache.xmlbeans.XmlUnsignedInt xgetToSheet()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(TOSHEET$6);
            return target;
        }
    }
    
    /**
     * Sets the "ToSheet" attribute
     */
    public void setToSheet(long toSheet)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TOSHEET$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TOSHEET$6);
            }
            target.setLongValue(toSheet);
        }
    }
    
    /**
     * Sets (as xml) the "ToSheet" attribute
     */
    public void xsetToSheet(org.apache.xmlbeans.XmlUnsignedInt toSheet)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(TOSHEET$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(TOSHEET$6);
            }
            target.set(toSheet);
        }
    }
    
    /**
     * Gets the "ToCell" attribute
     */
    public java.lang.String getToCell()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TOCELL$8);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ToCell" attribute
     */
    public org.apache.xmlbeans.XmlString xgetToCell()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TOCELL$8);
            return target;
        }
    }
    
    /**
     * True if has "ToCell" attribute
     */
    public boolean isSetToCell()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(TOCELL$8) != null;
        }
    }
    
    /**
     * Sets the "ToCell" attribute
     */
    public void setToCell(java.lang.String toCell)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TOCELL$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TOCELL$8);
            }
            target.setStringValue(toCell);
        }
    }
    
    /**
     * Sets (as xml) the "ToCell" attribute
     */
    public void xsetToCell(org.apache.xmlbeans.XmlString toCell)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(TOCELL$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(TOCELL$8);
            }
            target.set(toCell);
        }
    }
    
    /**
     * Unsets the "ToCell" attribute
     */
    public void unsetToCell()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(TOCELL$8);
        }
    }
    
    /**
     * Gets the "ToPart" attribute
     */
    public int getToPart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TOPART$10);
            if (target == null)
            {
                return 0;
            }
            return target.getIntValue();
        }
    }
    
    /**
     * Gets (as xml) the "ToPart" attribute
     */
    public org.apache.xmlbeans.XmlInt xgetToPart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInt target = null;
            target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(TOPART$10);
            return target;
        }
    }
    
    /**
     * True if has "ToPart" attribute
     */
    public boolean isSetToPart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(TOPART$10) != null;
        }
    }
    
    /**
     * Sets the "ToPart" attribute
     */
    public void setToPart(int toPart)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TOPART$10);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TOPART$10);
            }
            target.setIntValue(toPart);
        }
    }
    
    /**
     * Sets (as xml) the "ToPart" attribute
     */
    public void xsetToPart(org.apache.xmlbeans.XmlInt toPart)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInt target = null;
            target = (org.apache.xmlbeans.XmlInt)get_store().find_attribute_user(TOPART$10);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInt)get_store().add_attribute_user(TOPART$10);
            }
            target.set(toPart);
        }
    }
    
    /**
     * Unsets the "ToPart" attribute
     */
    public void unsetToPart()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(TOPART$10);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy