com.microsoft.schemas.office.office.impl.LockDocumentImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
The newest version!
/*
* An XML document type.
* Localname: lock
* Namespace: urn:schemas-microsoft-com:office:office
* Java type: com.microsoft.schemas.office.office.LockDocument
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.office.impl;
/**
* A document containing one lock(@urn:schemas-microsoft-com:office:office) element.
*
* This is a complex type.
*/
public class LockDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.office.LockDocument
{
private static final long serialVersionUID = 1L;
public LockDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName LOCK$0 =
new javax.xml.namespace.QName("urn:schemas-microsoft-com:office:office", "lock");
/**
* Gets the "lock" element
*/
public com.microsoft.schemas.office.office.CTLock getLock()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.office.CTLock target = null;
target = (com.microsoft.schemas.office.office.CTLock)get_store().find_element_user(LOCK$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "lock" element
*/
public void setLock(com.microsoft.schemas.office.office.CTLock lock)
{
generatedSetterHelperImpl(lock, LOCK$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "lock" element
*/
public com.microsoft.schemas.office.office.CTLock addNewLock()
{
synchronized (monitor())
{
check_orphaned();
com.microsoft.schemas.office.office.CTLock target = null;
target = (com.microsoft.schemas.office.office.CTLock)get_store().add_element_user(LOCK$0);
return target;
}
}
}