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

org.openxmlformats.schemas.drawingml.x2006.diagram.impl.CTConstraintImpl 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

The newest version!
/*
 * XML Type:  CT_Constraint
 * Namespace: http://schemas.openxmlformats.org/drawingml/2006/diagram
 * Java type: org.openxmlformats.schemas.drawingml.x2006.diagram.CTConstraint
 *
 * Automatically generated - do not modify.
 */
package org.openxmlformats.schemas.drawingml.x2006.diagram.impl;
/**
 * An XML CT_Constraint(@http://schemas.openxmlformats.org/drawingml/2006/diagram).
 *
 * This is a complex type.
 */
public class CTConstraintImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.drawingml.x2006.diagram.CTConstraint
{
    private static final long serialVersionUID = 1L;
    
    public CTConstraintImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName EXTLST$0 = 
        new javax.xml.namespace.QName("http://schemas.openxmlformats.org/drawingml/2006/diagram", "extLst");
    private static final javax.xml.namespace.QName TYPE$2 = 
        new javax.xml.namespace.QName("", "type");
    private static final javax.xml.namespace.QName FOR$4 = 
        new javax.xml.namespace.QName("", "for");
    private static final javax.xml.namespace.QName FORNAME$6 = 
        new javax.xml.namespace.QName("", "forName");
    private static final javax.xml.namespace.QName PTTYPE$8 = 
        new javax.xml.namespace.QName("", "ptType");
    private static final javax.xml.namespace.QName REFTYPE$10 = 
        new javax.xml.namespace.QName("", "refType");
    private static final javax.xml.namespace.QName REFFOR$12 = 
        new javax.xml.namespace.QName("", "refFor");
    private static final javax.xml.namespace.QName REFFORNAME$14 = 
        new javax.xml.namespace.QName("", "refForName");
    private static final javax.xml.namespace.QName REFPTTYPE$16 = 
        new javax.xml.namespace.QName("", "refPtType");
    private static final javax.xml.namespace.QName OP$18 = 
        new javax.xml.namespace.QName("", "op");
    private static final javax.xml.namespace.QName VAL$20 = 
        new javax.xml.namespace.QName("", "val");
    private static final javax.xml.namespace.QName FACT$22 = 
        new javax.xml.namespace.QName("", "fact");
    
    
    /**
     * Gets the "extLst" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList getExtLst()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList)get_store().find_element_user(EXTLST$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "extLst" element
     */
    public boolean isSetExtLst()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(EXTLST$0) != 0;
        }
    }
    
    /**
     * Sets the "extLst" element
     */
    public void setExtLst(org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList extLst)
    {
        generatedSetterHelperImpl(extLst, EXTLST$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "extLst" element
     */
    public org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList addNewExtLst()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.main.CTOfficeArtExtensionList)get_store().add_element_user(EXTLST$0);
            return target;
        }
    }
    
    /**
     * Unsets the "extLst" element
     */
    public void unsetExtLst()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(EXTLST$0, 0);
        }
    }
    
    /**
     * Gets the "type" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType.Enum getType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
            if (target == null)
            {
                return null;
            }
            return (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "type" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType xgetType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType)get_store().find_attribute_user(TYPE$2);
            return target;
        }
    }
    
    /**
     * Sets the "type" attribute
     */
    public void setType(org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType.Enum type)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$2);
            }
            target.setEnumValue(type);
        }
    }
    
    /**
     * Sets (as xml) the "type" attribute
     */
    public void xsetType(org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType type)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType)get_store().find_attribute_user(TYPE$2);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType)get_store().add_attribute_user(TYPE$2);
            }
            target.set(type);
        }
    }
    
    /**
     * Gets the "for" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship.Enum getFor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FOR$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FOR$4);
            }
            if (target == null)
            {
                return null;
            }
            return (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "for" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship xgetFor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship)get_store().find_attribute_user(FOR$4);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship)get_default_attribute_value(FOR$4);
            }
            return target;
        }
    }
    
    /**
     * True if has "for" attribute
     */
    public boolean isSetFor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(FOR$4) != null;
        }
    }
    
    /**
     * Sets the "for" attribute
     */
    public void setFor(org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship.Enum xfor)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FOR$4);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FOR$4);
            }
            target.setEnumValue(xfor);
        }
    }
    
    /**
     * Sets (as xml) the "for" attribute
     */
    public void xsetFor(org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship xfor)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship)get_store().find_attribute_user(FOR$4);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship)get_store().add_attribute_user(FOR$4);
            }
            target.set(xfor);
        }
    }
    
    /**
     * Unsets the "for" attribute
     */
    public void unsetFor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(FOR$4);
        }
    }
    
    /**
     * Gets the "forName" attribute
     */
    public java.lang.String getForName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORNAME$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORNAME$6);
            }
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "forName" attribute
     */
    public org.apache.xmlbeans.XmlString xgetForName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(FORNAME$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_default_attribute_value(FORNAME$6);
            }
            return target;
        }
    }
    
    /**
     * True if has "forName" attribute
     */
    public boolean isSetForName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(FORNAME$6) != null;
        }
    }
    
    /**
     * Sets the "forName" attribute
     */
    public void setForName(java.lang.String forName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORNAME$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORNAME$6);
            }
            target.setStringValue(forName);
        }
    }
    
    /**
     * Sets (as xml) the "forName" attribute
     */
    public void xsetForName(org.apache.xmlbeans.XmlString forName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(FORNAME$6);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(FORNAME$6);
            }
            target.set(forName);
        }
    }
    
    /**
     * Unsets the "forName" attribute
     */
    public void unsetForName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(FORNAME$6);
        }
    }
    
    /**
     * Gets the "ptType" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType.Enum getPtType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PTTYPE$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(PTTYPE$8);
            }
            if (target == null)
            {
                return null;
            }
            return (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "ptType" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType xgetPtType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType)get_store().find_attribute_user(PTTYPE$8);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType)get_default_attribute_value(PTTYPE$8);
            }
            return target;
        }
    }
    
    /**
     * True if has "ptType" attribute
     */
    public boolean isSetPtType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(PTTYPE$8) != null;
        }
    }
    
    /**
     * Sets the "ptType" attribute
     */
    public void setPtType(org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType.Enum ptType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PTTYPE$8);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PTTYPE$8);
            }
            target.setEnumValue(ptType);
        }
    }
    
    /**
     * Sets (as xml) the "ptType" attribute
     */
    public void xsetPtType(org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType ptType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType)get_store().find_attribute_user(PTTYPE$8);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType)get_store().add_attribute_user(PTTYPE$8);
            }
            target.set(ptType);
        }
    }
    
    /**
     * Unsets the "ptType" attribute
     */
    public void unsetPtType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(PTTYPE$8);
        }
    }
    
    /**
     * Gets the "refType" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType.Enum getRefType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFTYPE$10);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(REFTYPE$10);
            }
            if (target == null)
            {
                return null;
            }
            return (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "refType" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType xgetRefType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType)get_store().find_attribute_user(REFTYPE$10);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType)get_default_attribute_value(REFTYPE$10);
            }
            return target;
        }
    }
    
    /**
     * True if has "refType" attribute
     */
    public boolean isSetRefType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(REFTYPE$10) != null;
        }
    }
    
    /**
     * Sets the "refType" attribute
     */
    public void setRefType(org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType.Enum refType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFTYPE$10);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REFTYPE$10);
            }
            target.setEnumValue(refType);
        }
    }
    
    /**
     * Sets (as xml) the "refType" attribute
     */
    public void xsetRefType(org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType refType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType)get_store().find_attribute_user(REFTYPE$10);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintType)get_store().add_attribute_user(REFTYPE$10);
            }
            target.set(refType);
        }
    }
    
    /**
     * Unsets the "refType" attribute
     */
    public void unsetRefType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(REFTYPE$10);
        }
    }
    
    /**
     * Gets the "refFor" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship.Enum getRefFor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFFOR$12);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(REFFOR$12);
            }
            if (target == null)
            {
                return null;
            }
            return (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "refFor" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship xgetRefFor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship)get_store().find_attribute_user(REFFOR$12);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship)get_default_attribute_value(REFFOR$12);
            }
            return target;
        }
    }
    
    /**
     * True if has "refFor" attribute
     */
    public boolean isSetRefFor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(REFFOR$12) != null;
        }
    }
    
    /**
     * Sets the "refFor" attribute
     */
    public void setRefFor(org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship.Enum refFor)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFFOR$12);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REFFOR$12);
            }
            target.setEnumValue(refFor);
        }
    }
    
    /**
     * Sets (as xml) the "refFor" attribute
     */
    public void xsetRefFor(org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship refFor)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship)get_store().find_attribute_user(REFFOR$12);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STConstraintRelationship)get_store().add_attribute_user(REFFOR$12);
            }
            target.set(refFor);
        }
    }
    
    /**
     * Unsets the "refFor" attribute
     */
    public void unsetRefFor()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(REFFOR$12);
        }
    }
    
    /**
     * Gets the "refForName" attribute
     */
    public java.lang.String getRefForName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFFORNAME$14);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(REFFORNAME$14);
            }
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "refForName" attribute
     */
    public org.apache.xmlbeans.XmlString xgetRefForName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(REFFORNAME$14);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_default_attribute_value(REFFORNAME$14);
            }
            return target;
        }
    }
    
    /**
     * True if has "refForName" attribute
     */
    public boolean isSetRefForName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(REFFORNAME$14) != null;
        }
    }
    
    /**
     * Sets the "refForName" attribute
     */
    public void setRefForName(java.lang.String refForName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFFORNAME$14);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REFFORNAME$14);
            }
            target.setStringValue(refForName);
        }
    }
    
    /**
     * Sets (as xml) the "refForName" attribute
     */
    public void xsetRefForName(org.apache.xmlbeans.XmlString refForName)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(REFFORNAME$14);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(REFFORNAME$14);
            }
            target.set(refForName);
        }
    }
    
    /**
     * Unsets the "refForName" attribute
     */
    public void unsetRefForName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(REFFORNAME$14);
        }
    }
    
    /**
     * Gets the "refPtType" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType.Enum getRefPtType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFPTTYPE$16);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(REFPTTYPE$16);
            }
            if (target == null)
            {
                return null;
            }
            return (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "refPtType" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType xgetRefPtType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType)get_store().find_attribute_user(REFPTTYPE$16);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType)get_default_attribute_value(REFPTTYPE$16);
            }
            return target;
        }
    }
    
    /**
     * True if has "refPtType" attribute
     */
    public boolean isSetRefPtType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(REFPTTYPE$16) != null;
        }
    }
    
    /**
     * Sets the "refPtType" attribute
     */
    public void setRefPtType(org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType.Enum refPtType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFPTTYPE$16);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REFPTTYPE$16);
            }
            target.setEnumValue(refPtType);
        }
    }
    
    /**
     * Sets (as xml) the "refPtType" attribute
     */
    public void xsetRefPtType(org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType refPtType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType)get_store().find_attribute_user(REFPTTYPE$16);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STElementType)get_store().add_attribute_user(REFPTTYPE$16);
            }
            target.set(refPtType);
        }
    }
    
    /**
     * Unsets the "refPtType" attribute
     */
    public void unsetRefPtType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(REFPTTYPE$16);
        }
    }
    
    /**
     * Gets the "op" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator.Enum getOp()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OP$18);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(OP$18);
            }
            if (target == null)
            {
                return null;
            }
            return (org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "op" attribute
     */
    public org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator xgetOp()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator)get_store().find_attribute_user(OP$18);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator)get_default_attribute_value(OP$18);
            }
            return target;
        }
    }
    
    /**
     * True if has "op" attribute
     */
    public boolean isSetOp()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(OP$18) != null;
        }
    }
    
    /**
     * Sets the "op" attribute
     */
    public void setOp(org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator.Enum op)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(OP$18);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(OP$18);
            }
            target.setEnumValue(op);
        }
    }
    
    /**
     * Sets (as xml) the "op" attribute
     */
    public void xsetOp(org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator op)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator target = null;
            target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator)get_store().find_attribute_user(OP$18);
            if (target == null)
            {
                target = (org.openxmlformats.schemas.drawingml.x2006.diagram.STBoolOperator)get_store().add_attribute_user(OP$18);
            }
            target.set(op);
        }
    }
    
    /**
     * Unsets the "op" attribute
     */
    public void unsetOp()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(OP$18);
        }
    }
    
    /**
     * Gets the "val" attribute
     */
    public double getVal()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VAL$20);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(VAL$20);
            }
            if (target == null)
            {
                return 0.0;
            }
            return target.getDoubleValue();
        }
    }
    
    /**
     * Gets (as xml) the "val" attribute
     */
    public org.apache.xmlbeans.XmlDouble xgetVal()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(VAL$20);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDouble)get_default_attribute_value(VAL$20);
            }
            return target;
        }
    }
    
    /**
     * True if has "val" attribute
     */
    public boolean isSetVal()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(VAL$20) != null;
        }
    }
    
    /**
     * Sets the "val" attribute
     */
    public void setVal(double val)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VAL$20);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VAL$20);
            }
            target.setDoubleValue(val);
        }
    }
    
    /**
     * Sets (as xml) the "val" attribute
     */
    public void xsetVal(org.apache.xmlbeans.XmlDouble val)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(VAL$20);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDouble)get_store().add_attribute_user(VAL$20);
            }
            target.set(val);
        }
    }
    
    /**
     * Unsets the "val" attribute
     */
    public void unsetVal()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(VAL$20);
        }
    }
    
    /**
     * Gets the "fact" attribute
     */
    public double getFact()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FACT$22);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FACT$22);
            }
            if (target == null)
            {
                return 0.0;
            }
            return target.getDoubleValue();
        }
    }
    
    /**
     * Gets (as xml) the "fact" attribute
     */
    public org.apache.xmlbeans.XmlDouble xgetFact()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(FACT$22);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDouble)get_default_attribute_value(FACT$22);
            }
            return target;
        }
    }
    
    /**
     * True if has "fact" attribute
     */
    public boolean isSetFact()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(FACT$22) != null;
        }
    }
    
    /**
     * Sets the "fact" attribute
     */
    public void setFact(double fact)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FACT$22);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FACT$22);
            }
            target.setDoubleValue(fact);
        }
    }
    
    /**
     * Sets (as xml) the "fact" attribute
     */
    public void xsetFact(org.apache.xmlbeans.XmlDouble fact)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDouble target = null;
            target = (org.apache.xmlbeans.XmlDouble)get_store().find_attribute_user(FACT$22);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDouble)get_store().add_attribute_user(FACT$22);
            }
            target.set(fact);
        }
    }
    
    /**
     * Unsets the "fact" attribute
     */
    public void unsetFact()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(FACT$22);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy