导航菜单

页面标题

页面副标题

Releam v2.13.2 - OCSPRefsTypeImpl.java 源代码

正在查看: Releam v2.13.2 应用的 OCSPRefsTypeImpl.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package org.etsi.uri.x01903.v13.impl;

import java.util.ArrayList;
import java.util.List;
import javax.xml.namespace.QName;
import org.apache.xmlbeans.SchemaType;
import org.apache.xmlbeans.impl.values.XmlComplexContentImpl;
import org.etsi.uri.x01903.v13.OCSPRefType;
import org.etsi.uri.x01903.v13.OCSPRefsType;

public class OCSPRefsTypeImpl extends XmlComplexContentImpl implements OCSPRefsType {
    private static final QName OCSPREF$0 = new QName("http://uri.etsi.org/01903/v1.3.2#", "OCSPRef");

    public OCSPRefsTypeImpl(SchemaType schemaType) {
        super(schemaType);
    }

    @Override
    public OCSPRefType addNewOCSPRef() {
        OCSPRefType oCSPRefType;
        synchronized (monitor()) {
            check_orphaned();
            oCSPRefType = (OCSPRefType) get_store().add_element_user(OCSPREF$0);
        }
        return oCSPRefType;
    }

    @Override
    public OCSPRefType getOCSPRefArray(int i) {
        OCSPRefType oCSPRefType;
        synchronized (monitor()) {
            check_orphaned();
            oCSPRefType = (OCSPRefType) get_store().find_element_user(OCSPREF$0, i);
            if (oCSPRefType == null) {
                throw new IndexOutOfBoundsException();
            }
        }
        return oCSPRefType;
    }

    @Override
    public List<OCSPRefType> getOCSPRefList() {
        1OCSPRefList r1;
        synchronized (monitor()) {
            check_orphaned();
            r1 = new 1OCSPRefList(this);
        }
        return r1;
    }

    @Override
    public OCSPRefType insertNewOCSPRef(int i) {
        OCSPRefType oCSPRefType;
        synchronized (monitor()) {
            check_orphaned();
            oCSPRefType = (OCSPRefType) get_store().insert_element_user(OCSPREF$0, i);
        }
        return oCSPRefType;
    }

    @Override
    public void removeOCSPRef(int i) {
        synchronized (monitor()) {
            check_orphaned();
            get_store().remove_element(OCSPREF$0, i);
        }
    }

    @Override
    public void setOCSPRefArray(int i, OCSPRefType oCSPRefType) {
        synchronized (monitor()) {
            check_orphaned();
            OCSPRefType oCSPRefType2 = (OCSPRefType) get_store().find_element_user(OCSPREF$0, i);
            if (oCSPRefType2 == null) {
                throw new IndexOutOfBoundsException();
            }
            oCSPRefType2.set(oCSPRefType);
        }
    }

    @Override
    public int sizeOfOCSPRefArray() {
        int count_elements;
        synchronized (monitor()) {
            check_orphaned();
            count_elements = get_store().count_elements(OCSPREF$0);
        }
        return count_elements;
    }

    @Override
    public OCSPRefType[] getOCSPRefArray() {
        OCSPRefType[] oCSPRefTypeArr;
        synchronized (monitor()) {
            check_orphaned();
            ArrayList arrayList = new ArrayList();
            get_store().find_all_element_users(OCSPREF$0, arrayList);
            oCSPRefTypeArr = new OCSPRefType[arrayList.size()];
            arrayList.toArray(oCSPRefTypeArr);
        }
        return oCSPRefTypeArr;
    }

    @Override
    public void setOCSPRefArray(OCSPRefType[] oCSPRefTypeArr) {
        synchronized (monitor()) {
            check_orphaned();
            arraySetterHelper(oCSPRefTypeArr, OCSPREF$0);
        }
    }
}