edu.mssm.crover.webapps.dimlib.datamodel
Class LiteratureReferencesImpl

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.datamodel.LiteratureReferencesImpl
All Implemented Interfaces:
LiteratureReferences

public class LiteratureReferencesImpl
extends java.lang.Object
implements LiteratureReferences

Implements a set of references. Typically owned by a sigpath entity. The references in the set will then point to description of the entity in the literature.


Constructor Summary
LiteratureReferencesImpl()
           
 
Method Summary
 void addReference(LiteratureReference newref)
          Add a reference to this set.
 LiteratureReference getFirstRef()
          Returns the first reference, after all the references have been sorted.
 java.util.Iterator iterator()
          Returns an iterator through the set of references.
 boolean removeReference(LiteratureReference ref)
          Remove a reference from this set.
 java.util.Collection sort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteratureReferencesImpl

public LiteratureReferencesImpl()
Method Detail

removeReference

public boolean removeReference(LiteratureReference ref)
Description copied from interface: LiteratureReferences
Remove a reference from this set.

Specified by:
removeReference in interface LiteratureReferences

addReference

public void addReference(LiteratureReference newref)
Description copied from interface: LiteratureReferences
Add a reference to this set.

Specified by:
addReference in interface LiteratureReferences

iterator

public java.util.Iterator iterator()
Description copied from interface: LiteratureReferences
Returns an iterator through the set of references.

Specified by:
iterator in interface LiteratureReferences
Returns:
An iterator among LiteratureReference instances contained in this set.

sort

public java.util.Collection sort()
Specified by:
sort in interface LiteratureReferences

getFirstRef

public LiteratureReference getFirstRef()
Description copied from interface: LiteratureReferences
Returns the first reference, after all the references have been sorted.

Specified by:
getFirstRef in interface LiteratureReferences


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.