cds.simbad
Class JournalList
java.lang.Object
cds.simbad.JournalList
- public class JournalList
- extends java.lang.Object
Manages the list of journals. Only one object of this class can exist and
is available through the getJournalList method().
- Version:
- 1.0 Apr 2003
- Author:
- Marc Wenger/CDS
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOURNAL_NUMBER
private static final int JOURNAL_NUMBER
- See Also:
- Constant Field Values
JOURNAL_PRM_NAME
private static final java.lang.String JOURNAL_PRM_NAME
- See Also:
- Constant Field Values
journals
private java.util.HashMap journals
journalListInstance
private static JournalList journalListInstance
JournalList
private JournalList()
- Constructor. Builds the journal list from the journals parameters set.
The journals description parameter set must have been loaded before
the constructor is called.
The constructor MUST be private to ensure that this class is a singleton.
getJournalList
public static JournalList getJournalList()
- Returns the JournalList object. Creates it if needed
- Returns:
- JournalList object
get
public Journal get(java.lang.String abbrev)
- Returns a Journalobject from an abbreviation name
- Parameters:
abbrev
- the abbreviated code of the journal
- Returns:
- the Journalobject