org.duracloud.impl.ChunksManifestDocumentImpl Maven / Gradle / Ivy
/*
* 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;
}
}
}