org.LexGrid.LexBIG.DataModel.InterfaceElements
Class SystemReleaseDetail

java.lang.Object
  extended by org.LexGrid.LexBIG.DataModel.InterfaceElements.SystemReleaseDetail
All Implemented Interfaces:
java.io.Serializable

public class SystemReleaseDetail
extends java.lang.Object
implements java.io.Serializable

The combination of a system release and all of the entityVersions that accompanied that release.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
SystemReleaseDetail()
           
 
Method Summary
 void addEntityVersions(EntityVersion vEntityVersions)
           
 void addEntityVersions(int index, EntityVersion vEntityVersions)
           
 java.util.Enumeration<EntityVersion> enumerateEntityVersions()
          Method enumerateEntityVersions.
 EntityVersion[] getEntityVersions()
          Method getEntityVersions.Returns the contents of the collection in an Array.
 EntityVersion getEntityVersions(int index)
          Method getEntityVersions.
 int getEntityVersionsCount()
          Method getEntityVersionsCount.
 java.util.Iterator<EntityVersion> iterateEntityVersions()
          Method iterateEntityVersions.
 void removeAllEntityVersions()
           
 boolean removeEntityVersions(EntityVersion vEntityVersions)
          Method removeEntityVersions.
 EntityVersion removeEntityVersionsAt(int index)
          Method removeEntityVersionsAt.
 void setEntityVersions(EntityVersion[] vEntityVersionsArray)
           
 void setEntityVersions(int index, EntityVersion vEntityVersions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemReleaseDetail

public SystemReleaseDetail()
Method Detail

addEntityVersions

public void addEntityVersions(EntityVersion vEntityVersions)
                       throws java.lang.IndexOutOfBoundsException
Parameters:
vEntityVersions -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

addEntityVersions

public void addEntityVersions(int index,
                              EntityVersion vEntityVersions)
                       throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vEntityVersions -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

enumerateEntityVersions

public java.util.Enumeration<EntityVersion> enumerateEntityVersions()
Method enumerateEntityVersions.

Returns:
an Enumeration over all possible elements of this collection

getEntityVersions

public EntityVersion getEntityVersions(int index)
                                throws java.lang.IndexOutOfBoundsException
Method getEntityVersions.

Parameters:
index -
Returns:
the value of the org.LexGrid.versions.EntityVersion at the given index
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

getEntityVersions

public EntityVersion[] getEntityVersions()
Method getEntityVersions.Returns the contents of the collection in an Array.

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.

Returns:
this collection as an Array

getEntityVersionsCount

public int getEntityVersionsCount()
Method getEntityVersionsCount.

Returns:
the size of this collection

iterateEntityVersions

public java.util.Iterator<EntityVersion> iterateEntityVersions()
Method iterateEntityVersions.

Returns:
an Iterator over all possible elements in this collection

removeAllEntityVersions

public void removeAllEntityVersions()

removeEntityVersions

public boolean removeEntityVersions(EntityVersion vEntityVersions)
Method removeEntityVersions.

Parameters:
vEntityVersions -
Returns:
true if the object was removed from the collection.

removeEntityVersionsAt

public EntityVersion removeEntityVersionsAt(int index)
Method removeEntityVersionsAt.

Parameters:
index -
Returns:
the element removed from the collection

setEntityVersions

public void setEntityVersions(int index,
                              EntityVersion vEntityVersions)
                       throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vEntityVersions -
Throws:
java.lang.IndexOutOfBoundsException - if the index given is outside the bounds of the collection

setEntityVersions

public void setEntityVersions(EntityVersion[] vEntityVersionsArray)
Parameters:
vEntityVersionsArray -

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.