/*
* XML Type: UnsubscribeContextAvailabilityResponse
* Namespace:
* Java type: noNamespace.UnsubscribeContextAvailabilityResponse
*
* Automatically generated - do not modify.
*/
package noNamespace.impl;
/**
* An XML UnsubscribeContextAvailabilityResponse(@).
*
* This is a complex type.
*/
public class UnsubscribeContextAvailabilityResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements noNamespace.UnsubscribeContextAvailabilityResponse
{
private static final long serialVersionUID = 1L;
public UnsubscribeContextAvailabilityResponseImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SUBSCRIPTIONID$0 =
new javax.xml.namespace.QName("", "subscriptionId");
private static final javax.xml.namespace.QName STATUSCODE$2 =
new javax.xml.namespace.QName("", "statusCode");
/**
* Gets the "subscriptionId" element
*/
public java.lang.String getSubscriptionId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUBSCRIPTIONID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "subscriptionId" element
*/
public org.apache.xmlbeans.XmlString xgetSubscriptionId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SUBSCRIPTIONID$0, 0);
return target;
}
}
/**
* Sets the "subscriptionId" element
*/
public void setSubscriptionId(java.lang.String subscriptionId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUBSCRIPTIONID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SUBSCRIPTIONID$0);
}
target.setStringValue(subscriptionId);
}
}
/**
* Sets (as xml) the "subscriptionId" element
*/
public void xsetSubscriptionId(org.apache.xmlbeans.XmlString subscriptionId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SUBSCRIPTIONID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SUBSCRIPTIONID$0);
}
target.set(subscriptionId);
}
}
/**
* Gets the "statusCode" element
*/
public noNamespace.StatusCode getStatusCode()
{
synchronized (monitor())
{
check_orphaned();
noNamespace.StatusCode target = null;
target = (noNamespace.StatusCode)get_store().find_element_user(STATUSCODE$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "statusCode" element
*/
public void setStatusCode(noNamespace.StatusCode statusCode)
{
synchronized (monitor())
{
check_orphaned();
noNamespace.StatusCode target = null;
target = (noNamespace.StatusCode)get_store().find_element_user(STATUSCODE$2, 0);
if (target == null)
{
target = (noNamespace.StatusCode)get_store().add_element_user(STATUSCODE$2);
}
target.set(statusCode);
}
}
/**
* Appends and returns a new empty "statusCode" element
*/
public noNamespace.StatusCode addNewStatusCode()
{
synchronized (monitor())
{
check_orphaned();
noNamespace.StatusCode target = null;
target = (noNamespace.StatusCode)get_store().add_element_user(STATUSCODE$2);
return target;
}
}
}