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

org.etsi.uri.x01903.v13.impl.UnsignedDataObjectPropertiesTypeImpl Maven / Gradle / Ivy

Go to download

XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used): https://www.ecma-international.org/publications/standards/Ecma-376.htm

There is a newer version: 5.2.5
Show newest version
/*
 * XML Type:  UnsignedDataObjectPropertiesType
 * Namespace: http://uri.etsi.org/01903/v1.3.2#
 * Java type: org.etsi.uri.x01903.v13.UnsignedDataObjectPropertiesType
 *
 * Automatically generated - do not modify.
 */
package org.etsi.uri.x01903.v13.impl;
/**
 * An XML UnsignedDataObjectPropertiesType(@http://uri.etsi.org/01903/v1.3.2#).
 *
 * This is a complex type.
 */
public class UnsignedDataObjectPropertiesTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.etsi.uri.x01903.v13.UnsignedDataObjectPropertiesType {
    private static final long serialVersionUID = 1L;
    
    public UnsignedDataObjectPropertiesTypeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName UNSIGNEDDATAOBJECTPROPERTY$0 = 
        new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "UnsignedDataObjectProperty");
    private static final javax.xml.namespace.QName ID$2 = 
        new javax.xml.namespace.QName("", "Id");
    
    
    /**
     * Gets a List of "UnsignedDataObjectProperty" elements
     */
    public java.util.List getUnsignedDataObjectPropertyList() {
        final class UnsignedDataObjectPropertyList extends java.util.AbstractList {
            @Override
            public org.etsi.uri.x01903.v13.AnyType get(int i)
                { return UnsignedDataObjectPropertiesTypeImpl.this.getUnsignedDataObjectPropertyArray(i); }
            
            @Override
            public org.etsi.uri.x01903.v13.AnyType set(int i, org.etsi.uri.x01903.v13.AnyType o) {
                org.etsi.uri.x01903.v13.AnyType old = UnsignedDataObjectPropertiesTypeImpl.this.getUnsignedDataObjectPropertyArray(i);
                UnsignedDataObjectPropertiesTypeImpl.this.setUnsignedDataObjectPropertyArray(i, o);
                return old;
            }
            
            @Override
            public void add(int i, org.etsi.uri.x01903.v13.AnyType o)
                { UnsignedDataObjectPropertiesTypeImpl.this.insertNewUnsignedDataObjectProperty(i).set(o); }
            
            @Override
            public org.etsi.uri.x01903.v13.AnyType remove(int i) {
                org.etsi.uri.x01903.v13.AnyType old = UnsignedDataObjectPropertiesTypeImpl.this.getUnsignedDataObjectPropertyArray(i);
                UnsignedDataObjectPropertiesTypeImpl.this.removeUnsignedDataObjectProperty(i);
                return old;
            }
            
            @Override
            public int size()
                { return UnsignedDataObjectPropertiesTypeImpl.this.sizeOfUnsignedDataObjectPropertyArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new UnsignedDataObjectPropertyList();
        }
    }
    
    /**
     * Gets array of all "UnsignedDataObjectProperty" elements
     */
    public org.etsi.uri.x01903.v13.AnyType[] getUnsignedDataObjectPropertyArray() {
        return getXmlObjectArray(UNSIGNEDDATAOBJECTPROPERTY$0, new org.etsi.uri.x01903.v13.AnyType[0]);
    }
    
    /**
     * Gets ith "UnsignedDataObjectProperty" element
     */
    public org.etsi.uri.x01903.v13.AnyType getUnsignedDataObjectPropertyArray(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.AnyType target = null;
            target = (org.etsi.uri.x01903.v13.AnyType)get_store().find_element_user(UNSIGNEDDATAOBJECTPROPERTY$0, i);
            if (target == null) {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "UnsignedDataObjectProperty" element
     */
    public int sizeOfUnsignedDataObjectPropertyArray() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(UNSIGNEDDATAOBJECTPROPERTY$0);
        }
    }
    
    /**
     * Sets array of all "UnsignedDataObjectProperty" element  WARNING: This method is not atomicaly synchronized.
     */
    public void setUnsignedDataObjectPropertyArray(org.etsi.uri.x01903.v13.AnyType[] unsignedDataObjectPropertyArray) {
        check_orphaned();
        arraySetterHelper(unsignedDataObjectPropertyArray, UNSIGNEDDATAOBJECTPROPERTY$0);
    }
    
    /**
     * Sets ith "UnsignedDataObjectProperty" element
     */
    public void setUnsignedDataObjectPropertyArray(int i, org.etsi.uri.x01903.v13.AnyType unsignedDataObjectProperty) {
        generatedSetterHelperImpl(unsignedDataObjectProperty, UNSIGNEDDATAOBJECTPROPERTY$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "UnsignedDataObjectProperty" element
     */
    public org.etsi.uri.x01903.v13.AnyType insertNewUnsignedDataObjectProperty(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.AnyType target = null;
            target = (org.etsi.uri.x01903.v13.AnyType)get_store().insert_element_user(UNSIGNEDDATAOBJECTPROPERTY$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "UnsignedDataObjectProperty" element
     */
    public org.etsi.uri.x01903.v13.AnyType addNewUnsignedDataObjectProperty() {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.AnyType target = null;
            target = (org.etsi.uri.x01903.v13.AnyType)get_store().add_element_user(UNSIGNEDDATAOBJECTPROPERTY$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "UnsignedDataObjectProperty" element
     */
    public void removeUnsignedDataObjectProperty(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(UNSIGNEDDATAOBJECTPROPERTY$0, i);
        }
    }
    
    /**
     * Gets the "Id" attribute
     */
    public java.lang.String getId() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
            if (target == null) {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "Id" attribute
     */
    public org.apache.xmlbeans.XmlID xgetId() {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlID target = null;
            target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$2);
            return target;
        }
    }
    
    /**
     * True if has "Id" attribute
     */
    public boolean isSetId() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().find_attribute_user(ID$2) != null;
        }
    }
    
    /**
     * Sets the "Id" attribute
     */
    public void setId(java.lang.String id) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$2);
            if (target == null) {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$2);
            }
            target.setStringValue(id);
        }
    }
    
    /**
     * Sets (as xml) the "Id" attribute
     */
    public void xsetId(org.apache.xmlbeans.XmlID id) {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.XmlID target = null;
            target = (org.apache.xmlbeans.XmlID)get_store().find_attribute_user(ID$2);
            if (target == null) {
                target = (org.apache.xmlbeans.XmlID)get_store().add_attribute_user(ID$2);
            }
            target.set(id);
        }
    }
    
    /**
     * Unsets the "Id" attribute
     */
    public void unsetId() {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_attribute(ID$2);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy