
x0.oasisNamesTcCiqXsdschemaXAL2.impl.AddressLineDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: AddressLine
* Namespace: urn:oasis:names:tc:ciq:xsdschema:xAL:2.0
* Java type: x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument
*
* Automatically generated - do not modify.
*/
package x0.oasisNamesTcCiqXsdschemaXAL2.impl;
/**
* A document containing one AddressLine(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0) element.
*
* This is a complex type.
*/
public class AddressLineDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument
{
private static final long serialVersionUID = 1L;
public AddressLineDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ADDRESSLINE$0 =
new javax.xml.namespace.QName("urn:oasis:names:tc:ciq:xsdschema:xAL:2.0", "AddressLine");
/**
* Gets the "AddressLine" element
*/
public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine getAddressLine()
{
synchronized (monitor())
{
check_orphaned();
x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AddressLine" element
*/
public void setAddressLine(x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addressLine)
{
synchronized (monitor())
{
check_orphaned();
x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().find_element_user(ADDRESSLINE$0, 0);
if (target == null)
{
target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().add_element_user(ADDRESSLINE$0);
}
target.set(addressLine);
}
}
/**
* Appends and returns a new empty "AddressLine" element
*/
public x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine addNewAddressLine()
{
synchronized (monitor())
{
check_orphaned();
x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine target = null;
target = (x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine)get_store().add_element_user(ADDRESSLINE$0);
return target;
}
}
/**
* An XML AddressLine(@urn:oasis:names:tc:ciq:xsdschema:xAL:2.0).
*
* This is a complex type.
*/
public static class AddressLineImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements x0.oasisNamesTcCiqXsdschemaXAL2.AddressLineDocument.AddressLine
{
private static final long serialVersionUID = 1L;
public AddressLineImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TYPE$0 =
new javax.xml.namespace.QName("", "Type");
private static final javax.xml.namespace.QName CODE$2 =
new javax.xml.namespace.QName("", "Code");
/**
* 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$0);
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$0) != 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$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(TYPE$0);
}
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$0);
return target;
}
}
/**
* Unsets the "Type" attribute
*/
public void unsetType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TYPE$0);
}
}
/**
* 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$2);
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$2) != 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$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(CODE$2);
}
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$2);
return target;
}
}
/**
* Unsets the "Code" attribute
*/
public void unsetCode()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(CODE$2);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy