All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.opengis.sensorml.x20.impl.ObservablePropertyTypeImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * XML Type:  ObservablePropertyType
 * Namespace: http://www.opengis.net/sensorml/2.0
 * Java type: net.opengis.sensorml.x20.ObservablePropertyType
 *
 * Automatically generated - do not modify.
 */
package net.opengis.sensorml.x20.impl;
/**
 * An XML ObservablePropertyType(@http://www.opengis.net/sensorml/2.0).
 *
 * This is a complex type.
 */
public class ObservablePropertyTypeImpl extends net.opengis.swe.x20.impl.AbstractSWEIdentifiableTypeImpl implements net.opengis.sensorml.x20.ObservablePropertyType
{
    private static final long serialVersionUID = 1L;
    
    public ObservablePropertyTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName DEFINITION$0 = 
        new javax.xml.namespace.QName("", "definition");
    
    
    /**
     * 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$0);
            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$0);
            return target;
        }
    }
    
    /**
     * 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$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DEFINITION$0);
            }
            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$0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(DEFINITION$0);
            }
            target.set(definition);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy