
org.nbnResolving.pidef.impl.InstitutionArrayImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pidef Show documentation
Show all versions of pidef Show documentation
Java classes (generated with XML-Beans) for Persistent Identifier Data Exchange Format (pidef) processing.
See the official URN:NBN Resolver http://nbn-resolving.org or http://persid.org
The newest version!
/*
* XML Type: institutionArray
* Namespace: http://nbn-resolving.org/pidef
* Java type: org.nbnResolving.pidef.InstitutionArray
*
* Automatically generated - do not modify.
*/
package org.nbnResolving.pidef.impl;
/**
* An XML institutionArray(@http://nbn-resolving.org/pidef).
*
* This is a complex type.
*/
public class InstitutionArrayImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.nbnResolving.pidef.InstitutionArray
{
private static final long serialVersionUID = 1L;
public InstitutionArrayImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName INSTITUTION$0 =
new javax.xml.namespace.QName("http://nbn-resolving.org/pidef", "institution");
/**
* Gets array of all "institution" elements
*/
public org.nbnResolving.pidef.InstitutionType[] getInstitutionArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(INSTITUTION$0, targetList);
org.nbnResolving.pidef.InstitutionType[] result = new org.nbnResolving.pidef.InstitutionType[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "institution" element
*/
public org.nbnResolving.pidef.InstitutionType getInstitutionArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.nbnResolving.pidef.InstitutionType target = null;
target = (org.nbnResolving.pidef.InstitutionType)get_store().find_element_user(INSTITUTION$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "institution" element
*/
public int sizeOfInstitutionArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(INSTITUTION$0);
}
}
/**
* Sets array of all "institution" element
*/
public void setInstitutionArray(org.nbnResolving.pidef.InstitutionType[] institutionArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(institutionArray, INSTITUTION$0);
}
}
/**
* Sets ith "institution" element
*/
public void setInstitutionArray(int i, org.nbnResolving.pidef.InstitutionType institution)
{
synchronized (monitor())
{
check_orphaned();
org.nbnResolving.pidef.InstitutionType target = null;
target = (org.nbnResolving.pidef.InstitutionType)get_store().find_element_user(INSTITUTION$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(institution);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "institution" element
*/
public org.nbnResolving.pidef.InstitutionType insertNewInstitution(int i)
{
synchronized (monitor())
{
check_orphaned();
org.nbnResolving.pidef.InstitutionType target = null;
target = (org.nbnResolving.pidef.InstitutionType)get_store().insert_element_user(INSTITUTION$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "institution" element
*/
public org.nbnResolving.pidef.InstitutionType addNewInstitution()
{
synchronized (monitor())
{
check_orphaned();
org.nbnResolving.pidef.InstitutionType target = null;
target = (org.nbnResolving.pidef.InstitutionType)get_store().add_element_user(INSTITUTION$0);
return target;
}
}
/**
* Removes the ith "institution" element
*/
public void removeInstitution(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(INSTITUTION$0, i);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy