Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.opengis.sensorml.x20.impl.EventTypeImpl Maven / Gradle / Ivy
/*
* XML Type: EventType
* Namespace: http://www.opengis.net/sensorml/2.0
* Java type: net.opengis.sensorml.x20.EventType
*
* Automatically generated - do not modify.
*/
package net.opengis.sensorml.x20.impl;
/**
* An XML EventType(@http://www.opengis.net/sensorml/2.0).
*
* This is a complex type.
*/
public class EventTypeImpl extends net.opengis.swe.x20.impl.AbstractSWEIdentifiableTypeImpl implements net.opengis.sensorml.x20.EventType
{
private static final long serialVersionUID = 1L;
public EventTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName KEYWORDS$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "keywords");
private static final javax.xml.namespace.QName IDENTIFICATION$2 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "identification");
private static final javax.xml.namespace.QName CLASSIFICATION$4 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "classification");
private static final javax.xml.namespace.QName CONTACTS$6 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "contacts");
private static final javax.xml.namespace.QName DOCUMENTATION$8 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "documentation");
private static final javax.xml.namespace.QName TIME$10 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "time");
private static final javax.xml.namespace.QName PROPERTY$12 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "property");
private static final javax.xml.namespace.QName CONFIGURATION$14 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "configuration");
private static final javax.xml.namespace.QName DEFINITION$16 =
new javax.xml.namespace.QName("", "definition");
/**
* Gets array of all "keywords" elements
*/
public org.isotc211.x2005.gmd.MDKeywordsPropertyType[] getKeywordsArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(KEYWORDS$0, targetList);
org.isotc211.x2005.gmd.MDKeywordsPropertyType[] result = new org.isotc211.x2005.gmd.MDKeywordsPropertyType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "keywords" element
*/
public org.isotc211.x2005.gmd.MDKeywordsPropertyType getKeywordsArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.isotc211.x2005.gmd.MDKeywordsPropertyType target = null;
target = (org.isotc211.x2005.gmd.MDKeywordsPropertyType)get_store().find_element_user(KEYWORDS$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "keywords" element
*/
public int sizeOfKeywordsArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(KEYWORDS$0);
}
}
/**
* Sets array of all "keywords" element
*/
public void setKeywordsArray(org.isotc211.x2005.gmd.MDKeywordsPropertyType[] keywordsArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(keywordsArray, KEYWORDS$0);
}
}
/**
* Sets ith "keywords" element
*/
public void setKeywordsArray(int i, org.isotc211.x2005.gmd.MDKeywordsPropertyType keywords)
{
synchronized (monitor())
{
check_orphaned();
org.isotc211.x2005.gmd.MDKeywordsPropertyType target = null;
target = (org.isotc211.x2005.gmd.MDKeywordsPropertyType)get_store().find_element_user(KEYWORDS$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(keywords);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "keywords" element
*/
public org.isotc211.x2005.gmd.MDKeywordsPropertyType insertNewKeywords(int i)
{
synchronized (monitor())
{
check_orphaned();
org.isotc211.x2005.gmd.MDKeywordsPropertyType target = null;
target = (org.isotc211.x2005.gmd.MDKeywordsPropertyType)get_store().insert_element_user(KEYWORDS$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "keywords" element
*/
public org.isotc211.x2005.gmd.MDKeywordsPropertyType addNewKeywords()
{
synchronized (monitor())
{
check_orphaned();
org.isotc211.x2005.gmd.MDKeywordsPropertyType target = null;
target = (org.isotc211.x2005.gmd.MDKeywordsPropertyType)get_store().add_element_user(KEYWORDS$0);
return target;
}
}
/**
* Removes the ith "keywords" element
*/
public void removeKeywords(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(KEYWORDS$0, i);
}
}
/**
* Gets array of all "identification" elements
*/
public net.opengis.sensorml.x20.IdentifierListPropertyType[] getIdentificationArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(IDENTIFICATION$2, targetList);
net.opengis.sensorml.x20.IdentifierListPropertyType[] result = new net.opengis.sensorml.x20.IdentifierListPropertyType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "identification" element
*/
public net.opengis.sensorml.x20.IdentifierListPropertyType getIdentificationArray(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.IdentifierListPropertyType target = null;
target = (net.opengis.sensorml.x20.IdentifierListPropertyType)get_store().find_element_user(IDENTIFICATION$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "identification" element
*/
public int sizeOfIdentificationArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(IDENTIFICATION$2);
}
}
/**
* Sets array of all "identification" element
*/
public void setIdentificationArray(net.opengis.sensorml.x20.IdentifierListPropertyType[] identificationArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(identificationArray, IDENTIFICATION$2);
}
}
/**
* Sets ith "identification" element
*/
public void setIdentificationArray(int i, net.opengis.sensorml.x20.IdentifierListPropertyType identification)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.IdentifierListPropertyType target = null;
target = (net.opengis.sensorml.x20.IdentifierListPropertyType)get_store().find_element_user(IDENTIFICATION$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(identification);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "identification" element
*/
public net.opengis.sensorml.x20.IdentifierListPropertyType insertNewIdentification(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.IdentifierListPropertyType target = null;
target = (net.opengis.sensorml.x20.IdentifierListPropertyType)get_store().insert_element_user(IDENTIFICATION$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "identification" element
*/
public net.opengis.sensorml.x20.IdentifierListPropertyType addNewIdentification()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.IdentifierListPropertyType target = null;
target = (net.opengis.sensorml.x20.IdentifierListPropertyType)get_store().add_element_user(IDENTIFICATION$2);
return target;
}
}
/**
* Removes the ith "identification" element
*/
public void removeIdentification(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(IDENTIFICATION$2, i);
}
}
/**
* Gets array of all "classification" elements
*/
public net.opengis.sensorml.x20.ClassifierListPropertyType[] getClassificationArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(CLASSIFICATION$4, targetList);
net.opengis.sensorml.x20.ClassifierListPropertyType[] result = new net.opengis.sensorml.x20.ClassifierListPropertyType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "classification" element
*/
public net.opengis.sensorml.x20.ClassifierListPropertyType getClassificationArray(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ClassifierListPropertyType target = null;
target = (net.opengis.sensorml.x20.ClassifierListPropertyType)get_store().find_element_user(CLASSIFICATION$4, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "classification" element
*/
public int sizeOfClassificationArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CLASSIFICATION$4);
}
}
/**
* Sets array of all "classification" element
*/
public void setClassificationArray(net.opengis.sensorml.x20.ClassifierListPropertyType[] classificationArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(classificationArray, CLASSIFICATION$4);
}
}
/**
* Sets ith "classification" element
*/
public void setClassificationArray(int i, net.opengis.sensorml.x20.ClassifierListPropertyType classification)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ClassifierListPropertyType target = null;
target = (net.opengis.sensorml.x20.ClassifierListPropertyType)get_store().find_element_user(CLASSIFICATION$4, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(classification);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "classification" element
*/
public net.opengis.sensorml.x20.ClassifierListPropertyType insertNewClassification(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ClassifierListPropertyType target = null;
target = (net.opengis.sensorml.x20.ClassifierListPropertyType)get_store().insert_element_user(CLASSIFICATION$4, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "classification" element
*/
public net.opengis.sensorml.x20.ClassifierListPropertyType addNewClassification()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ClassifierListPropertyType target = null;
target = (net.opengis.sensorml.x20.ClassifierListPropertyType)get_store().add_element_user(CLASSIFICATION$4);
return target;
}
}
/**
* Removes the ith "classification" element
*/
public void removeClassification(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CLASSIFICATION$4, i);
}
}
/**
* Gets array of all "contacts" elements
*/
public net.opengis.sensorml.x20.ContactListPropertyType[] getContactsArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(CONTACTS$6, targetList);
net.opengis.sensorml.x20.ContactListPropertyType[] result = new net.opengis.sensorml.x20.ContactListPropertyType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "contacts" element
*/
public net.opengis.sensorml.x20.ContactListPropertyType getContactsArray(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ContactListPropertyType target = null;
target = (net.opengis.sensorml.x20.ContactListPropertyType)get_store().find_element_user(CONTACTS$6, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "contacts" element
*/
public int sizeOfContactsArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CONTACTS$6);
}
}
/**
* Sets array of all "contacts" element
*/
public void setContactsArray(net.opengis.sensorml.x20.ContactListPropertyType[] contactsArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(contactsArray, CONTACTS$6);
}
}
/**
* Sets ith "contacts" element
*/
public void setContactsArray(int i, net.opengis.sensorml.x20.ContactListPropertyType contacts)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ContactListPropertyType target = null;
target = (net.opengis.sensorml.x20.ContactListPropertyType)get_store().find_element_user(CONTACTS$6, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(contacts);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "contacts" element
*/
public net.opengis.sensorml.x20.ContactListPropertyType insertNewContacts(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ContactListPropertyType target = null;
target = (net.opengis.sensorml.x20.ContactListPropertyType)get_store().insert_element_user(CONTACTS$6, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "contacts" element
*/
public net.opengis.sensorml.x20.ContactListPropertyType addNewContacts()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.ContactListPropertyType target = null;
target = (net.opengis.sensorml.x20.ContactListPropertyType)get_store().add_element_user(CONTACTS$6);
return target;
}
}
/**
* Removes the ith "contacts" element
*/
public void removeContacts(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CONTACTS$6, i);
}
}
/**
* Gets array of all "documentation" elements
*/
public net.opengis.sensorml.x20.DocumentListPropertyType[] getDocumentationArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(DOCUMENTATION$8, targetList);
net.opengis.sensorml.x20.DocumentListPropertyType[] result = new net.opengis.sensorml.x20.DocumentListPropertyType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "documentation" element
*/
public net.opengis.sensorml.x20.DocumentListPropertyType getDocumentationArray(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.DocumentListPropertyType target = null;
target = (net.opengis.sensorml.x20.DocumentListPropertyType)get_store().find_element_user(DOCUMENTATION$8, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "documentation" element
*/
public int sizeOfDocumentationArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DOCUMENTATION$8);
}
}
/**
* Sets array of all "documentation" element
*/
public void setDocumentationArray(net.opengis.sensorml.x20.DocumentListPropertyType[] documentationArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(documentationArray, DOCUMENTATION$8);
}
}
/**
* Sets ith "documentation" element
*/
public void setDocumentationArray(int i, net.opengis.sensorml.x20.DocumentListPropertyType documentation)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.DocumentListPropertyType target = null;
target = (net.opengis.sensorml.x20.DocumentListPropertyType)get_store().find_element_user(DOCUMENTATION$8, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(documentation);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "documentation" element
*/
public net.opengis.sensorml.x20.DocumentListPropertyType insertNewDocumentation(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.DocumentListPropertyType target = null;
target = (net.opengis.sensorml.x20.DocumentListPropertyType)get_store().insert_element_user(DOCUMENTATION$8, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "documentation" element
*/
public net.opengis.sensorml.x20.DocumentListPropertyType addNewDocumentation()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.DocumentListPropertyType target = null;
target = (net.opengis.sensorml.x20.DocumentListPropertyType)get_store().add_element_user(DOCUMENTATION$8);
return target;
}
}
/**
* Removes the ith "documentation" element
*/
public void removeDocumentation(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DOCUMENTATION$8, i);
}
}
/**
* Gets the "time" element
*/
public net.opengis.sensorml.x20.EventType.Time getTime()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.EventType.Time target = null;
target = (net.opengis.sensorml.x20.EventType.Time)get_store().find_element_user(TIME$10, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "time" element
*/
public void setTime(net.opengis.sensorml.x20.EventType.Time time)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.EventType.Time target = null;
target = (net.opengis.sensorml.x20.EventType.Time)get_store().find_element_user(TIME$10, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.EventType.Time)get_store().add_element_user(TIME$10);
}
target.set(time);
}
}
/**
* Appends and returns a new empty "time" element
*/
public net.opengis.sensorml.x20.EventType.Time addNewTime()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.EventType.Time target = null;
target = (net.opengis.sensorml.x20.EventType.Time)get_store().add_element_user(TIME$10);
return target;
}
}
/**
* Gets array of all "property" elements
*/
public net.opengis.swe.x20.AbstractDataComponentPropertyType[] getPropertyArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(PROPERTY$12, targetList);
net.opengis.swe.x20.AbstractDataComponentPropertyType[] result = new net.opengis.swe.x20.AbstractDataComponentPropertyType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "property" element
*/
public net.opengis.swe.x20.AbstractDataComponentPropertyType getPropertyArray(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractDataComponentPropertyType target = null;
target = (net.opengis.swe.x20.AbstractDataComponentPropertyType)get_store().find_element_user(PROPERTY$12, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "property" element
*/
public int sizeOfPropertyArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PROPERTY$12);
}
}
/**
* Sets array of all "property" element
*/
public void setPropertyArray(net.opengis.swe.x20.AbstractDataComponentPropertyType[] propertyArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(propertyArray, PROPERTY$12);
}
}
/**
* Sets ith "property" element
*/
public void setPropertyArray(int i, net.opengis.swe.x20.AbstractDataComponentPropertyType property)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractDataComponentPropertyType target = null;
target = (net.opengis.swe.x20.AbstractDataComponentPropertyType)get_store().find_element_user(PROPERTY$12, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(property);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "property" element
*/
public net.opengis.swe.x20.AbstractDataComponentPropertyType insertNewProperty(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractDataComponentPropertyType target = null;
target = (net.opengis.swe.x20.AbstractDataComponentPropertyType)get_store().insert_element_user(PROPERTY$12, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "property" element
*/
public net.opengis.swe.x20.AbstractDataComponentPropertyType addNewProperty()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.swe.x20.AbstractDataComponentPropertyType target = null;
target = (net.opengis.swe.x20.AbstractDataComponentPropertyType)get_store().add_element_user(PROPERTY$12);
return target;
}
}
/**
* Removes the ith "property" element
*/
public void removeProperty(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PROPERTY$12, i);
}
}
/**
* Gets the "configuration" element
*/
public net.opengis.sensorml.x20.EventType.Configuration getConfiguration()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.EventType.Configuration target = null;
target = (net.opengis.sensorml.x20.EventType.Configuration)get_store().find_element_user(CONFIGURATION$14, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "configuration" element
*/
public boolean isSetConfiguration()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CONFIGURATION$14) != 0;
}
}
/**
* Sets the "configuration" element
*/
public void setConfiguration(net.opengis.sensorml.x20.EventType.Configuration configuration)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.EventType.Configuration target = null;
target = (net.opengis.sensorml.x20.EventType.Configuration)get_store().find_element_user(CONFIGURATION$14, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.EventType.Configuration)get_store().add_element_user(CONFIGURATION$14);
}
target.set(configuration);
}
}
/**
* Appends and returns a new empty "configuration" element
*/
public net.opengis.sensorml.x20.EventType.Configuration addNewConfiguration()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.EventType.Configuration target = null;
target = (net.opengis.sensorml.x20.EventType.Configuration)get_store().add_element_user(CONFIGURATION$14);
return target;
}
}
/**
* Unsets the "configuration" element
*/
public void unsetConfiguration()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CONFIGURATION$14, 0);
}
}
/**
* Gets the "definition" attribute
*/
public java.lang.String getDefinition()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFINITION$16);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "definition" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetDefinition()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(DEFINITION$16);
return target;
}
}
/**
* True if has "definition" attribute
*/
public boolean isSetDefinition()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(DEFINITION$16) != null;
}
}
/**
* Sets the "definition" attribute
*/
public void setDefinition(java.lang.String definition)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEFINITION$16);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DEFINITION$16);
}
target.setStringValue(definition);
}
}
/**
* Sets (as xml) the "definition" attribute
*/
public void xsetDefinition(org.apache.xmlbeans.XmlAnyURI definition)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(DEFINITION$16);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(DEFINITION$16);
}
target.set(definition);
}
}
/**
* Unsets the "definition" attribute
*/
public void unsetDefinition()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(DEFINITION$16);
}
}
/**
* An XML time(@http://www.opengis.net/sensorml/2.0).
*
* This is a complex type.
*/
public static class TimeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorml.x20.EventType.Time
{
private static final long serialVersionUID = 1L;
public TimeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName TIMEPERIOD$0 =
new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "TimePeriod");
private static final javax.xml.namespace.QName TIMEINSTANT$2 =
new javax.xml.namespace.QName("http://www.opengis.net/gml/3.2", "TimeInstant");
/**
* Gets the "TimePeriod" element
*/
public net.opengis.gml.x32.TimePeriodType getTimePeriod()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.TimePeriodType target = null;
target = (net.opengis.gml.x32.TimePeriodType)get_store().find_element_user(TIMEPERIOD$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "TimePeriod" element
*/
public boolean isSetTimePeriod()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TIMEPERIOD$0) != 0;
}
}
/**
* Sets the "TimePeriod" element
*/
public void setTimePeriod(net.opengis.gml.x32.TimePeriodType timePeriod)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.TimePeriodType target = null;
target = (net.opengis.gml.x32.TimePeriodType)get_store().find_element_user(TIMEPERIOD$0, 0);
if (target == null)
{
target = (net.opengis.gml.x32.TimePeriodType)get_store().add_element_user(TIMEPERIOD$0);
}
target.set(timePeriod);
}
}
/**
* Appends and returns a new empty "TimePeriod" element
*/
public net.opengis.gml.x32.TimePeriodType addNewTimePeriod()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.TimePeriodType target = null;
target = (net.opengis.gml.x32.TimePeriodType)get_store().add_element_user(TIMEPERIOD$0);
return target;
}
}
/**
* Unsets the "TimePeriod" element
*/
public void unsetTimePeriod()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TIMEPERIOD$0, 0);
}
}
/**
* Gets the "TimeInstant" element
*/
public net.opengis.gml.x32.TimeInstantType getTimeInstant()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.TimeInstantType target = null;
target = (net.opengis.gml.x32.TimeInstantType)get_store().find_element_user(TIMEINSTANT$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "TimeInstant" element
*/
public boolean isSetTimeInstant()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TIMEINSTANT$2) != 0;
}
}
/**
* Sets the "TimeInstant" element
*/
public void setTimeInstant(net.opengis.gml.x32.TimeInstantType timeInstant)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.TimeInstantType target = null;
target = (net.opengis.gml.x32.TimeInstantType)get_store().find_element_user(TIMEINSTANT$2, 0);
if (target == null)
{
target = (net.opengis.gml.x32.TimeInstantType)get_store().add_element_user(TIMEINSTANT$2);
}
target.set(timeInstant);
}
}
/**
* Appends and returns a new empty "TimeInstant" element
*/
public net.opengis.gml.x32.TimeInstantType addNewTimeInstant()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.TimeInstantType target = null;
target = (net.opengis.gml.x32.TimeInstantType)get_store().add_element_user(TIMEINSTANT$2);
return target;
}
}
/**
* Unsets the "TimeInstant" element
*/
public void unsetTimeInstant()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TIMEINSTANT$2, 0);
}
}
}
/**
* An XML configuration(@http://www.opengis.net/sensorml/2.0).
*
* This is a complex type.
*/
public static class ConfigurationImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.opengis.sensorml.x20.EventType.Configuration
{
private static final long serialVersionUID = 1L;
public ConfigurationImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ABSTRACTSETTINGS$0 =
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractSettings");
private static final org.apache.xmlbeans.QNameSet ABSTRACTSETTINGS$1 = org.apache.xmlbeans.QNameSet.forArray( new javax.xml.namespace.QName[] {
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "AbstractSettings"),
new javax.xml.namespace.QName("http://www.opengis.net/sensorml/2.0", "Settings"),
});
/**
* Gets the "AbstractSettings" element
*/
public net.opengis.sensorml.x20.AbstractSettingsType getAbstractSettings()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractSettingsType target = null;
target = (net.opengis.sensorml.x20.AbstractSettingsType)get_store().find_element_user(ABSTRACTSETTINGS$1, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AbstractSettings" element
*/
public void setAbstractSettings(net.opengis.sensorml.x20.AbstractSettingsType abstractSettings)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractSettingsType target = null;
target = (net.opengis.sensorml.x20.AbstractSettingsType)get_store().find_element_user(ABSTRACTSETTINGS$1, 0);
if (target == null)
{
target = (net.opengis.sensorml.x20.AbstractSettingsType)get_store().add_element_user(ABSTRACTSETTINGS$0);
}
target.set(abstractSettings);
}
}
/**
* Appends and returns a new empty "AbstractSettings" element
*/
public net.opengis.sensorml.x20.AbstractSettingsType addNewAbstractSettings()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.sensorml.x20.AbstractSettingsType target = null;
target = (net.opengis.sensorml.x20.AbstractSettingsType)get_store().add_element_user(ABSTRACTSETTINGS$0);
return target;
}
}
}
}