SCT_Chip_Helper Class Reference

Defines methods to get and to create objects of SCT_Chip by identity or by query. More...

List of all members.

Static Public Member Functions

static SCT_Chip get (config.Configuration db, config.ConfigObject obj)
 Method to get an object by config object.
static SCT_Chip get (config.Configuration db, String id)
 Method to get an object by identity.
static SCT_Chip[] get (config.Configuration db, config.Query query)
 Method to get objects of class.
static SCT_Chip create (config.Configuration db, String file, String id)
 Method to create object of this class in given database file.
static SCT_Chip create (config.Configuration db, config.DalObject at, String id)
 Method to create object of this class in database file storing existing object.


Detailed Description

Defines methods to get and to create objects of SCT_Chip by identity or by query.

If something goes wrong the methods can throw several exceptions:

In addition the methods to create object can throw config.NotAllowedException exception in case, if there are no write access rights or database is already locked by other process.

Author:
genconfig

Definition at line 29 of file SCT_Chip_Helper.java.


Member Function Documentation

static SCT_Chip SCT_Chip_Helper.create config.Configuration  db,
config.DalObject  at,
String  id
[static]
 

Method to create object of this class in database file storing existing object.

Parameters:
db configuration object
at create new object at the same database where  'at' object is stored
id object identity

Definition at line 102 of file SCT_Chip_Helper.java.

static SCT_Chip SCT_Chip_Helper.create config.Configuration  db,
String  file,
String  id
[static]
 

Method to create object of this class in given database file.

Parameters:
db configuration object
file name of the database file
id object identity

Definition at line 91 of file SCT_Chip_Helper.java.

static SCT_Chip [] SCT_Chip_Helper.get config.Configuration  db,
config.Query  query
[static]
 

Method to get objects of class.

If the query is empty, then all objects of class are returned. Otherwise returns objects which satisfy query.

Parameters:
db configuration object
query query (see config.Query)

Definition at line 75 of file SCT_Chip_Helper.java.

References get().

Here is the call graph for this function:

static SCT_Chip SCT_Chip_Helper.get config.Configuration  db,
String  id
[static]
 

Method to get an object by identity.

If no such object, the method throws exception config.NotFoundException.

Parameters:
db configuration object
id identity of the object

Definition at line 56 of file SCT_Chip_Helper.java.

References get().

Here is the call graph for this function:

static SCT_Chip SCT_Chip_Helper.get config.Configuration  db,
config.ConfigObject  obj
[static]
 

Method to get an object by config object.

It is used by the config.Configuration class.

Parameters:
db configuration object
obj config object

Definition at line 38 of file SCT_Chip_Helper.java.

Referenced by get().


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:12:43 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6