org.etsi.uri.x01903.v13.impl.IncludeTypeImpl Maven / Gradle / Ivy
/*
* XML Type: IncludeType
* Namespace: http://uri.etsi.org/01903/v1.3.2#
* Java type: org.etsi.uri.x01903.v13.IncludeType
*
* Automatically generated - do not modify.
*/
package org.etsi.uri.x01903.v13.impl;
/**
* An XML IncludeType(@http://uri.etsi.org/01903/v1.3.2#).
*
* This is a complex type.
*/
public class IncludeTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.etsi.uri.x01903.v13.IncludeType {
private static final long serialVersionUID = 1L;
public IncludeTypeImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName URI$0 =
new javax.xml.namespace.QName("", "URI");
private static final javax.xml.namespace.QName REFERENCEDDATA$2 =
new javax.xml.namespace.QName("", "referencedData");
/**
* 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$0);
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$0);
return target;
}
}
/**
* 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$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(URI$0);
}
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$0);
if (target == null) {
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(URI$0);
}
target.set(uri);
}
}
/**
* Gets the "referencedData" attribute
*/
public boolean getReferencedData() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFERENCEDDATA$2);
if (target == null) {
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "referencedData" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetReferencedData() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(REFERENCEDDATA$2);
return target;
}
}
/**
* True if has "referencedData" attribute
*/
public boolean isSetReferencedData() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(REFERENCEDDATA$2) != null;
}
}
/**
* Sets the "referencedData" attribute
*/
public void setReferencedData(boolean referencedData) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(REFERENCEDDATA$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(REFERENCEDDATA$2);
}
target.setBooleanValue(referencedData);
}
}
/**
* Sets (as xml) the "referencedData" attribute
*/
public void xsetReferencedData(org.apache.xmlbeans.XmlBoolean referencedData) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(REFERENCEDDATA$2);
if (target == null) {
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(REFERENCEDDATA$2);
}
target.set(referencedData);
}
}
/**
* Unsets the "referencedData" attribute
*/
public void unsetReferencedData() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(REFERENCEDDATA$2);
}
}
}