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

org.etsi.uri.x01903.v13.impl.OtherCertStatusValuesTypeImpl 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:  OtherCertStatusValuesType
 * Namespace: http://uri.etsi.org/01903/v1.3.2#
 * Java type: org.etsi.uri.x01903.v13.OtherCertStatusValuesType
 *
 * Automatically generated - do not modify.
 */
package org.etsi.uri.x01903.v13.impl;
/**
 * An XML OtherCertStatusValuesType(@http://uri.etsi.org/01903/v1.3.2#).
 *
 * This is a complex type.
 */
public class OtherCertStatusValuesTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.etsi.uri.x01903.v13.OtherCertStatusValuesType {
    private static final long serialVersionUID = 1L;
    
    public OtherCertStatusValuesTypeImpl(org.apache.xmlbeans.SchemaType sType) {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName OTHERVALUE$0 = 
        new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "OtherValue");
    
    
    /**
     * Gets a List of "OtherValue" elements
     */
    public java.util.List getOtherValueList() {
        final class OtherValueList extends java.util.AbstractList {
            @Override
            public org.etsi.uri.x01903.v13.AnyType get(int i)
                { return OtherCertStatusValuesTypeImpl.this.getOtherValueArray(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 = OtherCertStatusValuesTypeImpl.this.getOtherValueArray(i);
                OtherCertStatusValuesTypeImpl.this.setOtherValueArray(i, o);
                return old;
            }
            
            @Override
            public void add(int i, org.etsi.uri.x01903.v13.AnyType o)
                { OtherCertStatusValuesTypeImpl.this.insertNewOtherValue(i).set(o); }
            
            @Override
            public org.etsi.uri.x01903.v13.AnyType remove(int i) {
                org.etsi.uri.x01903.v13.AnyType old = OtherCertStatusValuesTypeImpl.this.getOtherValueArray(i);
                OtherCertStatusValuesTypeImpl.this.removeOtherValue(i);
                return old;
            }
            
            @Override
            public int size()
                { return OtherCertStatusValuesTypeImpl.this.sizeOfOtherValueArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new OtherValueList();
        }
    }
    
    /**
     * Gets array of all "OtherValue" elements
     */
    public org.etsi.uri.x01903.v13.AnyType[] getOtherValueArray() {
        return getXmlObjectArray(OTHERVALUE$0, new org.etsi.uri.x01903.v13.AnyType[0]);
    }
    
    /**
     * Gets ith "OtherValue" element
     */
    public org.etsi.uri.x01903.v13.AnyType getOtherValueArray(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(OTHERVALUE$0, i);
            if (target == null) {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "OtherValue" element
     */
    public int sizeOfOtherValueArray() {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(OTHERVALUE$0);
        }
    }
    
    /**
     * Sets array of all "OtherValue" element  WARNING: This method is not atomicaly synchronized.
     */
    public void setOtherValueArray(org.etsi.uri.x01903.v13.AnyType[] otherValueArray) {
        check_orphaned();
        arraySetterHelper(otherValueArray, OTHERVALUE$0);
    }
    
    /**
     * Sets ith "OtherValue" element
     */
    public void setOtherValueArray(int i, org.etsi.uri.x01903.v13.AnyType otherValue) {
        generatedSetterHelperImpl(otherValue, OTHERVALUE$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "OtherValue" element
     */
    public org.etsi.uri.x01903.v13.AnyType insertNewOtherValue(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(OTHERVALUE$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "OtherValue" element
     */
    public org.etsi.uri.x01903.v13.AnyType addNewOtherValue() {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.AnyType target = null;
            target = (org.etsi.uri.x01903.v13.AnyType)get_store().add_element_user(OTHERVALUE$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "OtherValue" element
     */
    public void removeOtherValue(int i) {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(OTHERVALUE$0, i);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy