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