org.purl.dc.terms.impl.TemporalDocumentImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.poi
Show all versions of org.apache.servicemix.bundles.poi
This OSGi bundle wraps poi, poi-contrib, poi-ooxml, poi-ooxml-schemas and poi-scratchpad ${pkgVersion} jar files.
/*
* An XML document type.
* Localname: temporal
* Namespace: http://purl.org/dc/terms/
* Java type: org.purl.dc.terms.TemporalDocument
*
* Automatically generated - do not modify.
*/
package org.purl.dc.terms.impl;
/**
* A document containing one temporal(@http://purl.org/dc/terms/) element.
*
* This is a complex type.
*/
public class TemporalDocumentImpl extends org.purl.dc.elements.x11.impl.CoverageDocumentImpl implements org.purl.dc.terms.TemporalDocument
{
public TemporalDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TEMPORAL$0 =
new javax.xml.namespace.QName("http://purl.org/dc/terms/", "temporal");
/**
* Gets the "temporal" element
*/
public org.purl.dc.elements.x11.SimpleLiteral getTemporal()
{
synchronized (monitor())
{
check_orphaned();
org.purl.dc.elements.x11.SimpleLiteral target = null;
target = (org.purl.dc.elements.x11.SimpleLiteral)get_store().find_element_user(TEMPORAL$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "temporal" element
*/
public void setTemporal(org.purl.dc.elements.x11.SimpleLiteral temporal)
{
synchronized (monitor())
{
check_orphaned();
org.purl.dc.elements.x11.SimpleLiteral target = null;
target = (org.purl.dc.elements.x11.SimpleLiteral)get_store().find_element_user(TEMPORAL$0, 0);
if (target == null)
{
target = (org.purl.dc.elements.x11.SimpleLiteral)get_store().add_element_user(TEMPORAL$0);
}
target.set(temporal);
}
}
/**
* Appends and returns a new empty "temporal" element
*/
public org.purl.dc.elements.x11.SimpleLiteral addNewTemporal()
{
synchronized (monitor())
{
check_orphaned();
org.purl.dc.elements.x11.SimpleLiteral target = null;
target = (org.purl.dc.elements.x11.SimpleLiteral)get_store().add_element_user(TEMPORAL$0);
return target;
}
}
}