
net.opengis.samplingSpecimen.x20.impl.PreparationStepDocumentImpl Maven / Gradle / Ivy
The newest version!
/*
* An XML document type.
* Localname: PreparationStep
* Namespace: http://www.opengis.net/samplingSpecimen/2.0
* Java type: net.opengis.samplingSpecimen.x20.PreparationStepDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.samplingSpecimen.x20.impl;
/**
* A document containing one PreparationStep(@http://www.opengis.net/samplingSpecimen/2.0) element.
*
* This is a complex type.
*/
public class PreparationStepDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.samplingSpecimen.x20.PreparationStepDocument
{
private static final long serialVersionUID = 1L;
public PreparationStepDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PREPARATIONSTEP$0 =
new javax.xml.namespace.QName("http://www.opengis.net/samplingSpecimen/2.0", "PreparationStep");
/**
* Gets the "PreparationStep" element
*/
public net.opengis.samplingSpecimen.x20.PreparationStepType getPreparationStep()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.samplingSpecimen.x20.PreparationStepType target = null;
target = (net.opengis.samplingSpecimen.x20.PreparationStepType)get_store().find_element_user(PREPARATIONSTEP$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "PreparationStep" element
*/
public void setPreparationStep(net.opengis.samplingSpecimen.x20.PreparationStepType preparationStep)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.samplingSpecimen.x20.PreparationStepType target = null;
target = (net.opengis.samplingSpecimen.x20.PreparationStepType)get_store().find_element_user(PREPARATIONSTEP$0, 0);
if (target == null)
{
target = (net.opengis.samplingSpecimen.x20.PreparationStepType)get_store().add_element_user(PREPARATIONSTEP$0);
}
target.set(preparationStep);
}
}
/**
* Appends and returns a new empty "PreparationStep" element
*/
public net.opengis.samplingSpecimen.x20.PreparationStepType addNewPreparationStep()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.samplingSpecimen.x20.PreparationStepType target = null;
target = (net.opengis.samplingSpecimen.x20.PreparationStepType)get_store().add_element_user(PREPARATIONSTEP$0);
return target;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy