aero.aixm.schema.x51.impl.GlidepathDocumentImpl 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: Glidepath
* Namespace: http://www.aixm.aero/schema/5.1
* Java type: aero.aixm.schema.x51.GlidepathDocument
*
* Automatically generated - do not modify.
*/
package aero.aixm.schema.x51.impl;
/**
* A document containing one Glidepath(@http://www.aixm.aero/schema/5.1) element.
*
* This is a complex type.
*/
public class GlidepathDocumentImpl extends aero.aixm.schema.x51.impl.AbstractNavaidEquipmentDocumentImpl implements aero.aixm.schema.x51.GlidepathDocument
{
private static final long serialVersionUID = 1L;
public GlidepathDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName GLIDEPATH$0 =
new javax.xml.namespace.QName("http://www.aixm.aero/schema/5.1", "Glidepath");
/**
* Gets the "Glidepath" element
*/
public aero.aixm.schema.x51.GlidepathType getGlidepath()
{
synchronized (monitor())
{
check_orphaned();
aero.aixm.schema.x51.GlidepathType target = null;
target = (aero.aixm.schema.x51.GlidepathType)get_store().find_element_user(GLIDEPATH$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Glidepath" element
*/
public void setGlidepath(aero.aixm.schema.x51.GlidepathType glidepath)
{
synchronized (monitor())
{
check_orphaned();
aero.aixm.schema.x51.GlidepathType target = null;
target = (aero.aixm.schema.x51.GlidepathType)get_store().find_element_user(GLIDEPATH$0, 0);
if (target == null)
{
target = (aero.aixm.schema.x51.GlidepathType)get_store().add_element_user(GLIDEPATH$0);
}
target.set(glidepath);
}
}
/**
* Appends and returns a new empty "Glidepath" element
*/
public aero.aixm.schema.x51.GlidepathType addNewGlidepath()
{
synchronized (monitor())
{
check_orphaned();
aero.aixm.schema.x51.GlidepathType target = null;
target = (aero.aixm.schema.x51.GlidepathType)get_store().add_element_user(GLIDEPATH$0);
return target;
}
}
}