net.opengis.sps.x10.impl.TaskMessageDefinitionDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: TaskMessageDefinition
* Namespace: http://www.opengis.net/sps/1.0
* Java type: net.opengis.sps.x10.TaskMessageDefinitionDocument
*
* Automatically generated - do not modify.
*/
package net.opengis.sps.x10.impl;
/**
* A document containing one TaskMessageDefinition(@http://www.opengis.net/sps/1.0) element.
*
* This is a complex type.
*/
public class TaskMessageDefinitionDocumentImpl extends net.opengis.gml.impl.DefinitionDocumentImpl implements net.opengis.sps.x10.TaskMessageDefinitionDocument
{
private static final long serialVersionUID = 1L;
public TaskMessageDefinitionDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TASKMESSAGEDEFINITION$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sps/1.0", "TaskMessageDefinition");
/**
* Gets the "TaskMessageDefinition" element
*/
public net.opengis.sps.x10.TaskMessageDefinitionType getTaskMessageDefinition()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.TaskMessageDefinitionType target = null;
target = (net.opengis.sps.x10.TaskMessageDefinitionType)get_store().find_element_user(TASKMESSAGEDEFINITION$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "TaskMessageDefinition" element
*/
public void setTaskMessageDefinition(net.opengis.sps.x10.TaskMessageDefinitionType taskMessageDefinition)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.TaskMessageDefinitionType target = null;
target = (net.opengis.sps.x10.TaskMessageDefinitionType)get_store().find_element_user(TASKMESSAGEDEFINITION$0, 0);
if (target == null)
{
target = (net.opengis.sps.x10.TaskMessageDefinitionType)get_store().add_element_user(TASKMESSAGEDEFINITION$0);
}
target.set(taskMessageDefinition);
}
}
/**
* Appends and returns a new empty "TaskMessageDefinition" element
*/
public net.opengis.sps.x10.TaskMessageDefinitionType addNewTaskMessageDefinition()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sps.x10.TaskMessageDefinitionType target = null;
target = (net.opengis.sps.x10.TaskMessageDefinitionType)get_store().add_element_user(TASKMESSAGEDEFINITION$0);
return target;
}
}
}