/*
 * An XML document type.
 * Localname: TerminationTimeChangeRejectedFault
 * Namespace: http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.resource.lifetime.impl;
/**
 * A document containing one TerminationTimeChangeRejectedFault(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public class TerminationTimeChangeRejectedFaultDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultDocument
{
    
    public TerminationTimeChangeRejectedFaultDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName TERMINATIONTIMECHANGEREJECTEDFAULT$0 = 
        new javax.xml.namespace.QName("http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceLifetime-1.2-draft-01.xsd", "TerminationTimeChangeRejectedFault");
    
    
    /**
     * Gets the "TerminationTimeChangeRejectedFault" element
     */
    public org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType getTerminationTimeChangeRejectedFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType)get_store().find_element_user(TERMINATIONTIMECHANGEREJECTEDFAULT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "TerminationTimeChangeRejectedFault" element
     */
    public void setTerminationTimeChangeRejectedFault(org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType terminationTimeChangeRejectedFault)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType)get_store().find_element_user(TERMINATIONTIMECHANGEREJECTEDFAULT$0, 0);
            if (target == null)
            {
                target = (org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType)get_store().add_element_user(TERMINATIONTIMECHANGEREJECTEDFAULT$0);
            }
            target.set(terminationTimeChangeRejectedFault);
        }
    }
    
    /**
     * Appends and returns a new empty "TerminationTimeChangeRejectedFault" element
     */
    public org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType addNewTerminationTimeChangeRejectedFault()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType target = null;
            target = (org.activemq.ws.xmlbeans.resource.lifetime.TerminationTimeChangeRejectedFaultType)get_store().add_element_user(TERMINATIONTIMECHANGEREJECTEDFAULT$0);
            return target;
        }
    }
}
