public class XmlAlternateIdentifiers extends Object implements Serializable
| Constructor and Description |
|---|
XmlAlternateIdentifiers()
Default constructor.
|
public void addAlternateIdentifier(XmlAlternateIdentifier alternateIdentifier) throws IndexOutOfBoundsException
alternateIdentifier - the XmlAlternateIdentifier to add.IndexOutOfBoundsException - if the index given is outside the bounds of the collection.public void addAlternateIdentifier(int index,
XmlAlternateIdentifier alternateIdentifier)
throws IndexOutOfBoundsException
index - the position to insert the XmlAlternateIdentifier.alternateIdentifier - the XmlAlternateIdentifier to add.IndexOutOfBoundsException - if the index given is outside the bounds of the collectionpublic Iterator<? extends XmlAlternateIdentifier> enumerateAlternateIdentifier()
Iterator of all XmlAlternateIdentifier.XmlAlternateIdentifier elements.public XmlAlternateIdentifier getAlternateIdentifier(int index) throws IndexOutOfBoundsException
XmlAlternateIdentifier at the specified position in
the List.index - the position of the searched XmlAlternateIdentifier.XmlAlternateIdentifier at the given
indexIndexOutOfBoundsException - if the index given is outside the bounds of the collectionpublic XmlAlternateIdentifier[] getAlternateIdentifier()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getAlternateIdentifierCount()
XmlAlternateIdentifier.public void removeAllAlternateIdentifier()
XmlAlternateIdentifier in the List.public boolean removeAlternateIdentifier(XmlAlternateIdentifier alternateIdentifier)
XmlAlternateIdentifier.alternateIdentifier - the XmlAlternateIdentifier to remove.public XmlAlternateIdentifier removeAlternateIdentifierAt(int index)
XmlAlternateIdentifier at the specified position.index - the position of the XmlAlternateIdentifier to remove.public void setAlternateIdentifier(int index,
XmlAlternateIdentifier alternateIdentifier)
throws IndexOutOfBoundsException
XmlAlternateIdentifier at the specified position of the
List.index - the position to set the XmlAlternateIdentifier.alternateIdentifier - the XmlAlternateIdentifier to set.IndexOutOfBoundsException - if the index given is outside the bounds of the collectionpublic void setAlternateIdentifier(XmlAlternateIdentifier[] alternateIdentifierArray)
XmlAlternateIdentifier to the List.alternateIdentifierArray - Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.