
x0.oasisNamesTcCiqXsdschemaXAL2.impl.PremiseNumberSuffixDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: PremiseNumberSuffix
* Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
* Java type: x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument
*
* Automatically generated - do not modify.
*/
package x0.oasisNamesTcCiqXsdschemaXAL2.impl;
/**
* A document containing one PremiseNumberSuffix(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0) element.
*
* This is a complex type.
*/
public class PremiseNumberSuffixDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument
{
private static final long serialVersionUID = 1L;
public PremiseNumberSuffixDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PREMISENUMBERSUFFIX$0 =
new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "PremiseNumberSuffix");
/**
* Gets the "PremiseNumberSuffix" element
*/
public x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix getPremiseNumberSuffix()
{
synchronized (monitor())
{
check_orphaned();
x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix target = null;
target = (x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix)get_store().find_element_user(PREMISENUMBERSUFFIX$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "PremiseNumberSuffix" element
*/
public void setPremiseNumberSuffix(x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix premiseNumberSuffix)
{
synchronized (monitor())
{
check_orphaned();
x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix target = null;
target = (x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix)get_store().find_element_user(PREMISENUMBERSUFFIX$0, 0);
if (target == null)
{
target = (x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix)get_store().add_element_user(PREMISENUMBERSUFFIX$0);
}
target.set(premiseNumberSuffix);
}
}
/**
* Appends and returns a new empty "PremiseNumberSuffix" element
*/
public x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix addNewPremiseNumberSuffix()
{
synchronized (monitor())
{
check_orphaned();
x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix target = null;
target = (x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix)get_store().add_element_user(PREMISENUMBERSUFFIX$0);
return target;
}
}
/**
* An XML PremiseNumberSuffix(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
*
* This is a complex type.
*/
public static class PremiseNumberSuffixImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.PremiseNumberSuffixDocument.PremiseNumberSuffix
{
private static final long serialVersionUID = 1L;
public PremiseNumberSuffixImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NUMBERSUFFIXSEPARATOR$0 =
new javax.xml.namespace.QName("", "NumberSuffixSeparator");
private static final javax.xml.namespace.QName TYPE$2 =
new javax.xml.namespace.QName("", "Type");
private static final javax.xml.namespace.QName CODE$4 =
new javax.xml.namespace.QName("", "Code");
/**
* Gets the "NumberSuffixSeparator" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType getNumberSuffixSeparator()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(NUMBERSUFFIXSEPARATOR$0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "NumberSuffixSeparator" attribute
*/
public boolean isSetNumberSuffixSeparator()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NUMBERSUFFIXSEPARATOR$0) != null;
}
}
/**
* Sets the "NumberSuffixSeparator" attribute
*/
public void setNumberSuffixSeparator(org.apache.xmlbeans.XmlAnySimpleType numberSuffixSeparator)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(NUMBERSUFFIXSEPARATOR$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(NUMBERSUFFIXSEPARATOR$0);
}
target.set(numberSuffixSeparator);
}
}
/**
* Appends and returns a new empty "NumberSuffixSeparator" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType addNewNumberSuffixSeparator()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(NUMBERSUFFIXSEPARATOR$0);
return target;
}
}
/**
* Unsets the "NumberSuffixSeparator" attribute
*/
public void unsetNumberSuffixSeparator()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NUMBERSUFFIXSEPARATOR$0);
}
}
/**
* Gets the "Type" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Type" attribute
*/
public boolean isSetType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TYPE$2) != null;
}
}
/**
* Sets the "Type" attribute
*/
public void setType(org.apache.xmlbeans.XmlAnySimpleType type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$2);
}
target.set(type);
}
}
/**
* Appends and returns a new empty "Type" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType addNewType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$2);
return target;
}
}
/**
* Unsets the "Type" attribute
*/
public void unsetType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TYPE$2);
}
}
/**
* Gets the "Code" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType getCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$4);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Code" attribute
*/
public boolean isSetCode()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(CODE$4) != null;
}
}
/**
* Sets the "Code" attribute
*/
public void setCode(org.apache.xmlbeans.XmlAnySimpleType code)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(CODE$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$4);
}
target.set(code);
}
}
/**
* Appends and returns a new empty "Code" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType addNewCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$4);
return target;
}
}
/**
* Unsets the "Code" attribute
*/
public void unsetCode()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(CODE$4);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy