edu.mssm.crover.webapps.dimlib.datamodel
Interface LiteratureReferences

All Known Implementing Classes:
LiteratureReferencesImpl

public interface LiteratureReferences

Represents 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. This class encapsulates all modifications to the set of references such that modifications to add back references (from references to the entities they describe, for instance) can be made here.

Version:
$Revision: 1.2 $
Author:
Fabien Campagne, luce

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()
           
 

Method Detail

addReference

public void addReference(LiteratureReference newref)
Add a reference to this set.


removeReference

public boolean removeReference(LiteratureReference ref)
Remove a reference from this set.


iterator

public java.util.Iterator iterator()
Returns an iterator through the set of references.

Returns:
An iterator among LiteratureReference instances contained in this set.

sort

public java.util.Collection sort()

getFirstRef

public LiteratureReference getFirstRef()
Returns the first reference, after all the references have been sorted.



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