saada logo

 
  SAADA OVERVIEW
Home  
News  
Tutos and Links  
Download  
  Tutorial
Getting started  
Doing More  
SaadaQL  
The Web Interface  
VO Publishing  
Tips & Troubelshooting  
  COMMUNITY
Mailing List  
Saada Sites  
How to Contact us ?  
  DEVELOPER CORNER
Contributors  
Next Step  
Old Releases  
Inside Saada  
Using UWS  

 

SourceForge.net Logo


HOME ART > DEVELOPER CORNER > Old Releases > Saada 1.4.2 > TUTORIAL > Saada Relationships > Create a Relationship
Create and populate a relationship

(m) (s) : A relationship is the name for a set of links linking all records of a given category (image, spectra, tables or table entries) of a given collection to all records of a given category of a given collection.




Relationships are managed with the SAADA_DB_HOME/bin/guidb menu Relation. A relation is defined by a name a primary (starting point) collection/category and a secondary collection/category (menu Relation->Define Relation).

The links of a relationship can be qualified by values (double) defined (and computed) by the operator. The relationships can of course not be populated automatically. At creation time a Java class template is provided. The operator has then to complete it and to compile it before populating the relationship (menu Relation->Load Relation).

Relationships can be empty or removed (menu Relation->Delete Relation) and rebuilt as often as needed. The current Saada release doesn’t support automatic relationship update when data are appended to the SaadaDB. After new data have been added to the SaadaDB, all relationships they are involved in must be flushed and populated again.

This operation can take a long time with huge SaadaDBs.

last update 29-sep-05

Return

last update 2007-02-07