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

com.microsoft.schemas.office.visio.x2012.main.impl.FooterMarginTypeImpl 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:  FooterMargin_Type
 * Namespace: http://schemas.microsoft.com/office/visio/2012/main
 * Java type: com.microsoft.schemas.office.visio.x2012.main.FooterMarginType
 *
 * Automatically generated - do not modify.
 */
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
 * An XML FooterMargin_Type(@http://schemas.microsoft.com/office/visio/2012/main).
 *
 * This is an atomic type that is a restriction of com.microsoft.schemas.office.visio.x2012.main.FooterMarginType.
 */
public class FooterMarginTypeImpl extends org.apache.xmlbeans.impl.values.JavaDoubleHolderEx implements com.microsoft.schemas.office.visio.x2012.main.FooterMarginType {
    private static final long serialVersionUID = 1L;
    
    public FooterMarginTypeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType, true);
    }
    
    protected FooterMarginTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b) {
        super(sType, b);
    }
    
    private static final javax.xml.namespace.QName UNIT$0 = 
        new javax.xml.namespace.QName("", "Unit");
    
    
    /**
     * Gets the "Unit" attribute
     */
    public java.lang.String getUnit() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(UNIT$0);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "Unit" attribute
     */
    public org.apache.xmlbeans.XmlString xgetUnit() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(UNIT$0);
            return target;
        }
    }
    
    /**
     * True if has "Unit" attribute
     */
    public boolean isSetUnit() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(UNIT$0) != null;
        }
    }
    
    /**
     * Sets the "Unit" attribute
     */
    public void setUnit(java.lang.String unit) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(UNIT$0);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(UNIT$0);
            }
            target.setStringValue(unit);
        }
    }
    
    /**
     * Sets (as xml) the "Unit" attribute
     */
    public void xsetUnit(org.apache.xmlbeans.XmlString unit) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(UNIT$0);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(UNIT$0);
            }
            target.set(unit);
        }
    }
    
    /**
     * Unsets the "Unit" attribute
     */
    public void unsetUnit() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(UNIT$0);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy