com.microsoft.schemas.office.x2006.keyEncryptor.password.impl.EncryptedPasswordKeyImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: encryptedKey
* Namespace: http://schemas.microsoft.com/office/2006/keyEncryptor/password
* Java type: com.microsoft.schemas.office.x2006.keyEncryptor.password.EncryptedPasswordKey
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.x2006.keyEncryptor.password.impl;
/**
* A document containing one encryptedKey(@http://schemas.microsoft.com/office/2006/keyEncryptor/password) element.
*
* This is a complex type.
*/
public class EncryptedPasswordKeyImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.x2006.keyEncryptor.password.EncryptedPasswordKey
{
public EncryptedPasswordKeyImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ENCRYPTEDPASSWORDKEY$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/office/2006/keyEncryptor/password", "encryptedKey");
/**
* Gets the "encryptedKey" element
*/
public com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor getEncryptedPasswordKey()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor target = null;
target = (com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor)get_store().find_element_user(ENCRYPTEDPASSWORDKEY$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "encryptedKey" element
*/
public void setEncryptedPasswordKey(com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor encryptedPasswordKey)
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor target = null;
target = (com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor)get_store().find_element_user(ENCRYPTEDPASSWORDKEY$0, 0);
if (target == null)
{
target = (com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor)get_store().add_element_user(ENCRYPTEDPASSWORDKEY$0);
}
target.set(encryptedPasswordKey);
}
}
/**
* Appends and returns a new empty "encryptedKey" element
*/
public com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor addNewEncryptedPasswordKey()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor target = null;
target = (com.microsoft.schemas.office.x2006.keyEncryptor.password.CTPasswordKeyEncryptor)get_store().add_element_user(ENCRYPTEDPASSWORDKEY$0);
return target;
}
}
}