org.etsi.uri.x01903.v14.impl.ArchiveTimeStampDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: ArchiveTimeStamp
* Namespace: http://uri.etsi.org/01903/v1.4.1#
* Java type: org.etsi.uri.x01903.v14.ArchiveTimeStampDocument
*
* Automatically generated - do not modify.
*/
package org.etsi.uri.x01903.v14.impl;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.QNameSet;
import org.apache.xmlbeans.XmlObject;
/**
* A document containing one ArchiveTimeStamp(@http://uri.etsi.org/01903/v1.4.1#) element.
*
* This is a complex type.
*/
public class ArchiveTimeStampDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.etsi.uri.x01903.v14.ArchiveTimeStampDocument {
private static final long serialVersionUID = 1L;
public ArchiveTimeStampDocumentImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final QName[] PROPERTY_QNAME = {
new QName("http://uri.etsi.org/01903/v1.4.1#", "ArchiveTimeStamp"),
};
/**
* Gets the "ArchiveTimeStamp" element
*/
@Override
public org.etsi.uri.x01903.v13.XAdESTimeStampType getArchiveTimeStamp() {
synchronized (monitor()) {
check_orphaned();
org.etsi.uri.x01903.v13.XAdESTimeStampType target = null;
target = (org.etsi.uri.x01903.v13.XAdESTimeStampType)get_store().find_element_user(PROPERTY_QNAME[0], 0);
return (target == null) ? null : target;
}
}
/**
* Sets the "ArchiveTimeStamp" element
*/
@Override
public void setArchiveTimeStamp(org.etsi.uri.x01903.v13.XAdESTimeStampType archiveTimeStamp) {
generatedSetterHelperImpl(archiveTimeStamp, PROPERTY_QNAME[0], 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "ArchiveTimeStamp" element
*/
@Override
public org.etsi.uri.x01903.v13.XAdESTimeStampType addNewArchiveTimeStamp() {
synchronized (monitor()) {
check_orphaned();
org.etsi.uri.x01903.v13.XAdESTimeStampType target = null;
target = (org.etsi.uri.x01903.v13.XAdESTimeStampType)get_store().add_element_user(PROPERTY_QNAME[0]);
return target;
}
}
}