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

org.example.wsHT.api.impl.XMLTAttachmentInfoImpl Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  tAttachmentInfo
 * Namespace: http://www.example.org/WS-HT/api
 * Java type: org.example.wsHT.api.XMLTAttachmentInfo
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.api.impl;
/**
 * An XML tAttachmentInfo(@http://www.example.org/WS-HT/api).
 *
 * This is a complex type.
 */
public class XMLTAttachmentInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.api.XMLTAttachmentInfo
{
    private static final long serialVersionUID = 1L;
    
    public XMLTAttachmentInfoImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName NAME$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api", "name");
    private static final javax.xml.namespace.QName ACCESSTYPE$2 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api", "accessType");
    private static final javax.xml.namespace.QName CONTENTTYPE$4 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api", "contentType");
    private static final javax.xml.namespace.QName ATTACHEDAT$6 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api", "attachedAt");
    private static final javax.xml.namespace.QName ATTACHEDBY$8 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT/api", "attachedBy");
    
    
    /**
     * Gets the "name" element
     */
    public java.lang.String getName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(NAME$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "name" element
     */
    public org.apache.xmlbeans.XmlString xgetName()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(NAME$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "name" element
     */
    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_element_user(NAME$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(NAME$0);
            }
            target.setStringValue(name);
        }
    }
    
    /**
     * Sets (as xml) the "name" element
     */
    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_element_user(NAME$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(NAME$0);
            }
            target.set(name);
        }
    }
    
    /**
     * Gets the "accessType" element
     */
    public java.lang.String getAccessType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCESSTYPE$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "accessType" element
     */
    public org.apache.xmlbeans.XmlString xgetAccessType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACCESSTYPE$2, 0);
            return target;
        }
    }
    
    /**
     * Sets the "accessType" element
     */
    public void setAccessType(java.lang.String accessType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ACCESSTYPE$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ACCESSTYPE$2);
            }
            target.setStringValue(accessType);
        }
    }
    
    /**
     * Sets (as xml) the "accessType" element
     */
    public void xsetAccessType(org.apache.xmlbeans.XmlString accessType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ACCESSTYPE$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ACCESSTYPE$2);
            }
            target.set(accessType);
        }
    }
    
    /**
     * Gets the "contentType" element
     */
    public java.lang.String getContentType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTENTTYPE$4, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "contentType" element
     */
    public org.apache.xmlbeans.XmlString xgetContentType()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTENTTYPE$4, 0);
            return target;
        }
    }
    
    /**
     * Sets the "contentType" element
     */
    public void setContentType(java.lang.String contentType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTENTTYPE$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTENTTYPE$4);
            }
            target.setStringValue(contentType);
        }
    }
    
    /**
     * Sets (as xml) the "contentType" element
     */
    public void xsetContentType(org.apache.xmlbeans.XmlString contentType)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlString target = null;
            target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(CONTENTTYPE$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(CONTENTTYPE$4);
            }
            target.set(contentType);
        }
    }
    
    /**
     * Gets the "attachedAt" element
     */
    public java.util.Calendar getAttachedAt()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ATTACHEDAT$6, 0);
            if (target == null)
            {
                return null;
            }
            return target.getCalendarValue();
        }
    }
    
    /**
     * Gets (as xml) the "attachedAt" element
     */
    public org.apache.xmlbeans.XmlDateTime xgetAttachedAt()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDateTime target = null;
            target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(ATTACHEDAT$6, 0);
            return target;
        }
    }
    
    /**
     * Sets the "attachedAt" element
     */
    public void setAttachedAt(java.util.Calendar attachedAt)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ATTACHEDAT$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ATTACHEDAT$6);
            }
            target.setCalendarValue(attachedAt);
        }
    }
    
    /**
     * Sets (as xml) the "attachedAt" element
     */
    public void xsetAttachedAt(org.apache.xmlbeans.XmlDateTime attachedAt)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlDateTime target = null;
            target = (org.apache.xmlbeans.XmlDateTime)get_store().find_element_user(ATTACHEDAT$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlDateTime)get_store().add_element_user(ATTACHEDAT$6);
            }
            target.set(attachedAt);
        }
    }
    
    /**
     * Gets the "attachedBy" element
     */
    public java.lang.String getAttachedBy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ATTACHEDBY$8, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "attachedBy" element
     */
    public org.example.wsHT.XMLTUser xgetAttachedBy()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTUser target = null;
            target = (org.example.wsHT.XMLTUser)get_store().find_element_user(ATTACHEDBY$8, 0);
            return target;
        }
    }
    
    /**
     * Sets the "attachedBy" element
     */
    public void setAttachedBy(java.lang.String attachedBy)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ATTACHEDBY$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ATTACHEDBY$8);
            }
            target.setStringValue(attachedBy);
        }
    }
    
    /**
     * Sets (as xml) the "attachedBy" element
     */
    public void xsetAttachedBy(org.example.wsHT.XMLTUser attachedBy)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTUser target = null;
            target = (org.example.wsHT.XMLTUser)get_store().find_element_user(ATTACHEDBY$8, 0);
            if (target == null)
            {
                target = (org.example.wsHT.XMLTUser)get_store().add_element_user(ATTACHEDBY$8);
            }
            target.set(attachedBy);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy