org.sdmx.resources.sdmxml.schemas.v20.structure.impl.CodelistRefTypeImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdmx-sdmx20-xmlbeans Show documentation
Show all versions of sdmx-sdmx20-xmlbeans Show documentation
xmlbeans binding to sdmx2.0 schema(generated)
The newest version!
/*
* XML Type: CodelistRefType
* Namespace: http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure
* Java type: org.sdmx.resources.sdmxml.schemas.v20.structure.CodelistRefType
*
* Automatically generated - do not modify.
*/
package org.sdmx.resources.sdmxml.schemas.v20.structure.impl;
/**
* An XML CodelistRefType(@http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure).
*
* This is a complex type.
*/
public class CodelistRefTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.sdmx.resources.sdmxml.schemas.v20.structure.CodelistRefType
{
private static final long serialVersionUID = 1L;
public CodelistRefTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName URN$0 =
new javax.xml.namespace.QName("http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure", "URN");
private static final javax.xml.namespace.QName AGENCYID$2 =
new javax.xml.namespace.QName("http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure", "AgencyID");
private static final javax.xml.namespace.QName CODELISTID$4 =
new javax.xml.namespace.QName("http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure", "CodelistID");
private static final javax.xml.namespace.QName VERSION$6 =
new javax.xml.namespace.QName("http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure", "Version");
private static final javax.xml.namespace.QName ALIAS$8 =
new javax.xml.namespace.QName("http://www.SDMX.org/resources/SDMXML/schemas/v2_0/structure", "Alias");
/**
* Gets the "URN" element
*/
public java.lang.String getURN()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URN$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "URN" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetURN()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URN$0, 0);
return target;
}
}
/**
* True if has "URN" element
*/
public boolean isSetURN()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(URN$0) != 0;
}
}
/**
* Sets the "URN" element
*/
public void setURN(java.lang.String urn)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URN$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(URN$0);
}
target.setStringValue(urn);
}
}
/**
* Sets (as xml) the "URN" element
*/
public void xsetURN(org.apache.xmlbeans.XmlAnyURI urn)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(URN$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(URN$0);
}
target.set(urn);
}
}
/**
* Unsets the "URN" element
*/
public void unsetURN()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(URN$0, 0);
}
}
/**
* Gets the "AgencyID" element
*/
public java.lang.String getAgencyID()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYID$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "AgencyID" element
*/
public org.sdmx.resources.sdmxml.schemas.v20.common.IDType xgetAgencyID()
{
synchronized (monitor())
{
check_orphaned();
org.sdmx.resources.sdmxml.schemas.v20.common.IDType target = null;
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().find_element_user(AGENCYID$2, 0);
return target;
}
}
/**
* True if has "AgencyID" element
*/
public boolean isSetAgencyID()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(AGENCYID$2) != 0;
}
}
/**
* Sets the "AgencyID" element
*/
public void setAgencyID(java.lang.String agencyID)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYID$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGENCYID$2);
}
target.setStringValue(agencyID);
}
}
/**
* Sets (as xml) the "AgencyID" element
*/
public void xsetAgencyID(org.sdmx.resources.sdmxml.schemas.v20.common.IDType agencyID)
{
synchronized (monitor())
{
check_orphaned();
org.sdmx.resources.sdmxml.schemas.v20.common.IDType target = null;
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().find_element_user(AGENCYID$2, 0);
if (target == null)
{
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().add_element_user(AGENCYID$2);
}
target.set(agencyID);
}
}
/**
* Unsets the "AgencyID" element
*/
public void unsetAgencyID()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(AGENCYID$2, 0);
}
}
/**
* Gets the "CodelistID" element
*/
public java.lang.String getCodelistID()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CODELISTID$4, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "CodelistID" element
*/
public org.sdmx.resources.sdmxml.schemas.v20.common.IDType xgetCodelistID()
{
synchronized (monitor())
{
check_orphaned();
org.sdmx.resources.sdmxml.schemas.v20.common.IDType target = null;
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().find_element_user(CODELISTID$4, 0);
return target;
}
}
/**
* True if has "CodelistID" element
*/
public boolean isSetCodelistID()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CODELISTID$4) != 0;
}
}
/**
* Sets the "CodelistID" element
*/
public void setCodelistID(java.lang.String codelistID)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CODELISTID$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CODELISTID$4);
}
target.setStringValue(codelistID);
}
}
/**
* Sets (as xml) the "CodelistID" element
*/
public void xsetCodelistID(org.sdmx.resources.sdmxml.schemas.v20.common.IDType codelistID)
{
synchronized (monitor())
{
check_orphaned();
org.sdmx.resources.sdmxml.schemas.v20.common.IDType target = null;
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().find_element_user(CODELISTID$4, 0);
if (target == null)
{
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().add_element_user(CODELISTID$4);
}
target.set(codelistID);
}
}
/**
* Unsets the "CodelistID" element
*/
public void unsetCodelistID()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CODELISTID$4, 0);
}
}
/**
* Gets the "Version" element
*/
public java.lang.String getVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$6, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Version" element
*/
public org.apache.xmlbeans.XmlString xgetVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$6, 0);
return target;
}
}
/**
* True if has "Version" element
*/
public boolean isSetVersion()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(VERSION$6) != 0;
}
}
/**
* Sets the "Version" element
*/
public void setVersion(java.lang.String version)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VERSION$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VERSION$6);
}
target.setStringValue(version);
}
}
/**
* Sets (as xml) the "Version" element
*/
public void xsetVersion(org.apache.xmlbeans.XmlString version)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(VERSION$6, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(VERSION$6);
}
target.set(version);
}
}
/**
* Unsets the "Version" element
*/
public void unsetVersion()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(VERSION$6, 0);
}
}
/**
* Gets the "Alias" element
*/
public java.lang.String getAlias()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ALIAS$8, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Alias" element
*/
public org.sdmx.resources.sdmxml.schemas.v20.common.IDType xgetAlias()
{
synchronized (monitor())
{
check_orphaned();
org.sdmx.resources.sdmxml.schemas.v20.common.IDType target = null;
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().find_element_user(ALIAS$8, 0);
return target;
}
}
/**
* True if has "Alias" element
*/
public boolean isSetAlias()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ALIAS$8) != 0;
}
}
/**
* Sets the "Alias" element
*/
public void setAlias(java.lang.String alias)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ALIAS$8, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ALIAS$8);
}
target.setStringValue(alias);
}
}
/**
* Sets (as xml) the "Alias" element
*/
public void xsetAlias(org.sdmx.resources.sdmxml.schemas.v20.common.IDType alias)
{
synchronized (monitor())
{
check_orphaned();
org.sdmx.resources.sdmxml.schemas.v20.common.IDType target = null;
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().find_element_user(ALIAS$8, 0);
if (target == null)
{
target = (org.sdmx.resources.sdmxml.schemas.v20.common.IDType)get_store().add_element_user(ALIAS$8);
}
target.set(alias);
}
}
/**
* Unsets the "Alias" element
*/
public void unsetAlias()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ALIAS$8, 0);
}
}
}