org.example.wsHT.impl.XMLTLocalNotificationImpl Maven / Gradle / Ivy
The newest version!
/*
* XML Type: tLocalNotification
* Namespace: http://www.example.org/WS-HT
* Java type: org.example.wsHT.XMLTLocalNotification
*
* Automatically generated - do not modify.
*/
package org.example.wsHT.impl;
/**
* An XML tLocalNotification(@http://www.example.org/WS-HT).
*
* This is a complex type.
*/
public class XMLTLocalNotificationImpl extends org.example.wsHT.impl.XMLTExtensibleElementsImpl implements org.example.wsHT.XMLTLocalNotification
{
private static final long serialVersionUID = 1L;
public XMLTLocalNotificationImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PRIORITY$0 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT", "priority");
private static final javax.xml.namespace.QName PEOPLEASSIGNMENTS$2 =
new javax.xml.namespace.QName("http://www.example.org/WS-HT", "peopleAssignments");
private static final javax.xml.namespace.QName REFERENCE$4 =
new javax.xml.namespace.QName("", "reference");
/**
* Gets the "priority" element
*/
public org.example.wsHT.XMLTPriority getPriority()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTPriority target = null;
target = (org.example.wsHT.XMLTPriority)get_store().find_element_user(PRIORITY$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "priority" element
*/
public boolean isSetPriority()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PRIORITY$0) != 0;
}
}
/**
* Sets the "priority" element
*/
public void setPriority(org.example.wsHT.XMLTPriority priority)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTPriority target = null;
target = (org.example.wsHT.XMLTPriority)get_store().find_element_user(PRIORITY$0, 0);
if (target == null)
{
target = (org.example.wsHT.XMLTPriority)get_store().add_element_user(PRIORITY$0);
}
target.set(priority);
}
}
/**
* Appends and returns a new empty "priority" element
*/
public org.example.wsHT.XMLTPriority addNewPriority()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTPriority target = null;
target = (org.example.wsHT.XMLTPriority)get_store().add_element_user(PRIORITY$0);
return target;
}
}
/**
* Unsets the "priority" element
*/
public void unsetPriority()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PRIORITY$0, 0);
}
}
/**
* Gets the "peopleAssignments" element
*/
public org.example.wsHT.XMLTPeopleAssignments getPeopleAssignments()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTPeopleAssignments target = null;
target = (org.example.wsHT.XMLTPeopleAssignments)get_store().find_element_user(PEOPLEASSIGNMENTS$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "peopleAssignments" element
*/
public boolean isSetPeopleAssignments()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PEOPLEASSIGNMENTS$2) != 0;
}
}
/**
* Sets the "peopleAssignments" element
*/
public void setPeopleAssignments(org.example.wsHT.XMLTPeopleAssignments peopleAssignments)
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTPeopleAssignments target = null;
target = (org.example.wsHT.XMLTPeopleAssignments)get_store().find_element_user(PEOPLEASSIGNMENTS$2, 0);
if (target == null)
{
target = (org.example.wsHT.XMLTPeopleAssignments)get_store().add_element_user(PEOPLEASSIGNMENTS$2);
}
target.set(peopleAssignments);
}
}
/**
* Appends and returns a new empty "peopleAssignments" element
*/
public org.example.wsHT.XMLTPeopleAssignments addNewPeopleAssignments()
{
synchronized (monitor())
{
check_orphaned();
org.example.wsHT.XMLTPeopleAssignments target = null;
target = (org.example.wsHT.XMLTPeopleAssignments)get_store().add_element_user(PEOPLEASSIGNMENTS$2);
return target;
}
}
/**
* Unsets the "peopleAssignments" element
*/
public void unsetPeopleAssignments()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PEOPLEASSIGNMENTS$2, 0);
}
}
/**
* Gets the "reference" attribute
*/
public javax.xml.namespace.QName getReference()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFERENCE$4);
if (target == null)
{
return null;
}
return target.getQNameValue();
}
}
/**
* Gets (as xml) the "reference" attribute
*/
public org.apache.xmlbeans.XmlQName xgetReference()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlQName target = null;
target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(REFERENCE$4);
return target;
}
}
/**
* Sets the "reference" attribute
*/
public void setReference(javax.xml.namespace.QName reference)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFERENCE$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REFERENCE$4);
}
target.setQNameValue(reference);
}
}
/**
* Sets (as xml) the "reference" attribute
*/
public void xsetReference(org.apache.xmlbeans.XmlQName reference)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlQName target = null;
target = (org.apache.xmlbeans.XmlQName)get_store().find_attribute_user(REFERENCE$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlQName)get_store().add_attribute_user(REFERENCE$4);
}
target.set(reference);
}
}
}