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

openEHR.v1.template.impl.StatementImpl Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  statement
 * Namespace: openEHR/v1/Template
 * Java type: openEHR.v1.template.Statement
 *
 * Automatically generated - do not modify.
 */
package openEHR.v1.template.impl;
/**
 * An XML statement(@openEHR/v1/Template).
 *
 * This is a complex type.
 */
public class StatementImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements openEHR.v1.template.Statement
{
    private static final long serialVersionUID = 1L;
    
    public StatementImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName QUERYID$0 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "queryId");
    private static final javax.xml.namespace.QName CONSTRAINT$2 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "constraint");
    private static final javax.xml.namespace.QName NAMECONSTRAINT$4 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "nameConstraint");
    private static final javax.xml.namespace.QName EVENTCONSTRAINT$6 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "eventConstraint");
    private static final javax.xml.namespace.QName CONDITIONALNODE$8 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "conditionalNode");
    private static final javax.xml.namespace.QName NULLFLAVOURCONSTRAINT$10 = 
        new javax.xml.namespace.QName("openEHR/v1/Template", "nullFlavourConstraint");
    private static final javax.xml.namespace.QName PATH$12 = 
        new javax.xml.namespace.QName("", "path");
    private static final javax.xml.namespace.QName MAX$14 = 
        new javax.xml.namespace.QName("", "max");
    private static final javax.xml.namespace.QName MIN$16 = 
        new javax.xml.namespace.QName("", "min");
    private static final javax.xml.namespace.QName EXCLUSIVE$18 = 
        new javax.xml.namespace.QName("", "exclusive");
    private static final javax.xml.namespace.QName DEFAULT$20 = 
        new javax.xml.namespace.QName("", "default");
    private static final javax.xml.namespace.QName HIDEONFORM$22 = 
        new javax.xml.namespace.QName("", "hide_on_form");
    private static final javax.xml.namespace.QName CLONE$24 = 
        new javax.xml.namespace.QName("", "clone");
    private static final javax.xml.namespace.QName NAME$26 = 
        new javax.xml.namespace.QName("", "name");
    private static final javax.xml.namespace.QName ANNOTATION$28 = 
        new javax.xml.namespace.QName("", "annotation");
    
    
    /**
     * Gets the "queryId" element
     */
    public openEHR.v1.template.Binding getQueryId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.Binding target = null;
            target = (openEHR.v1.template.Binding)get_store().find_element_user(QUERYID$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "queryId" element
     */
    public boolean isSetQueryId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(QUERYID$0) != 0;
        }
    }
    
    /**
     * Sets the "queryId" element
     */
    public void setQueryId(openEHR.v1.template.Binding queryId)
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.Binding target = null;
            target = (openEHR.v1.template.Binding)get_store().find_element_user(QUERYID$0, 0);
            if (target == null)
            {
                target = (openEHR.v1.template.Binding)get_store().add_element_user(QUERYID$0);
            }
            target.set(queryId);
        }
    }
    
    /**
     * Appends and returns a new empty "queryId" element
     */
    public openEHR.v1.template.Binding addNewQueryId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.Binding target = null;
            target = (openEHR.v1.template.Binding)get_store().add_element_user(QUERYID$0);
            return target;
        }
    }
    
    /**
     * Unsets the "queryId" element
     */
    public void unsetQueryId()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(QUERYID$0, 0);
        }
    }
    
    /**
     * Gets the "constraint" element
     */
    public openEHR.v1.template.ValueConstraint getConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.ValueConstraint target = null;
            target = (openEHR.v1.template.ValueConstraint)get_store().find_element_user(CONSTRAINT$2, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "constraint" element
     */
    public boolean isSetConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CONSTRAINT$2) != 0;
        }
    }
    
    /**
     * Sets the "constraint" element
     */
    public void setConstraint(openEHR.v1.template.ValueConstraint constraint)
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.ValueConstraint target = null;
            target = (openEHR.v1.template.ValueConstraint)get_store().find_element_user(CONSTRAINT$2, 0);
            if (target == null)
            {
                target = (openEHR.v1.template.ValueConstraint)get_store().add_element_user(CONSTRAINT$2);
            }
            target.set(constraint);
        }
    }
    
    /**
     * Appends and returns a new empty "constraint" element
     */
    public openEHR.v1.template.ValueConstraint addNewConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.ValueConstraint target = null;
            target = (openEHR.v1.template.ValueConstraint)get_store().add_element_user(CONSTRAINT$2);
            return target;
        }
    }
    
    /**
     * Unsets the "constraint" element
     */
    public void unsetConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CONSTRAINT$2, 0);
        }
    }
    
    /**
     * Gets the "nameConstraint" element
     */
    public openEHR.v1.template.TextConstraint getNameConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.TextConstraint target = null;
            target = (openEHR.v1.template.TextConstraint)get_store().find_element_user(NAMECONSTRAINT$4, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "nameConstraint" element
     */
    public boolean isSetNameConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(NAMECONSTRAINT$4) != 0;
        }
    }
    
    /**
     * Sets the "nameConstraint" element
     */
    public void setNameConstraint(openEHR.v1.template.TextConstraint nameConstraint)
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.TextConstraint target = null;
            target = (openEHR.v1.template.TextConstraint)get_store().find_element_user(NAMECONSTRAINT$4, 0);
            if (target == null)
            {
                target = (openEHR.v1.template.TextConstraint)get_store().add_element_user(NAMECONSTRAINT$4);
            }
            target.set(nameConstraint);
        }
    }
    
    /**
     * Appends and returns a new empty "nameConstraint" element
     */
    public openEHR.v1.template.TextConstraint addNewNameConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.TextConstraint target = null;
            target = (openEHR.v1.template.TextConstraint)get_store().add_element_user(NAMECONSTRAINT$4);
            return target;
        }
    }
    
    /**
     * Unsets the "nameConstraint" element
     */
    public void unsetNameConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(NAMECONSTRAINT$4, 0);
        }
    }
    
    /**
     * Gets the "eventConstraint" element
     */
    public openEHR.v1.template.EventType getEventConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.EventType target = null;
            target = (openEHR.v1.template.EventType)get_store().find_element_user(EVENTCONSTRAINT$6, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "eventConstraint" element
     */
    public boolean isSetEventConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(EVENTCONSTRAINT$6) != 0;
        }
    }
    
    /**
     * Sets the "eventConstraint" element
     */
    public void setEventConstraint(openEHR.v1.template.EventType eventConstraint)
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.EventType target = null;
            target = (openEHR.v1.template.EventType)get_store().find_element_user(EVENTCONSTRAINT$6, 0);
            if (target == null)
            {
                target = (openEHR.v1.template.EventType)get_store().add_element_user(EVENTCONSTRAINT$6);
            }
            target.set(eventConstraint);
        }
    }
    
    /**
     * Appends and returns a new empty "eventConstraint" element
     */
    public openEHR.v1.template.EventType addNewEventConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.EventType target = null;
            target = (openEHR.v1.template.EventType)get_store().add_element_user(EVENTCONSTRAINT$6);
            return target;
        }
    }
    
    /**
     * Unsets the "eventConstraint" element
     */
    public void unsetEventConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(EVENTCONSTRAINT$6, 0);
        }
    }
    
    /**
     * Gets the "conditionalNode" element
     */
    public openEHR.v1.template.Condition getConditionalNode()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.Condition target = null;
            target = (openEHR.v1.template.Condition)get_store().find_element_user(CONDITIONALNODE$8, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "conditionalNode" element
     */
    public boolean isSetConditionalNode()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(CONDITIONALNODE$8) != 0;
        }
    }
    
    /**
     * Sets the "conditionalNode" element
     */
    public void setConditionalNode(openEHR.v1.template.Condition conditionalNode)
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.Condition target = null;
            target = (openEHR.v1.template.Condition)get_store().find_element_user(CONDITIONALNODE$8, 0);
            if (target == null)
            {
                target = (openEHR.v1.template.Condition)get_store().add_element_user(CONDITIONALNODE$8);
            }
            target.set(conditionalNode);
        }
    }
    
    /**
     * Appends and returns a new empty "conditionalNode" element
     */
    public openEHR.v1.template.Condition addNewConditionalNode()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.Condition target = null;
            target = (openEHR.v1.template.Condition)get_store().add_element_user(CONDITIONALNODE$8);
            return target;
        }
    }
    
    /**
     * Unsets the "conditionalNode" element
     */
    public void unsetConditionalNode()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(CONDITIONALNODE$8, 0);
        }
    }
    
    /**
     * Gets the "nullFlavourConstraint" element
     */
    public openEHR.v1.template.TextConstraint getNullFlavourConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.TextConstraint target = null;
            target = (openEHR.v1.template.TextConstraint)get_store().find_element_user(NULLFLAVOURCONSTRAINT$10, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * True if has "nullFlavourConstraint" element
     */
    public boolean isSetNullFlavourConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(NULLFLAVOURCONSTRAINT$10) != 0;
        }
    }
    
    /**
     * Sets the "nullFlavourConstraint" element
     */
    public void setNullFlavourConstraint(openEHR.v1.template.TextConstraint nullFlavourConstraint)
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.TextConstraint target = null;
            target = (openEHR.v1.template.TextConstraint)get_store().find_element_user(NULLFLAVOURCONSTRAINT$10, 0);
            if (target == null)
            {
                target = (openEHR.v1.template.TextConstraint)get_store().add_element_user(NULLFLAVOURCONSTRAINT$10);
            }
            target.set(nullFlavourConstraint);
        }
    }
    
    /**
     * Appends and returns a new empty "nullFlavourConstraint" element
     */
    public openEHR.v1.template.TextConstraint addNewNullFlavourConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            openEHR.v1.template.TextConstraint target = null;
            target = (openEHR.v1.template.TextConstraint)get_store().add_element_user(NULLFLAVOURCONSTRAINT$10);
            return target;
        }
    }
    
    /**
     * Unsets the "nullFlavourConstraint" element
     */
    public void unsetNullFlavourConstraint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(NULLFLAVOURCONSTRAINT$10, 0);
        }
    }
    
    /**
     * Gets the "path" attribute
     */
    public java.lang.String getPath()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PATH$12);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "path" attribute
     */
    public org.apache.xmlbeans.XmlString xgetPath()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PATH$12);
            return target;
        }
    }
    
    /**
     * Sets the "path" attribute
     */
    public void setPath(java.lang.String path)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PATH$12);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PATH$12);
            }
            target.setStringValue(path);
        }
    }
    
    /**
     * Sets (as xml) the "path" attribute
     */
    public void xsetPath(org.apache.xmlbeans.XmlString path)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PATH$12);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PATH$12);
            }
            target.set(path);
        }
    }
    
    /**
     * Gets the "max" attribute
     */
    public java.math.BigInteger getMax()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MAX$14);
            if (target == null)
            {
                return null;
            }
            return target.getBigIntegerValue();
        }
    }
    
    /**
     * Gets (as xml) the "max" attribute
     */
    public org.apache.xmlbeans.XmlInteger xgetMax()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_attribute_user(MAX$14);
            return target;
        }
    }
    
    /**
     * True if has "max" attribute
     */
    public boolean isSetMax()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(MAX$14) != null;
        }
    }
    
    /**
     * Sets the "max" attribute
     */
    public void setMax(java.math.BigInteger max)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MAX$14);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MAX$14);
            }
            target.setBigIntegerValue(max);
        }
    }
    
    /**
     * Sets (as xml) the "max" attribute
     */
    public void xsetMax(org.apache.xmlbeans.XmlInteger max)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_attribute_user(MAX$14);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInteger)get_store().add_attribute_user(MAX$14);
            }
            target.set(max);
        }
    }
    
    /**
     * Unsets the "max" attribute
     */
    public void unsetMax()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(MAX$14);
        }
    }
    
    /**
     * Gets the "min" attribute
     */
    public java.math.BigInteger getMin()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MIN$16);
            if (target == null)
            {
                return null;
            }
            return target.getBigIntegerValue();
        }
    }
    
    /**
     * Gets (as xml) the "min" attribute
     */
    public org.apache.xmlbeans.XmlInteger xgetMin()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_attribute_user(MIN$16);
            return target;
        }
    }
    
    /**
     * True if has "min" attribute
     */
    public boolean isSetMin()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(MIN$16) != null;
        }
    }
    
    /**
     * Sets the "min" attribute
     */
    public void setMin(java.math.BigInteger min)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MIN$16);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MIN$16);
            }
            target.setBigIntegerValue(min);
        }
    }
    
    /**
     * Sets (as xml) the "min" attribute
     */
    public void xsetMin(org.apache.xmlbeans.XmlInteger min)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlInteger target = null;
            target = (org.apache.xmlbeans.XmlInteger)get_store().find_attribute_user(MIN$16);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlInteger)get_store().add_attribute_user(MIN$16);
            }
            target.set(min);
        }
    }
    
    /**
     * Unsets the "min" attribute
     */
    public void unsetMin()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(MIN$16);
        }
    }
    
    /**
     * Gets the "exclusive" attribute
     */
    public boolean getExclusive()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXCLUSIVE$18);
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "exclusive" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetExclusive()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(EXCLUSIVE$18);
            return target;
        }
    }
    
    /**
     * True if has "exclusive" attribute
     */
    public boolean isSetExclusive()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(EXCLUSIVE$18) != null;
        }
    }
    
    /**
     * Sets the "exclusive" attribute
     */
    public void setExclusive(boolean exclusive)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EXCLUSIVE$18);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EXCLUSIVE$18);
            }
            target.setBooleanValue(exclusive);
        }
    }
    
    /**
     * Sets (as xml) the "exclusive" attribute
     */
    public void xsetExclusive(org.apache.xmlbeans.XmlBoolean exclusive)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(EXCLUSIVE$18);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(EXCLUSIVE$18);
            }
            target.set(exclusive);
        }
    }
    
    /**
     * Unsets the "exclusive" attribute
     */
    public void unsetExclusive()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(EXCLUSIVE$18);
        }
    }
    
    /**
     * Gets the "default" attribute
     */
    public java.lang.String getDefault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFAULT$20);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "default" attribute
     */
    public org.apache.xmlbeans.XmlString xgetDefault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DEFAULT$20);
            return target;
        }
    }
    
    /**
     * True if has "default" attribute
     */
    public boolean isSetDefault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(DEFAULT$20) != null;
        }
    }
    
    /**
     * Sets the "default" attribute
     */
    public void setDefault(java.lang.String xdefault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFAULT$20);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DEFAULT$20);
            }
            target.setStringValue(xdefault);
        }
    }
    
    /**
     * Sets (as xml) the "default" attribute
     */
    public void xsetDefault(org.apache.xmlbeans.XmlString xdefault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DEFAULT$20);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DEFAULT$20);
            }
            target.set(xdefault);
        }
    }
    
    /**
     * Unsets the "default" attribute
     */
    public void unsetDefault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(DEFAULT$20);
        }
    }
    
    /**
     * Gets the "hide_on_form" attribute
     */
    public boolean getHideOnForm()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HIDEONFORM$22);
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "hide_on_form" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetHideOnForm()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(HIDEONFORM$22);
            return target;
        }
    }
    
    /**
     * True if has "hide_on_form" attribute
     */
    public boolean isSetHideOnForm()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(HIDEONFORM$22) != null;
        }
    }
    
    /**
     * Sets the "hide_on_form" attribute
     */
    public void setHideOnForm(boolean hideOnForm)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(HIDEONFORM$22);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(HIDEONFORM$22);
            }
            target.setBooleanValue(hideOnForm);
        }
    }
    
    /**
     * Sets (as xml) the "hide_on_form" attribute
     */
    public void xsetHideOnForm(org.apache.xmlbeans.XmlBoolean hideOnForm)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(HIDEONFORM$22);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(HIDEONFORM$22);
            }
            target.set(hideOnForm);
        }
    }
    
    /**
     * Unsets the "hide_on_form" attribute
     */
    public void unsetHideOnForm()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(HIDEONFORM$22);
        }
    }
    
    /**
     * Gets the "clone" attribute
     */
    public boolean getClone()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CLONE$24);
            if (target == null)
            {
                return false;
            }
            return target.getBooleanValue();
        }
    }
    
    /**
     * Gets (as xml) the "clone" attribute
     */
    public org.apache.xmlbeans.XmlBoolean xgetClone()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(CLONE$24);
            return target;
        }
    }
    
    /**
     * True if has "clone" attribute
     */
    public boolean isSetClone()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(CLONE$24) != null;
        }
    }
    
    /**
     * Sets the "clone" attribute
     */
    public void setClone(boolean clone)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CLONE$24);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CLONE$24);
            }
            target.setBooleanValue(clone);
        }
    }
    
    /**
     * Sets (as xml) the "clone" attribute
     */
    public void xsetClone(org.apache.xmlbeans.XmlBoolean clone)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlBoolean target = null;
            target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(CLONE$24);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(CLONE$24);
            }
            target.set(clone);
        }
    }
    
    /**
     * Unsets the "clone" attribute
     */
    public void unsetClone()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(CLONE$24);
        }
    }
    
    /**
     * Gets the "name" attribute
     */
    public java.lang.String getName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$26);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "name" attribute
     */
    public org.apache.xmlbeans.XmlString xgetName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$26);
            return target;
        }
    }
    
    /**
     * True if has "name" attribute
     */
    public boolean isSetName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(NAME$26) != null;
        }
    }
    
    /**
     * Sets the "name" attribute
     */
    public void setName(java.lang.String name)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$26);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$26);
            }
            target.setStringValue(name);
        }
    }
    
    /**
     * Sets (as xml) the "name" attribute
     */
    public void xsetName(org.apache.xmlbeans.XmlString name)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$26);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAME$26);
            }
            target.set(name);
        }
    }
    
    /**
     * Unsets the "name" attribute
     */
    public void unsetName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(NAME$26);
        }
    }
    
    /**
     * Gets the "annotation" attribute
     */
    public java.lang.String getAnnotation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ANNOTATION$28);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "annotation" attribute
     */
    public org.apache.xmlbeans.XmlString xgetAnnotation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ANNOTATION$28);
            return target;
        }
    }
    
    /**
     * True if has "annotation" attribute
     */
    public boolean isSetAnnotation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(ANNOTATION$28) != null;
        }
    }
    
    /**
     * Sets the "annotation" attribute
     */
    public void setAnnotation(java.lang.String annotation)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ANNOTATION$28);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ANNOTATION$28);
            }
            target.setStringValue(annotation);
        }
    }
    
    /**
     * Sets (as xml) the "annotation" attribute
     */
    public void xsetAnnotation(org.apache.xmlbeans.XmlString annotation)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ANNOTATION$28);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ANNOTATION$28);
            }
            target.set(annotation);
        }
    }
    
    /**
     * Unsets the "annotation" attribute
     */
    public void unsetAnnotation()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(ANNOTATION$28);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy