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

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

Go to download

XmlBeans generated from various supplied xsds for encryption and signing: http://msdn.microsoft.com/en-us/library/dd925810(v=office.12).aspx http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%201st%20edition%20Part%202%20(PDF).zip http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd http://uri.etsi.org/01903/v1.3.2/XAdES.xsd http://uri.etsi.org/01903/v1.4.1/XAdESv141.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcterms.xsd http://dublincore.org/schemas/xmls/qdc/2003/04/02/dcmitype.xsd

The newest version!
/*
 * XML Type:  OtherTimeStampType
 * Namespace: http://uri.etsi.org/01903/v1.3.2#
 * Java type: org.etsi.uri.x01903.v13.OtherTimeStampType
 *
 * Automatically generated - do not modify.
 */
package org.etsi.uri.x01903.v13.impl;
/**
 * An XML OtherTimeStampType(@http://uri.etsi.org/01903/v1.3.2#).
 *
 * This is a complex type.
 */
public class OtherTimeStampTypeImpl extends org.etsi.uri.x01903.v13.impl.GenericTimeStampTypeImpl implements org.etsi.uri.x01903.v13.OtherTimeStampType
{
    
    public OtherTimeStampTypeImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName REFERENCEINFO$0 = 
        new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "ReferenceInfo");
    private static final javax.xml.namespace.QName ENCAPSULATEDTIMESTAMP$2 = 
        new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "EncapsulatedTimeStamp");
    private static final javax.xml.namespace.QName XMLTIMESTAMP$4 = 
        new javax.xml.namespace.QName("http://uri.etsi.org/01903/v1.3.2#", "XMLTimeStamp");
    
    
    /**
     * Gets a List of "ReferenceInfo" elements
     */
    public java.util.List getReferenceInfoList()
    {
        final class ReferenceInfoList extends java.util.AbstractList
        {
            public org.etsi.uri.x01903.v13.ReferenceInfoType get(int i)
                { return OtherTimeStampTypeImpl.this.getReferenceInfoArray(i); }
            
            public org.etsi.uri.x01903.v13.ReferenceInfoType set(int i, org.etsi.uri.x01903.v13.ReferenceInfoType o)
            {
                org.etsi.uri.x01903.v13.ReferenceInfoType old = OtherTimeStampTypeImpl.this.getReferenceInfoArray(i);
                OtherTimeStampTypeImpl.this.setReferenceInfoArray(i, o);
                return old;
            }
            
            public void add(int i, org.etsi.uri.x01903.v13.ReferenceInfoType o)
                { OtherTimeStampTypeImpl.this.insertNewReferenceInfo(i).set(o); }
            
            public org.etsi.uri.x01903.v13.ReferenceInfoType remove(int i)
            {
                org.etsi.uri.x01903.v13.ReferenceInfoType old = OtherTimeStampTypeImpl.this.getReferenceInfoArray(i);
                OtherTimeStampTypeImpl.this.removeReferenceInfo(i);
                return old;
            }
            
            public int size()
                { return OtherTimeStampTypeImpl.this.sizeOfReferenceInfoArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new ReferenceInfoList();
        }
    }
    
    /**
     * Gets array of all "ReferenceInfo" elements
     */
    public org.etsi.uri.x01903.v13.ReferenceInfoType[] getReferenceInfoArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(REFERENCEINFO$0, targetList);
            org.etsi.uri.x01903.v13.ReferenceInfoType[] result = new org.etsi.uri.x01903.v13.ReferenceInfoType[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "ReferenceInfo" element
     */
    public org.etsi.uri.x01903.v13.ReferenceInfoType getReferenceInfoArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.ReferenceInfoType target = null;
            target = (org.etsi.uri.x01903.v13.ReferenceInfoType)get_store().find_element_user(REFERENCEINFO$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "ReferenceInfo" element
     */
    public int sizeOfReferenceInfoArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(REFERENCEINFO$0);
        }
    }
    
    /**
     * Sets array of all "ReferenceInfo" element
     */
    public void setReferenceInfoArray(org.etsi.uri.x01903.v13.ReferenceInfoType[] referenceInfoArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(referenceInfoArray, REFERENCEINFO$0);
        }
    }
    
    /**
     * Sets ith "ReferenceInfo" element
     */
    public void setReferenceInfoArray(int i, org.etsi.uri.x01903.v13.ReferenceInfoType referenceInfo)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.ReferenceInfoType target = null;
            target = (org.etsi.uri.x01903.v13.ReferenceInfoType)get_store().find_element_user(REFERENCEINFO$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(referenceInfo);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "ReferenceInfo" element
     */
    public org.etsi.uri.x01903.v13.ReferenceInfoType insertNewReferenceInfo(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.ReferenceInfoType target = null;
            target = (org.etsi.uri.x01903.v13.ReferenceInfoType)get_store().insert_element_user(REFERENCEINFO$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "ReferenceInfo" element
     */
    public org.etsi.uri.x01903.v13.ReferenceInfoType addNewReferenceInfo()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.ReferenceInfoType target = null;
            target = (org.etsi.uri.x01903.v13.ReferenceInfoType)get_store().add_element_user(REFERENCEINFO$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "ReferenceInfo" element
     */
    public void removeReferenceInfo(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(REFERENCEINFO$0, i);
        }
    }
    
    /**
     * Gets a List of "EncapsulatedTimeStamp" elements
     */
    public java.util.List getEncapsulatedTimeStampList()
    {
        final class EncapsulatedTimeStampList extends java.util.AbstractList
        {
            public org.etsi.uri.x01903.v13.EncapsulatedPKIDataType get(int i)
                { return OtherTimeStampTypeImpl.this.getEncapsulatedTimeStampArray(i); }
            
            public org.etsi.uri.x01903.v13.EncapsulatedPKIDataType set(int i, org.etsi.uri.x01903.v13.EncapsulatedPKIDataType o)
            {
                org.etsi.uri.x01903.v13.EncapsulatedPKIDataType old = OtherTimeStampTypeImpl.this.getEncapsulatedTimeStampArray(i);
                OtherTimeStampTypeImpl.this.setEncapsulatedTimeStampArray(i, o);
                return old;
            }
            
            public void add(int i, org.etsi.uri.x01903.v13.EncapsulatedPKIDataType o)
                { OtherTimeStampTypeImpl.this.insertNewEncapsulatedTimeStamp(i).set(o); }
            
            public org.etsi.uri.x01903.v13.EncapsulatedPKIDataType remove(int i)
            {
                org.etsi.uri.x01903.v13.EncapsulatedPKIDataType old = OtherTimeStampTypeImpl.this.getEncapsulatedTimeStampArray(i);
                OtherTimeStampTypeImpl.this.removeEncapsulatedTimeStamp(i);
                return old;
            }
            
            public int size()
                { return OtherTimeStampTypeImpl.this.sizeOfEncapsulatedTimeStampArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new EncapsulatedTimeStampList();
        }
    }
    
    /**
     * Gets array of all "EncapsulatedTimeStamp" elements
     */
    public org.etsi.uri.x01903.v13.EncapsulatedPKIDataType[] getEncapsulatedTimeStampArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(ENCAPSULATEDTIMESTAMP$2, targetList);
            org.etsi.uri.x01903.v13.EncapsulatedPKIDataType[] result = new org.etsi.uri.x01903.v13.EncapsulatedPKIDataType[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "EncapsulatedTimeStamp" element
     */
    public org.etsi.uri.x01903.v13.EncapsulatedPKIDataType getEncapsulatedTimeStampArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.EncapsulatedPKIDataType target = null;
            target = (org.etsi.uri.x01903.v13.EncapsulatedPKIDataType)get_store().find_element_user(ENCAPSULATEDTIMESTAMP$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "EncapsulatedTimeStamp" element
     */
    public int sizeOfEncapsulatedTimeStampArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(ENCAPSULATEDTIMESTAMP$2);
        }
    }
    
    /**
     * Sets array of all "EncapsulatedTimeStamp" element
     */
    public void setEncapsulatedTimeStampArray(org.etsi.uri.x01903.v13.EncapsulatedPKIDataType[] encapsulatedTimeStampArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(encapsulatedTimeStampArray, ENCAPSULATEDTIMESTAMP$2);
        }
    }
    
    /**
     * Sets ith "EncapsulatedTimeStamp" element
     */
    public void setEncapsulatedTimeStampArray(int i, org.etsi.uri.x01903.v13.EncapsulatedPKIDataType encapsulatedTimeStamp)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.EncapsulatedPKIDataType target = null;
            target = (org.etsi.uri.x01903.v13.EncapsulatedPKIDataType)get_store().find_element_user(ENCAPSULATEDTIMESTAMP$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(encapsulatedTimeStamp);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "EncapsulatedTimeStamp" element
     */
    public org.etsi.uri.x01903.v13.EncapsulatedPKIDataType insertNewEncapsulatedTimeStamp(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.EncapsulatedPKIDataType target = null;
            target = (org.etsi.uri.x01903.v13.EncapsulatedPKIDataType)get_store().insert_element_user(ENCAPSULATEDTIMESTAMP$2, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "EncapsulatedTimeStamp" element
     */
    public org.etsi.uri.x01903.v13.EncapsulatedPKIDataType addNewEncapsulatedTimeStamp()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.EncapsulatedPKIDataType target = null;
            target = (org.etsi.uri.x01903.v13.EncapsulatedPKIDataType)get_store().add_element_user(ENCAPSULATEDTIMESTAMP$2);
            return target;
        }
    }
    
    /**
     * Removes the ith "EncapsulatedTimeStamp" element
     */
    public void removeEncapsulatedTimeStamp(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(ENCAPSULATEDTIMESTAMP$2, i);
        }
    }
    
    /**
     * Gets a List of "XMLTimeStamp" elements
     */
    public java.util.List getXMLTimeStampList()
    {
        final class XMLTimeStampList extends java.util.AbstractList
        {
            public org.etsi.uri.x01903.v13.AnyType get(int i)
                { return OtherTimeStampTypeImpl.this.getXMLTimeStampArray(i); }
            
            public org.etsi.uri.x01903.v13.AnyType set(int i, org.etsi.uri.x01903.v13.AnyType o)
            {
                org.etsi.uri.x01903.v13.AnyType old = OtherTimeStampTypeImpl.this.getXMLTimeStampArray(i);
                OtherTimeStampTypeImpl.this.setXMLTimeStampArray(i, o);
                return old;
            }
            
            public void add(int i, org.etsi.uri.x01903.v13.AnyType o)
                { OtherTimeStampTypeImpl.this.insertNewXMLTimeStamp(i).set(o); }
            
            public org.etsi.uri.x01903.v13.AnyType remove(int i)
            {
                org.etsi.uri.x01903.v13.AnyType old = OtherTimeStampTypeImpl.this.getXMLTimeStampArray(i);
                OtherTimeStampTypeImpl.this.removeXMLTimeStamp(i);
                return old;
            }
            
            public int size()
                { return OtherTimeStampTypeImpl.this.sizeOfXMLTimeStampArray(); }
            
        }
        
        synchronized (monitor())
        {
            check_orphaned();
            return new XMLTimeStampList();
        }
    }
    
    /**
     * Gets array of all "XMLTimeStamp" elements
     */
    public org.etsi.uri.x01903.v13.AnyType[] getXMLTimeStampArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(XMLTIMESTAMP$4, targetList);
            org.etsi.uri.x01903.v13.AnyType[] result = new org.etsi.uri.x01903.v13.AnyType[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "XMLTimeStamp" element
     */
    public org.etsi.uri.x01903.v13.AnyType getXMLTimeStampArray(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(XMLTIMESTAMP$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "XMLTimeStamp" element
     */
    public int sizeOfXMLTimeStampArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(XMLTIMESTAMP$4);
        }
    }
    
    /**
     * Sets array of all "XMLTimeStamp" element
     */
    public void setXMLTimeStampArray(org.etsi.uri.x01903.v13.AnyType[] xmlTimeStampArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(xmlTimeStampArray, XMLTIMESTAMP$4);
        }
    }
    
    /**
     * Sets ith "XMLTimeStamp" element
     */
    public void setXMLTimeStampArray(int i, org.etsi.uri.x01903.v13.AnyType xmlTimeStamp)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.AnyType target = null;
            target = (org.etsi.uri.x01903.v13.AnyType)get_store().find_element_user(XMLTIMESTAMP$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(xmlTimeStamp);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "XMLTimeStamp" element
     */
    public org.etsi.uri.x01903.v13.AnyType insertNewXMLTimeStamp(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(XMLTIMESTAMP$4, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "XMLTimeStamp" element
     */
    public org.etsi.uri.x01903.v13.AnyType addNewXMLTimeStamp()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.etsi.uri.x01903.v13.AnyType target = null;
            target = (org.etsi.uri.x01903.v13.AnyType)get_store().add_element_user(XMLTIMESTAMP$4);
            return target;
        }
    }
    
    /**
     * Removes the ith "XMLTimeStamp" element
     */
    public void removeXMLTimeStamp(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(XMLTIMESTAMP$4, i);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy