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

com.microsoft.schemas.office.visio.x2012.main.impl.AutoLinkComparisonTypeImpl 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:  AutoLinkComparison_Type
 * Namespace: http://schemas.microsoft.com/office/visio/2012/main
 * Java type: com.microsoft.schemas.office.visio.x2012.main.AutoLinkComparisonType
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
 * An XML AutoLinkComparison_Type(@http://schemas.microsoft.com/office/visio/2012/main).
 *
 * This is a complex type.
 */
public class AutoLinkComparisonTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.AutoLinkComparisonType {
    private static final long serialVersionUID = 1L;
    
    public AutoLinkComparisonTypeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName COLUMNNAME$0 = 
        new javax.xml.namespace.QName("", "ColumnName");
    private static final javax.xml.namespace.QName CONTEXTTYPE$2 = 
        new javax.xml.namespace.QName("", "ContextType");
    private static final javax.xml.namespace.QName CONTEXTTYPELABEL$4 = 
        new javax.xml.namespace.QName("", "ContextTypeLabel");
    
    
    /**
     * Gets the "ColumnName" attribute
     */
    public java.lang.String getColumnName() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COLUMNNAME$0);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ColumnName" attribute
     */
    public org.apache.xmlbeans.XmlString xgetColumnName() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(COLUMNNAME$0);
            return target;
        }
    }
    
    /**
     * Sets the "ColumnName" attribute
     */
    public void setColumnName(java.lang.String columnName) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COLUMNNAME$0);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(COLUMNNAME$0);
            }
            target.setStringValue(columnName);
        }
    }
    
    /**
     * Sets (as xml) the "ColumnName" attribute
     */
    public void xsetColumnName(org.apache.xmlbeans.XmlString columnName) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(COLUMNNAME$0);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(COLUMNNAME$0);
            }
            target.set(columnName);
        }
    }
    
    /**
     * Gets the "ContextType" attribute
     */
    public long getContextType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTEXTTYPE$2);
            if (target == null) {
                return 0L;
            }
            return target.getLongValue();
        }
    }
    
    /**
     * Gets (as xml) the "ContextType" attribute
     */
    public org.apache.xmlbeans.XmlUnsignedInt xgetContextType() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(CONTEXTTYPE$2);
            return target;
        }
    }
    
    /**
     * Sets the "ContextType" attribute
     */
    public void setContextType(long contextType) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTEXTTYPE$2);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONTEXTTYPE$2);
            }
            target.setLongValue(contextType);
        }
    }
    
    /**
     * Sets (as xml) the "ContextType" attribute
     */
    public void xsetContextType(org.apache.xmlbeans.XmlUnsignedInt contextType) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlUnsignedInt target = null;
            target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(CONTEXTTYPE$2);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(CONTEXTTYPE$2);
            }
            target.set(contextType);
        }
    }
    
    /**
     * Gets the "ContextTypeLabel" attribute
     */
    public java.lang.String getContextTypeLabel() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTEXTTYPELABEL$4);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "ContextTypeLabel" attribute
     */
    public org.apache.xmlbeans.XmlString xgetContextTypeLabel() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CONTEXTTYPELABEL$4);
            return target;
        }
    }
    
    /**
     * True if has "ContextTypeLabel" attribute
     */
    public boolean isSetContextTypeLabel() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(CONTEXTTYPELABEL$4) != null;
        }
    }
    
    /**
     * Sets the "ContextTypeLabel" attribute
     */
    public void setContextTypeLabel(java.lang.String contextTypeLabel) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTEXTTYPELABEL$4);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONTEXTTYPELABEL$4);
            }
            target.setStringValue(contextTypeLabel);
        }
    }
    
    /**
     * Sets (as xml) the "ContextTypeLabel" attribute
     */
    public void xsetContextTypeLabel(org.apache.xmlbeans.XmlString contextTypeLabel) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CONTEXTTYPELABEL$4);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CONTEXTTYPELABEL$4);
            }
            target.set(contextTypeLabel);
        }
    }
    
    /**
     * Unsets the "ContextTypeLabel" attribute
     */
    public void unsetContextTypeLabel() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(CONTEXTTYPELABEL$4);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy