All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.schemas.office.office.impl.LockDocumentImpl Maven / Gradle / Ivy

Go to download

The Apache Commons Codec package contains simple encoder and decoders for various formats such as Base64 and Hexadecimal. In addition to these widely used encoders and decoders, the codec package also maintains a collection of phonetic encoding utilities.

There is a newer version: 62
Show 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;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy