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

org.duracloud.impl.ChunksManifestDocumentImpl Maven / Gradle / Ivy

There is a newer version: 8.1.0
Show newest version
/*
 * An XML document type.
 * Localname: chunksManifest
 * Namespace: duracloud.org
 * Java type: org.duracloud.ChunksManifestDocument
 *
 * Automatically generated - do not modify.
 */
package org.duracloud.impl;
/**
 * A document containing one chunksManifest(@duracloud.org) element.
 *
 * This is a complex type.
 */
public class ChunksManifestDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.duracloud.ChunksManifestDocument
{
    private static final long serialVersionUID = 1L;
    
    public ChunksManifestDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CHUNKSMANIFEST$0 = 
        new javax.xml.namespace.QName("duracloud.org", "chunksManifest");
    
    
    /**
     * Gets the "chunksManifest" element
     */
    public org.duracloud.ChunksManifestType getChunksManifest()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.duracloud.ChunksManifestType target = null;
            target = (org.duracloud.ChunksManifestType)get_store().find_element_user(CHUNKSMANIFEST$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "chunksManifest" element
     */
    public void setChunksManifest(org.duracloud.ChunksManifestType chunksManifest)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.duracloud.ChunksManifestType target = null;
            target = (org.duracloud.ChunksManifestType)get_store().find_element_user(CHUNKSMANIFEST$0, 0);
            if (target == null)
            {
                target = (org.duracloud.ChunksManifestType)get_store().add_element_user(CHUNKSMANIFEST$0);
            }
            target.set(chunksManifest);
        }
    }
    
    /**
     * Appends and returns a new empty "chunksManifest" element
     */
    public org.duracloud.ChunksManifestType addNewChunksManifest()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.duracloud.ChunksManifestType target = null;
            target = (org.duracloud.ChunksManifestType)get_store().add_element_user(CHUNKSMANIFEST$0);
            return target;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy