org.etsi.uri.x01903.v14.impl.ValidationDataTypeImpl Maven / Gradle / Ivy
/*
* XML Type: ValidationDataType
* Namespace: http://uri.etsi.org/01903/v1.4.1#
* Java type: org.etsi.uri.x01903.v14.ValidationDataType
*
* Automatically generated - do not modify.
*/
package org.etsi.uri.x01903.v14.impl;
/**
* An XML ValidationDataType(@http://uri.etsi.org/01903/v1.4.1#).
*
* This is a complex type.
*/
public class ValidationDataTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.etsi.uri.x01903.v14.ValidationDataType
{
public ValidationDataTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName CERTIFICATEVALUES$0 =
new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "CertificateValues");
private static final javax.xml.namespace.QName REVOCATIONVALUES$2 =
new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "RevocationValues");
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 "CertificateValues" element
*/
public org.etsi.uri.x01903.v13.CertificateValuesType getCertificateValues()
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.CertificateValuesType target = null;
target = (org.etsi.uri.x01903.v13.CertificateValuesType)get_store().find_element_user(CERTIFICATEVALUES$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "CertificateValues" element
*/
public boolean isSetCertificateValues()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CERTIFICATEVALUES$0) != 0;
}
}
/**
* Sets the "CertificateValues" element
*/
public void setCertificateValues(org.etsi.uri.x01903.v13.CertificateValuesType certificateValues)
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.CertificateValuesType target = null;
target = (org.etsi.uri.x01903.v13.CertificateValuesType)get_store().find_element_user(CERTIFICATEVALUES$0, 0);
if (target == null)
{
target = (org.etsi.uri.x01903.v13.CertificateValuesType)get_store().add_element_user(CERTIFICATEVALUES$0);
}
target.set(certificateValues);
}
}
/**
* Appends and returns a new empty "CertificateValues" element
*/
public org.etsi.uri.x01903.v13.CertificateValuesType addNewCertificateValues()
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.CertificateValuesType target = null;
target = (org.etsi.uri.x01903.v13.CertificateValuesType)get_store().add_element_user(CERTIFICATEVALUES$0);
return target;
}
}
/**
* Unsets the "CertificateValues" element
*/
public void unsetCertificateValues()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CERTIFICATEVALUES$0, 0);
}
}
/**
* Gets the "RevocationValues" element
*/
public org.etsi.uri.x01903.v13.RevocationValuesType getRevocationValues()
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.RevocationValuesType target = null;
target = (org.etsi.uri.x01903.v13.RevocationValuesType)get_store().find_element_user(REVOCATIONVALUES$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "RevocationValues" element
*/
public boolean isSetRevocationValues()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(REVOCATIONVALUES$2) != 0;
}
}
/**
* Sets the "RevocationValues" element
*/
public void setRevocationValues(org.etsi.uri.x01903.v13.RevocationValuesType revocationValues)
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.RevocationValuesType target = null;
target = (org.etsi.uri.x01903.v13.RevocationValuesType)get_store().find_element_user(REVOCATIONVALUES$2, 0);
if (target == null)
{
target = (org.etsi.uri.x01903.v13.RevocationValuesType)get_store().add_element_user(REVOCATIONVALUES$2);
}
target.set(revocationValues);
}
}
/**
* Appends and returns a new empty "RevocationValues" element
*/
public org.etsi.uri.x01903.v13.RevocationValuesType addNewRevocationValues()
{
synchronized (monitor())
{
check_orphaned();
org.etsi.uri.x01903.v13.RevocationValuesType target = null;
target = (org.etsi.uri.x01903.v13.RevocationValuesType)get_store().add_element_user(REVOCATIONVALUES$2);
return target;
}
}
/**
* Unsets the "RevocationValues" element
*/
public void unsetRevocationValues()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(REVOCATIONVALUES$2, 0);
}
}
/**
* 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);
}
}
}