org.etsi.uri.x01903.v13.impl.ReferenceInfoTypeImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: ReferenceInfoType
* Namespace: http://uri.etsi.org/01903/v1.3.2#
* Java type: org.etsi.uri.x01903.v13.ReferenceInfoType
*
* Automatically generated - do not modify.
*/
package org.etsi.uri.x01903.v13.impl;
/**
* An XML ReferenceInfoType(@http://uri.etsi.org/01903/v1.3.2#).
*
* This is a complex type.
*/
public class ReferenceInfoTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.etsi.uri.x01903.v13.ReferenceInfoType {
private static final long serialVersionUID = 1L;
public ReferenceInfoTypeImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName DIGESTMETHOD$0 =
new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "DigestMethod");
private static final javax.xml.namespace.QName DIGESTVALUE$2 =
new javax.xml.namespace.QName("http://www.w3.org/2000/09/xmldsig#", "DigestValue");
private static final javax.xml.namespace.QName ID$4 =
new javax.xml.namespace.QName("", "Id");
private static final javax.xml.namespace.QName URI$6 =
new javax.xml.namespace.QName("", "URI");
/**
* Gets the "DigestMethod" element
*/
public org.w3.x2000.x09.xmldsig.DigestMethodType getDigestMethod() {
synchronized (monitor())
{
check_orphaned();
org.w3.x2000.x09.xmldsig.DigestMethodType target = null;
target = (org.w3.x2000.x09.xmldsig.DigestMethodType)get_store().find_element_user(DIGESTMETHOD$0, 0);
if (target == null) {
return null;
}
return target;
}
}
/**
* Sets the "DigestMethod" element
*/
public void setDigestMethod(org.w3.x2000.x09.xmldsig.DigestMethodType digestMethod) {
generatedSetterHelperImpl(digestMethod, DIGESTMETHOD$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "DigestMethod" element
*/
public org.w3.x2000.x09.xmldsig.DigestMethodType addNewDigestMethod() {
synchronized (monitor())
{
check_orphaned();
org.w3.x2000.x09.xmldsig.DigestMethodType target = null;
target = (org.w3.x2000.x09.xmldsig.DigestMethodType)get_store().add_element_user(DIGESTMETHOD$0);
return target;
}
}
/**
* Gets the "DigestValue" element
*/
public byte[] getDigestValue() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIGESTVALUE$2, 0);
if (target == null) {
return null;
}
return target.getByteArrayValue();
}
}
/**
* Gets (as xml) the "DigestValue" element
*/
public org.w3.x2000.x09.xmldsig.DigestValueType xgetDigestValue() {
synchronized (monitor())
{
check_orphaned();
org.w3.x2000.x09.xmldsig.DigestValueType target = null;
target = (org.w3.x2000.x09.xmldsig.DigestValueType)get_store().find_element_user(DIGESTVALUE$2, 0);
return target;
}
}
/**
* Sets the "DigestValue" element
*/
public void setDigestValue(byte[] digestValue) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DIGESTVALUE$2, 0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DIGESTVALUE$2);
}
target.setByteArrayValue(digestValue);
}
}
/**
* Sets (as xml) the "DigestValue" element
*/
public void xsetDigestValue(org.w3.x2000.x09.xmldsig.DigestValueType digestValue) {
synchronized (monitor())
{
check_orphaned();
org.w3.x2000.x09.xmldsig.DigestValueType target = null;
target = (org.w3.x2000.x09.xmldsig.DigestValueType)get_store().find_element_user(DIGESTVALUE$2, 0);
if (target == null) {
target = (org.w3.x2000.x09.xmldsig.DigestValueType)get_store().add_element_user(DIGESTVALUE$2);
}
target.set(digestValue);
}
}
/**
* Gets the "Id" attribute
*/
public java.lang.String getId() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$4);
if (target == null) {
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Id" attribute
*/
public org.apache.xmlbeans.XmlID xgetId() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlID target = null;
target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$4);
return target;
}
}
/**
* True if has "Id" attribute
*/
public boolean isSetId() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ID$4) != null;
}
}
/**
* Sets the "Id" attribute
*/
public void setId(java.lang.String id) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$4);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$4);
}
target.setStringValue(id);
}
}
/**
* Sets (as xml) the "Id" attribute
*/
public void xsetId(org.apache.xmlbeans.XmlID id) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlID target = null;
target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$4);
if (target == null) {
target = (org.apache.xmlbeans.XmlID)get_store().add_attribute_user(ID$4);
}
target.set(id);
}
}
/**
* Unsets the "Id" attribute
*/
public void unsetId() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ID$4);
}
}
/**
* Gets the "URI" attribute
*/
public java.lang.String getURI() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(URI$6);
if (target == null) {
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "URI" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetURI() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(URI$6);
return target;
}
}
/**
* True if has "URI" attribute
*/
public boolean isSetURI() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(URI$6) != null;
}
}
/**
* Sets the "URI" attribute
*/
public void setURI(java.lang.String uri) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(URI$6);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(URI$6);
}
target.setStringValue(uri);
}
}
/**
* Sets (as xml) the "URI" attribute
*/
public void xsetURI(org.apache.xmlbeans.XmlAnyURI uri) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(URI$6);
if (target == null) {
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(URI$6);
}
target.set(uri);
}
}
/**
* Unsets the "URI" attribute
*/
public void unsetURI() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(URI$6);
}
}
}