org.apache.airavata.registry.services.impl.IsRegistryServiceStartedResponseDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: isRegistryServiceStartedResponse
* Namespace: http://services.registry.airavata.apache.org
* Java type: org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument
*
* Automatically generated - do not modify.
*/
package org.apache.airavata.registry.services.impl;
/**
* A document containing one isRegistryServiceStartedResponse(@http://services.registry.airavata.apache.org) element.
*
* This is a complex type.
*/
public class IsRegistryServiceStartedResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument
{
public IsRegistryServiceStartedResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ISREGISTRYSERVICESTARTEDRESPONSE$0 =
new javax.xml.namespace.QName("http://services.registry.airavata.apache.org", "isRegistryServiceStartedResponse");
/**
* Gets the "isRegistryServiceStartedResponse" element
*/
public org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse getIsRegistryServiceStartedResponse()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse target = null;
target = (org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse)get_store().find_element_user(ISREGISTRYSERVICESTARTEDRESPONSE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "isRegistryServiceStartedResponse" element
*/
public void setIsRegistryServiceStartedResponse(org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse isRegistryServiceStartedResponse)
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse target = null;
target = (org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse)get_store().find_element_user(ISREGISTRYSERVICESTARTEDRESPONSE$0, 0);
if (target == null)
{
target = (org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse)get_store().add_element_user(ISREGISTRYSERVICESTARTEDRESPONSE$0);
}
target.set(isRegistryServiceStartedResponse);
}
}
/**
* Appends and returns a new empty "isRegistryServiceStartedResponse" element
*/
public org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse addNewIsRegistryServiceStartedResponse()
{
synchronized (monitor())
{
check_orphaned();
org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse target = null;
target = (org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse)get_store().add_element_user(ISREGISTRYSERVICESTARTEDRESPONSE$0);
return target;
}
}
/**
* An XML isRegistryServiceStartedResponse(@http://services.registry.airavata.apache.org).
*
* This is a complex type.
*/
public static class IsRegistryServiceStartedResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.airavata.registry.services.IsRegistryServiceStartedResponseDocument.IsRegistryServiceStartedResponse
{
public IsRegistryServiceStartedResponseImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName RETURN$0 =
new javax.xml.namespace.QName("http://services.registry.airavata.apache.org", "return");
/**
* Gets the "return" element
*/
public boolean getReturn()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RETURN$0, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "return" element
*/
public org.apache.xmlbeans.XmlBoolean xgetReturn()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(RETURN$0, 0);
return target;
}
}
/**
* True if has "return" element
*/
public boolean isSetReturn()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(RETURN$0) != 0;
}
}
/**
* Sets the "return" element
*/
public void setReturn(boolean xreturn)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RETURN$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RETURN$0);
}
target.setBooleanValue(xreturn);
}
}
/**
* Sets (as xml) the "return" element
*/
public void xsetReturn(org.apache.xmlbeans.XmlBoolean xreturn)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(RETURN$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(RETURN$0);
}
target.set(xreturn);
}
}
/**
* Unsets the "return" element
*/
public void unsetReturn()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(RETURN$0, 0);
}
}
}
}