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

org.coos.coosXMLSchema.impl.CoosDocumentImpl Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
/*
 * An XML document type.
 * Localname: coos
 * Namespace: http://www.coos.org/CoosXMLSchema
 * Java type: org.coos.coosXMLSchema.CoosDocument
 *
 * Automatically generated - do not modify.
 */
package org.coos.coosXMLSchema.impl;
/**
 * A document containing one coos(@http://www.coos.org/CoosXMLSchema) element.
 *
 * This is a complex type.
 */
public class CoosDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.coos.coosXMLSchema.CoosDocument
{
    private static final long serialVersionUID = 1L;
    
    public CoosDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName COOS$0 = 
        new javax.xml.namespace.QName("http://www.coos.org/CoosXMLSchema", "coos");
    
    
    /**
     * Gets the "coos" element
     */
    public org.coos.coosXMLSchema.CoosType getCoos()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.coos.coosXMLSchema.CoosType target = null;
            target = (org.coos.coosXMLSchema.CoosType)get_store().find_element_user(COOS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "coos" element
     */
    public void setCoos(org.coos.coosXMLSchema.CoosType coos)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.coos.coosXMLSchema.CoosType target = null;
            target = (org.coos.coosXMLSchema.CoosType)get_store().find_element_user(COOS$0, 0);
            if (target == null)
            {
                target = (org.coos.coosXMLSchema.CoosType)get_store().add_element_user(COOS$0);
            }
            target.set(coos);
        }
    }
    
    /**
     * Appends and returns a new empty "coos" element
     */
    public org.coos.coosXMLSchema.CoosType addNewCoos()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.coos.coosXMLSchema.CoosType target = null;
            target = (org.coos.coosXMLSchema.CoosType)get_store().add_element_user(COOS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy