cds.simbad
Class SimbadParameters
java.lang.Object
cds.simbad.SimbadParameters
- public class SimbadParameters
- extends java.lang.Object
An object of this class manages a Simbad like database. It can be
Simbad itself or any work instance of Simbad.
This class is still under design phase. Its functionalities are not yet
stable...
One of the role of this class is to load the Parameters files defining
all the parameters used by Simbad. A main file contains some main
parameters and also the commands to include other Parameters files in
this main Parameters object, or add new Parameters object through
parameters = ... commands in the [system] section.
By provifing different main definitions, it is possible to manage several
Simbad like databases (at least test databases ...).
- Version:
- 1.0 May 2002
- Author:
- Marc Wenger/CDS
Constructor Summary |
SimbadParameters(java.lang.String name)
Create the SimbadParameters object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pname
private java.lang.String pname
psim
private Parameters psim
pdata
private Parameters pdata
pmes
private Parameters pmes
SimbadParameters
public SimbadParameters(java.lang.String name)
- Create the SimbadParameters object. Its name must be the name of a main
Parameters file which loads all other needed Parameters files.
This object also initialize different other objects:
- the Description objects (Data, Measurements)
- Otype definitions
needed for any application.
- Parameters:
name
- main database parameters file path
getMainParameters
public Parameters getMainParameters()
- Returns the main database Parameters object
- Returns:
- the Parameters object containing all others.