aero.aixm.schema.x51.impl.AbstractSurfaceContaminationDocumentImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of 52n-xml-aixm-v511 Show documentation
Show all versions of 52n-xml-aixm-v511 Show documentation
Aeronautical Information Exchange 5.1 - adjusted to support metadata by reference.
DNOTAM Event and AIXMBasicMessage schemas included.
The AIXM_AbstractGML_ObjectTypes.xsd needed to be adjusted to work around an existing
bug (aixm:name AND gml:name as children of the same type). This resulted in the gml:id
not set to use=required, so handle validation with good care.
/*
* An XML document type.
* Localname: AbstractSurfaceContamination
* Namespace: http://www.aixm.aero/schema/5.1
* Java type: aero.aixm.schema.x51.AbstractSurfaceContaminationDocument
*
* Automatically generated - do not modify.
*/
package aero.aixm.schema.x51.impl;
/**
* A document containing one AbstractSurfaceContamination(@http://www.aixm.aero/schema/5.1) element.
*
* This is a complex type.
*/
public class AbstractSurfaceContaminationDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements aero.aixm.schema.x51.AbstractSurfaceContaminationDocument
{
private static final long serialVersionUID = 1L;
public AbstractSurfaceContaminationDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ABSTRACTSURFACECONTAMINATION$0 =
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "AbstractSurfaceContamination");
private static final org.apache.xmlbeans.QNameSet ABSTRACTSURFACECONTAMINATION$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "RunwaySectionContamination"),
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "AircraftStandContamination"),
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "AirportHeliportContamination"),
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "RunwayContamination"),
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "TouchDownLiftOffContamination"),
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "AbstractSurfaceContamination"),
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "ApronContamination"),
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "TaxiwayContamination"),
});
/**
* Gets the "AbstractSurfaceContamination" element
*/
public aero.aixm.schema.x51.AbstractSurfaceContaminationType getAbstractSurfaceContamination()
{
synchronized (monitor())
{
check_orphaned();
aero.aixm.schema.x51.AbstractSurfaceContaminationType target = null;
target = (aero.aixm.schema.x51.AbstractSurfaceContaminationType)get_store().find_element_user(ABSTRACTSURFACECONTAMINATION$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AbstractSurfaceContamination" element
*/
public void setAbstractSurfaceContamination(aero.aixm.schema.x51.AbstractSurfaceContaminationType abstractSurfaceContamination)
{
synchronized (monitor())
{
check_orphaned();
aero.aixm.schema.x51.AbstractSurfaceContaminationType target = null;
target = (aero.aixm.schema.x51.AbstractSurfaceContaminationType)get_store().find_element_user(ABSTRACTSURFACECONTAMINATION$1, 0);
if (target == null)
{
target = (aero.aixm.schema.x51.AbstractSurfaceContaminationType)get_store().add_element_user(ABSTRACTSURFACECONTAMINATION$0);
}
target.set(abstractSurfaceContamination);
}
}
/**
* Appends and returns a new empty "AbstractSurfaceContamination" element
*/
public aero.aixm.schema.x51.AbstractSurfaceContaminationType addNewAbstractSurfaceContamination()
{
synchronized (monitor())
{
check_orphaned();
aero.aixm.schema.x51.AbstractSurfaceContaminationType target = null;
target = (aero.aixm.schema.x51.AbstractSurfaceContaminationType)get_store().add_element_user(ABSTRACTSURFACECONTAMINATION$0);
return target;
}
}
}