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

org.example.wsHT.impl.XMLPotentialOwnersDocumentImpl Maven / Gradle / Ivy

The newest version!
/*
 * An XML document type.
 * Localname: potentialOwners
 * Namespace: http://www.example.org/WS-HT
 * Java type: org.example.wsHT.XMLPotentialOwnersDocument
 *
 * Automatically generated - do not modify.
 */
package org.example.wsHT.impl;
/**
 * A document containing one potentialOwners(@http://www.example.org/WS-HT) element.
 *
 * This is a complex type.
 */
public class XMLPotentialOwnersDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.example.wsHT.XMLPotentialOwnersDocument
{
    private static final long serialVersionUID = 1L;
    
    public XMLPotentialOwnersDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName POTENTIALOWNERS$0 = 
        new javax.xml.namespace.QName("http://www.example.org/WS-HT", "potentialOwners");
    
    
    /**
     * Gets the "potentialOwners" element
     */
    public org.example.wsHT.XMLTGenericHumanRole getPotentialOwners()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(POTENTIALOWNERS$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "potentialOwners" element
     */
    public void setPotentialOwners(org.example.wsHT.XMLTGenericHumanRole potentialOwners)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().find_element_user(POTENTIALOWNERS$0, 0);
            if (target == null)
            {
                target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(POTENTIALOWNERS$0);
            }
            target.set(potentialOwners);
        }
    }
    
    /**
     * Appends and returns a new empty "potentialOwners" element
     */
    public org.example.wsHT.XMLTGenericHumanRole addNewPotentialOwners()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.example.wsHT.XMLTGenericHumanRole target = null;
            target = (org.example.wsHT.XMLTGenericHumanRole)get_store().add_element_user(POTENTIALOWNERS$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy