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

org.isotc211.x2005.gmd.impl.LocalisedCharacterStringDocumentImpl Maven / Gradle / Ivy

There is a newer version: 2.7.0
Show newest version
/*
 * An XML document type.
 * Localname: LocalisedCharacterString
 * Namespace: http://www.isotc211.org/2005/gmd
 * Java type: org.isotc211.x2005.gmd.LocalisedCharacterStringDocument
 *
 * Automatically generated - do not modify.
 */
package org.isotc211.x2005.gmd.impl;
/**
 * A document containing one LocalisedCharacterString(@http://www.isotc211.org/2005/gmd) element.
 *
 * This is a complex type.
 */
public class LocalisedCharacterStringDocumentImpl extends org.isotc211.x2005.gco.impl.CharacterStringDocumentImpl implements org.isotc211.x2005.gmd.LocalisedCharacterStringDocument
{
    private static final long serialVersionUID = 1L;
    
    public LocalisedCharacterStringDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName LOCALISEDCHARACTERSTRING$0 = 
        new javax.xml.namespace.QName("http://www.isotc211.org/2005/gmd", "LocalisedCharacterString");
    
    
    /**
     * Gets the "LocalisedCharacterString" element
     */
    public org.isotc211.x2005.gmd.LocalisedCharacterStringType getLocalisedCharacterString()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isotc211.x2005.gmd.LocalisedCharacterStringType target = null;
            target = (org.isotc211.x2005.gmd.LocalisedCharacterStringType)get_store().find_element_user(LOCALISEDCHARACTERSTRING$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "LocalisedCharacterString" element
     */
    public void setLocalisedCharacterString(org.isotc211.x2005.gmd.LocalisedCharacterStringType localisedCharacterString)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isotc211.x2005.gmd.LocalisedCharacterStringType target = null;
            target = (org.isotc211.x2005.gmd.LocalisedCharacterStringType)get_store().find_element_user(LOCALISEDCHARACTERSTRING$0, 0);
            if (target == null)
            {
                target = (org.isotc211.x2005.gmd.LocalisedCharacterStringType)get_store().add_element_user(LOCALISEDCHARACTERSTRING$0);
            }
            target.set(localisedCharacterString);
        }
    }
    
    /**
     * Appends and returns a new empty "LocalisedCharacterString" element
     */
    public org.isotc211.x2005.gmd.LocalisedCharacterStringType addNewLocalisedCharacterString()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isotc211.x2005.gmd.LocalisedCharacterStringType target = null;
            target = (org.isotc211.x2005.gmd.LocalisedCharacterStringType)get_store().add_element_user(LOCALISEDCHARACTERSTRING$0);
            return target;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy