org.duracloud.impl.SecurityUsersDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: security-users
* Namespace: duracloud.org
* Java type: org.duracloud.SecurityUsersDocument
*
* Automatically generated - do not modify.
*/
package org.duracloud.impl;
/**
* A document containing one security-users(@duracloud.org) element.
*
* This is a complex type.
*/
public class SecurityUsersDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.duracloud.SecurityUsersDocument
{
private static final long serialVersionUID = 1L;
public SecurityUsersDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SECURITYUSERS$0 =
new javax.xml.namespace.QName("duracloud.org", "security-users");
/**
* Gets the "security-users" element
*/
public org.duracloud.SecurityUsersType getSecurityUsers()
{
synchronized (monitor())
{
check_orphaned();
org.duracloud.SecurityUsersType target = null;
target = (org.duracloud.SecurityUsersType)get_store().find_element_user(SECURITYUSERS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "security-users" element
*/
public void setSecurityUsers(org.duracloud.SecurityUsersType securityUsers)
{
synchronized (monitor())
{
check_orphaned();
org.duracloud.SecurityUsersType target = null;
target = (org.duracloud.SecurityUsersType)get_store().find_element_user(SECURITYUSERS$0, 0);
if (target == null)
{
target = (org.duracloud.SecurityUsersType)get_store().add_element_user(SECURITYUSERS$0);
}
target.set(securityUsers);
}
}
/**
* Appends and returns a new empty "security-users" element
*/
public org.duracloud.SecurityUsersType addNewSecurityUsers()
{
synchronized (monitor())
{
check_orphaned();
org.duracloud.SecurityUsersType target = null;
target = (org.duracloud.SecurityUsersType)get_store().add_element_user(SECURITYUSERS$0);
return target;
}
}
}