diff --git a/BE SGBD LIBRARY.lun b/BE SGBD LIBRARY.lun index 43ae9fba5154269d8ee7165c1114cb4d0c41d5d5..a4c170ba0f0a8c1f5a99585618ce857a7ff1b476 100644 --- a/BE SGBD LIBRARY.lun +++ b/BE SGBD LIBRARY.lun @@ -1,4355 +1,333 @@ -DBLUN10 -*SYSTEM -object_id double -flag int -name char[100] -short_name char[12] -creation_date char[10] -semantics_desc desc -technical_desc desc -sys_mo rel -sys_sch rel -link rel -user_viewable rel -viewable_note rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*META_OBJECT -object_id double -flag int -name char[100] -type short -semantics_desc desc -mo_mp rel -concept_mo rel -*META_PROPERTY -object_id double -flag int -name char[100] -type short -funct int -semantics_desc desc -*SCHEMA -object_id double -flag int -name char[100] -short_name char[12] -version char[16] -creation_date char[10] -last_update char[10] -lock char -type char -semantics_desc desc -technical_desc desc -trace_on int -from rel -to rel -is_in rel -sch_do rel -sch_col rel -sch_inst rel -owner_pu rel -user_viewable rel -viewable_note rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*ENTITY_TYPE -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -owner_att rel -owner_group rel -col_do2 rel -owner_pu rel -et_role1 rel -decomp rel -general rel -domain rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*REL_TYPE -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -owner_att rel -owner_group rel -col_do2 rel -owner_pu rel -rt_type rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*CO_ATTRIBUTE -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -min_rep unsigned int -max_rep unsigned int -set_type char -owner_att rel -owner_group rel -col_do2 rel -domain rel -at_ro_gr rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*SI_ATTRIBUTE -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -min_rep unsigned int -max_rep unsigned int -set_type char -stable char -recyclable char -type char -length unsigned int -decim short -owner_group rel -col_do2 rel -domain rel -at_ro_gr -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*ROLE -object_id double -flag int -name char[100] -min_con unsigned int -max_con unsigned int -aggregation char -semantics_desc desc -technical_desc desc -at_ro_gr -et_role2 rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*ET_ROLE -object_id double -flag int -*GROUP -object_id double -flag int -name char[100] -type char -funct int -min_rep unsigned int -max_rep unsigned int -semantics_desc desc -technical_desc desc -at_ro_gr -gr_comp rel -member_gr rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*COMPONENT -object_id double -flag int -*MEMBER_CST -object_id double -flag int -mem_role char -*CONSTRAINT -object_id double -flag int -type char -mbr_cst rel -go_uo rel -*COLLECTION -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -col_do1 rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*COL_DO -object_id double -flag int -*CLUSTER -object_id double -flag int -cluster_id char[100] -type int -criterion char[30] -special rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*SUB_TYPE -object_id double -flag int -value char[30] -go_uo rel -*USER_VIEW -object_id double -flag int -name char[100] -type int -zoom int -reduce int -xgrid int -ygrid int -font_size int -font_name char[30] -text_font_size int -text_font_name char[30] -markplan int -uv_uo rel -*USER_OBJECT -object_id double -flag int -posx int -posy int -color int -*CONNECTION -object_id double -flag int -type char[10] -seq_nbr int -*TEXT -object_id double -flag int -name char[100] -version char[16] -path char[260] -creation_date char[10] -last_update char[10] -type_of_file char[10] -num_line int -lock char -sem_desc desc -tech_desc desc -from rel -to rel -is_in rel -text_inst rel -line rel -user_viewable rel -viewable_note rel -go_uo rel -go_st rel -act_arg rel -go_nn_note rel -*LINE -object_id double -flag int -num int -description desc -go_uo rel -*PROD_SET -object_id double -flag int -name char[100] -version char[16] -creation_date char[10] -last_update char[10] -lock char -sem_desc desc -tech_desc desc -from rel -to rel -is_in rel -contains rel -set_inst rel -go_uo rel -*PROD_SET_ELEM -object_id double -flag int -*PROC_UNIT -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -type char -mode char -owner_group rel -col_do2 rel -p_decl rel -p_fct_call rel -invokes_pu rel -pu_made_of rel -cons_pu rel -go_st rel -act_arg rel -go_nn_note rel -go_uo rel -*ENVIRONMENT -object_id double -flag int -name char[100] -type char -mode char -semantics_desc desc -technical_desc desc -go_nn_note rel -go_uo rel -*STATE -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -owner_group rel -col_do2 rel -st_env rel -go_nn_note rel -go_uo rel -*ELEMENT -object_id double -flag int -type char -description desc -p_made_of rel -p_part_of rel -go_nn_note rel -go_uo rel -*REL_ELEMENT -object_id double -flag int -name char[100] -type char -mode char -semantics_desc desc -technical_desc desc -go_nn_note rel -go_uo rel -*P_EXPRESSION -object_id double -flag int -oper int -constant char[255] -description desc -sub_expression rel -go_uo rel -*CONSUMPTION -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -owner_group rel -col_do2 rel -cons_res rel -cons_role rel -cons_pu rel -go_st rel -act_arg rel -go_nn_note rel -go_uo rel -*CONS_PU -object_id double -flag int -name char[100] -min_card int -max_card int -semantics_desc desc -technical_desc desc -go_nn_note rel -go_uo rel -*CONS_RES -object_id double -flag int -name char[100] -min_card int -max_card int -semantics_desc desc -technical_desc desc -go_nn_note rel -go_uo rel -*CONS_ROLE -object_id double -flag int -name char[100] -min_card int -max_card int -semantics_desc desc -technical_desc desc -go_nn_note rel -go_uo rel -*RESOURCE -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -type char -owner_group rel -col_do2 rel -cons_res rel -cp_res rel -re_gen rel -re_spec rel -go_st rel -act_arg rel -go_nn_note rel -go_uo rel -*RES_ROLE -object_id double -flag int -name char[100] -short_name char[12] -semantics_desc desc -technical_desc desc -owner_group rel -col_do2 rel -cons_role rel -cp_rol rel -ro_gen rel -ro_spec rel -go_st rel -act_arg rel -go_nn_note rel -go_uo rel -*RE_ISA -object_id double -flag int -name char[100] -semantics_desc desc -technical_desc desc -go_nn_note rel -go_uo rel -*RO_ISA -object_id double -flag int -name char[100] -semantics_desc desc -technical_desc desc -go_nn_note rel -go_uo rel -*CAN_PLAY -object_id double -flag int -go_nn_note rel -go_uo rel -*DYNAMIC_PROPERTY -mp_id double -object_id double -value text -*METHODOLOGY -object_id double -title char[100] -version char[16] -date char[10] -author char[100] -help_file char[255] -semantics_desc desc -user_viewable rel -viewable_note rel -*STATEMENT -object_id double -type int -state char -glbtrsf trsfscr -sub_stmt rel -strategy rel -condition rel -stmt_param rel -pp_inst rel -ep_inst rel -cs_inst rel -*EXPRESSION -object_id double -type int -not char -weak char -sub_expression rel -cond_dec rel -expr_param rel -*PARAMETER -object_id double -integer int -string char[255] -analysis_expr anallist -type char -mode char -usage char -*PROCESS_TYPE -object_id double -name char[100] -title char[100] -explain char[100] -semantics_desc desc -perform rel -form_arg rel -invokes rel -*TOOLBOX -object_id double -name char[100] -title char[100] -functions list_int -semantics_desc desc -uses rel -*TEXT_TYPE -object_id double -name char[100] -title char[100] -weak char -min_mul int -max_mul int -usage char -semantics_desc desc -act_arg rel -ttext_inst rel -*SCHEMA_TYPE -object_id double -name char[100] -title char[100] -weak char -min_mul int -max_mul int -usage char -semantics_desc desc -act_arg rel -tschema_inst rel -*PROD_SET_TYPE -object_id double -name char[100] -title char[100] -min_mul int -max_mul int -usage char -semantics_desc desc -actarg rel -tset_inst rel -*TEXT_MODEL -object_id double -name char[100] -title char[100] -semantics_desc desc -default_ext list_char[3] -grammar char[255] -model_expr rel -specialization rel -text_conform rel -*SCHEMA_MODEL -object_id double -name char[100] -title char[100] -semantics_desc desc -constraints anallist -model_expr rel -specialization rel -schema_conform rel -have_concept rel -*MOD_CONCEPT -object_id double -contextual_name char[100] -funct1 unsigned int -funct2 unsigned int -*ENGINEERING_PROCESS -object_id double -name char[100] -start_date char[10] -start_time char[10] -end_date char[10] -end_time char[10] -in_progress char -semantics_desc desc -flag int -io_proc rel -made_of rel -start rel -user_viewable rel -viewable_note rel -go_uo rel -go_nn_note rel -*DECISION -object_id double -name char[100] -start_date char[10] -start_time char[10] -end_date char[10] -end_time char[10] -in_progress char -yes_no char -semantics_desc desc -flag int -io_proc rel -go_uo rel -go_nn_note rel -*PRIMITIVE_PROCESS -object_id double -name char[100] -start_date char[10] -start_time char[10] -end_date char[10] -end_time char[10] -in_progress char -semantics_desc desc -flag int -io_proc rel -go_uo rel -go_nn_note rel -*CONTROL_STRUCTURE -object_id double -name char[100] -start_date char[10] -start_time char[10] -end_date char[10] -end_time char[10] -in_progress char -golist list_int -semantics_desc desc -io_proc rel -*SCHEMA_INSTANCE -object_id double -usage char -checkpoint char[100] -flag int -go_nn_note rel -*TEXT_INSTANCE -object_id double -usage char -checkpoint char[100] -flag int -go_nn_note rel -*PROD_SET_INSTANCE -object_id double -usage char -checkpoint char[100] -flag int -go_nn_note rel -*NOTE -object_id double -flag int -description desc -note_nn_note rel -go_uo rel -*NN_NOTE -object_id double -flag int -*LOG -schema double -length long -text FILE -* -*0 -0 -0 -BE SGBD LIBRARY -Library -20231011 - - -2 -3 -4 -5 -6 -7 -8 -9 -10 -11 -12 -13 -14 -15 -16 -17 -18 -19 -20 -21 -- -71 -- -63 -- -1 -- -- -- -- -- -- -*1 -21 -0 -In-out -43 - -48 -47 -- -- -*1 -20 -0 -State -61 - -59 -60 -- -- -*1 -19 -0 -Actor generalization -62 - -52 -51 -- -- -*1 -18 -0 -Actor -48 - -50 -49 -- -- -*1 -17 -0 -Actor association role -66 - -58 -57 -- -- -*1 -16 -0 -Use case association role -68 - -56 -55 -- -- -*1 -15 -0 -Association -47 - -54 -53 -- -- -*1 -14 -0 -Processing unit relation -45 - -62 -61 -- -- -*1 -13 -0 -Processing unit -40 - -46 -45 -- -- -*1 -12 -0 -Collection -4 - -41 -42 -- -- -*1 -11 -0 -Role -14 - -32 -31 -- -- -*1 -10 -0 -Group -16 - -44 -43 -- -- -*1 -9 -0 -Compound attribute -6 - -40 -39 -- -- -*1 -8 -0 -Atomic attribute -7 - -38 -37 -36 -35 -34 -33 -- -- -*1 -7 -0 -Rel-type -12 - -30 -29 -- -- -*1 -6 -0 -Entity type -11 - -28 -27 -- -- -*1 -5 -0 -Product set -41 - -26 -- -- -*1 -4 -0 -Text -31 - -24 -25 -- -- -*1 -3 -0 -Schema -2 - -22 -23 -- -- -*1 -2 -0 -Project -1 - -- -- -*2 -62 -0 -MappingOID -78 -10 - -*2 -61 -0 -Stereotype -86 -14 - -*2 -60 -0 -MappingOID -78 -10 - -*2 -59 -0 -Stereotype -86 -14 -#VALUES= -ET -RT -Att -Coll -# -*2 -58 -0 -MappingOID -78 -10 - -*2 -57 -0 -Stereotype -86 -14 - -*2 -56 -0 -MappingOID -78 -10 - -*2 -55 -0 -Stereotype -86 -14 - -*2 -54 -0 -MappingOID -78 -10 - -*2 -53 -0 -Stereotype -86 -14 - -*2 -52 -0 -MappingOID -78 -10 - -*2 -51 -0 -Stereotype -86 -14 - -*2 -50 -0 -MappingOID -78 -10 - -*2 -49 -0 -Stereotype -86 -14 - -*2 -48 -0 -MappingOID -78 -10 - -*2 -47 -0 -Stereotype -86 -14 - -*2 -46 -0 -MappingOID -78 -10 - -*2 -45 -0 -Stereotype -86 -14 - -*2 -44 -0 -MappingOID -78 -10 - -*2 -43 -0 -User-constraint -86 -1 - -*2 -42 -0 -MappingOID -78 -10 - -*2 -41 -0 -Stereotype -86 -14 -#VALUES= -Area -DBD -SQLSchema -SubSchema -TableSpace -# -*2 -40 -0 -MappingOID -78 -10 - -*2 -39 -0 -Stereotype -86 -14 - -*2 -38 -0 -Default value -86 -2 - -*2 -37 -0 -MappingOID -78 -10 - -*2 -36 -0 -physLen -78 -2 - -*2 -35 -0 -physType -86 -2 - -*2 -34 -0 -Stereotype -86 -14 - -*2 -33 -0 -Value constraint -86 -10 - -*2 -32 -0 -MappingOID -78 -10 - -*2 -31 -0 -Stereotype -86 -14 - -*2 -30 -0 -MappingOID -78 -10 - -*2 -29 -0 -Stereotype -86 -14 - -*2 -28 -0 -MappingOID -78 -10 - -*2 -27 -0 -Stereotype -86 -14 - -*2 -26 -0 -Stereotype -86 -14 - -*2 -25 -0 -Stereotype -86 -14 - -*2 -24 -0 -productType -86 -6 -#VALUES= -COBOL -CODASYL -IMS -Relational -SQL -XML -C/C++ -Java -# -*2 -23 -0 -Stereotype -86 -14 - -*2 -22 -0 -productType -86 -6 -#VALUES= -COBOL -CODASYL -IMS -Relational -SQL -XML -C/C++ -Java -# -*3 -71 -256 -MAIN -main -1 -20231011 -20231011 -F -E - - -0 -- -- -- -165 -163 -85 -79 -81 -83 -89 -103 -111 -167 -193 -183 -175 -185 -195 -203 -211 -229 -245 -263 -267 -272 -274 -294 -296 -304 -308 -310 -326 -332 -344 -355 -368 -372 -370 -363 -350 -348 -346 -334 -324 -306 -302 -300 -298 -292 -253 -336 -276 -284 -- -- -72 -74 -77 -- -- -73 -- -- -78 -87 -- -- -- -- -*4 -332 -0 -DEVISE - - - -372 -334 -370 -- -374 -- -- -- -340 -- -- -- -- -333 -- -- -- -- -*4 -274 -0 -Auteur - - - -363 -- -365 -- -- -- -286 -280 -- -- -- -- -275 -- -- -- -- -*4 -211 -0 -MOT-CLE - - - -355 -- -357 -- -- -- -247 -233 -- -- -- -- -212 -- -- -- -- -*4 -193 -0 -UTILISATEUR - - - -263 -- -360 -- -- -- -255 -231 -207 -199 -- -- -- -- -194 -- -- -- -- -*4 -183 -0 -LABORATOIRE - - - -350 -- -352 -- -- -- -205 -187 -- -- -- -- -184 -- -- -- -- -*4 -165 -0 -ACHAT - - - -368 -324 -326 -- -- -- -- -338 -179 -- -- -- -- -166 -- -- -- -- -*4 -163 -0 -EXEMPLAIRE - - - -346 -- -- -- -- -197 -189 -177 -171 -- -- -- -- -164 -- -- -- -- -*4 -85 -0 -PERIODIQUE - - - -298 -300 -302 -304 -- -315 -- -- -- -115 -- -- -- -- -86 -- -- -- -- -*4 -83 -0 -PUBLICATION - - - -348 -- -- -- -- -257 -249 -169 -113 -105 -93 -- -- -- -- -84 -- -- -- -- -*4 -81 -0 -RAPPORT - - - -306 -308 -310 -- -312 -- -- -- -288 -107 -- -- -- -- -82 -- -- -- -- -*4 -79 -0 -LIVRE - - - -267 -272 -292 -294 -296 -- -269 -- -- -- -278 -91 -- -- -- -- -80 -- -- -- -- -*5 -336 -0 -prix en - - - -- -- -- -- -337 -339 -- -341 -- -- -- -- -*5 -284 -0 -rédigé par - - - -- -- -- -- -285 -287 -- -289 -- -- -- -- -*5 -276 -0 -écrit par - - - -- -- -- -- -277 -279 -- -281 -- -- -- -- -*5 -253 -0 -propose - - - -344 -- -- -- -- -254 -256 -- -258 -- -- -- -- -*5 -245 -0 -a - - - -- -- -- -- -246 -248 -- -250 -- -- -- -- -*5 -229 -0 -intéressé par - - - -- -- -- -- -230 -232 -- -234 -- -- -- -- -*5 -203 -0 -autorise l'accès - - - -- -- -- -- -204 -206 -- -208 -- -- -- -- -*5 -195 -0 -emprunte - - - -- -- -- -- -196 -198 -- -200 -- -- -- -- -*5 -185 -0 -possède - - - -- -- -- -- -186 -188 -- -190 -- -- -- -- -*5 -175 -0 -provient d'un - - - -- -- -- -- -176 -178 -- -180 -- -- -- -- -*5 -167 -0 -comporte - - - -- -- -- -- -168 -170 -- -172 -- -- -- -- -*5 -111 -0 -ou est un - - - -- -- -- -- -112 -114 -- -116 -- -- -- -- -*5 -103 -0 -ou encore est un - - - -- -- -- -- -104 -106 -- -108 -- -- -- -- -*5 -89 -0 -est un - - - -- -- -- -- -90 -92 -- -94 -- -- -- -- -*7 -372 -0 -code - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -375 -- -373 -- -- -- -- -*7 -370 -0 -symbole - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -371 -- -- -- -- -*7 -368 -0 -date - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -369 -- -- -- -- -*7 -363 -0 -nom - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -366 -- -364 -- -- -- -- -*7 -355 -0 -mot - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -358 -- -356 -- -- -- -- -*7 -350 -0 -nom - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -353 -- -351 -- -- -- -- -*7 -348 -0 -type - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -349 -- -- -- -- -*7 -346 -0 -statut - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -347 -- -- -- -- -*7 -344 -0 -date - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -345 -- -- -- -- -*7 -334 -0 -taux - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -335 -- -- -- -- -*7 -326 -0 -lieu - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -327 -- -- -- -- -*7 -324 -0 -prix - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -325 -- -- -- -- -*7 -310 -0 -année de publication - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -311 -- -- -- -- -*7 -308 -0 -id - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -313 -- -309 -- -- -- -- -*7 -306 -0 -titre - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -307 -- -- -- -- -*7 -304 -0 -année de publication - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -319 -- -305 -- -- -- -- -*7 -302 -0 -édition - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -318 -- -303 -- -- -- -- -*7 -300 -0 -éditeur - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -317 -- -301 -- -- -- -- -*7 -298 -0 -numéro - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -316 -- -299 -- -- -- -- -*7 -296 -0 -catégorie - - - -0 -4 -S -F -T -A -1 -0 -- -- -- -- -297 -- -- -- -- -*7 -294 -0 -année de publication - - - -1 -1 -S -F -T -N -4 -0 -- -- -- -- -295 -- -- -- -- -*7 -292 -0 -édition - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -293 -- -- -- -- -*7 -272 -0 -éditeur - - - -1 -1 -S -F -T -A -1 -0 -- -- -- -- -273 -- -- -- -- -*7 -267 -0 -ISBN - - - -1 -1 -S -F -T -A -13 -0 -- -- -- -270 -- -268 -- -- -- -- -*6 -263 -0 -email - - - -1 -1 -S -- -- -- -- -361 -- -264 -- -- -- -- -*8 -339 -0 - -0 -N - - - -- -340 -- -343 -- -- -- -- -*8 -337 -0 - -1 -1 - - - -- -338 -- -342 -- -- -- -- -*8 -287 -0 - -1 -4 - - - -- -288 -- -291 -- -- -- -- -*8 -285 -0 - -0 -N - - - -- -286 -- -290 -- -- -- -- -*8 -279 -0 - -0 -N - - - -- -280 -- -283 -- -- -- -- -*8 -277 -0 - -1 -4 - - - -- -278 -- -282 -- -- -- -- -*8 -256 -0 - -0 -1 - - - -- -257 -- -260 -- -- -- -- -*8 -254 -0 - -0 -N - - - -- -255 -- -259 -- -- -- -- -*8 -248 -0 - -0 -N - - - -- -249 -- -252 -- -- -- -- -*8 -246 -0 - -0 -N - - - -- -247 -- -251 -- -- -- -- -*8 -232 -0 - -0 -N - - - -- -233 -- -236 -- -- -- -- -*8 -230 -0 - -0 -N - - - -- -231 -- -235 -- -- -- -- -*8 -206 -0 - -0 -N - - - -- -207 -- -210 -- -- -- -- -*8 -204 -0 - -0 -N - - - -- -205 -- -209 -- -- -- -- -*8 -198 -0 - -0 -N - - - -- -199 -- -202 -- -- -- -- -*8 -196 -0 - -0 -1 - - - -- -197 -- -201 -- -- -- -- -*8 -188 -0 - -1 -1 - - - -- -189 -- -192 -- -- -- -- -*8 -186 -0 - -0 -N - - - -- -187 -- -191 -- -- -- -- -*8 -178 -0 - -1 -1 - - - -- -179 -- -182 -- -- -- -- -*8 -176 -0 - -0 -1 - - - -- -177 -- -181 -- -- -- -- -*8 -170 -0 - -1 -1 - - - -- -171 -- -174 -- -- -- -- -*8 -168 -0 - -0 -N - - - -- -169 -- -173 -- -- -- -- -*8 -114 -0 - -1 -1 - - - -- -115 -- -118 -- -- -- -- -*8 -112 -0 - -0 -1 - - - -- -113 -- -117 -- -- -- -- -*8 -106 -0 - -1 -1 - - - -- -107 -- -110 -- -- -- -- -*8 -104 -0 - -0 -1 - - - -- -105 -- -109 -- -- -- -- -*8 -92 -0 - -0 -1 - - - -- -93 -- -96 -- -- -- -- -*8 -90 -0 - -1 -1 - - - -- -91 -- -95 -- -- -- -- -*9 -340 -0 -*9 -338 -0 -*9 -288 -0 -*9 -286 -0 -*9 -280 -0 -*9 -278 -0 -*9 -257 -0 -*9 -255 -0 -*9 -249 -0 -*9 -247 -0 -*9 -233 -0 -*9 -231 -0 -*9 -207 -0 -*9 -205 -0 -*9 -199 -0 -*9 -197 -0 -*9 -189 -0 -*9 -187 -0 -*9 -179 -0 -*9 -177 -0 -*9 -171 -0 -*9 -169 -0 -*9 -115 -0 -*9 -113 -0 -*9 -107 -0 -*9 -105 -0 -*9 -93 -0 -*9 -91 -0 -*10 -374 -0 -IDDEVISE -A -1 -0 -N - - -- -375 -- -- -376 -- -- -- -- -*10 -365 -0 -IDAuteur -A -1 -0 -N - - -- -366 -- -- -367 -- -- -- -- -*10 -360 -0 -IDUTILISATEUR -A -1 -0 -N - - -- -361 -- -- -362 -- -- -- -- -*10 -357 -0 -IDMOT-CLE -A -1 -0 -N - - -- -358 -- -- -359 -- -- -- -- -*10 -352 -0 -IDLABORATOIRE -A -1 -0 -N - - -- -353 -- -- -354 -- -- -- -- -*10 -315 -0 -IDPERIODIQUE -A -1 -0 -N - - -- -316 -317 -318 -319 -- -- -320 -- -- -- -- -*10 -312 -0 -IDRAPPORT -A -1 -0 -N - - -- -313 -- -- -314 -- -- -- -- -*10 -269 -0 -IDLIVRE -A -1 -0 -N - - -- -270 -- -- -271 -- -- -- -- -*11 -375 -0 -*11 -366 -0 -*11 -361 -0 -*11 -358 -0 -*11 -353 -0 -*11 -319 -0 -*11 -318 -0 -*11 -317 -0 -*11 -316 -0 -*11 -313 -0 -*11 -270 -0 -*18 -73 -0 - -23 -100 -100 -0 -0 -0 - -0 - -1 -78 -80 -82 -84 -86 -94 -95 -96 -108 -109 -110 -116 -117 -118 -164 -166 -172 -173 -174 -180 -181 -182 -184 -190 -191 -192 -194 -200 -201 -202 -208 -209 -210 -212 -234 -235 -236 -250 -251 -252 -258 -259 -260 -264 -268 -271 -273 -275 -281 -282 -283 -289 -290 -291 -293 -295 -297 -299 -301 -303 -305 -307 -309 -311 -314 -320 -325 -327 -333 -335 -341 -342 -343 -345 -347 -349 -351 -354 -356 -359 -362 -364 -367 -369 -371 -373 -376 -- -*18 -69 -0 - -23 -100 -100 -0 -0 -0 - -0 - -1 -70 -87 -88 -- -*18 -64 -0 - -0 -100 -100 -0 -0 -0 - -0 - -1 -- -*18 -1 -0 - -23 -100 -100 -0 -0 -0 - -0 - -1 -- -*19 -376 -0 -0 -0 -0 -*19 -373 -0 -0 -0 -0 -*19 -371 -0 -0 -0 -0 -*19 -369 -0 -0 -0 -0 -*19 -367 -0 -0 -0 -0 -*19 -364 -0 -0 -0 -0 -*19 -362 -0 -0 -0 -0 -*19 -359 -0 -0 -0 -0 -*19 -356 -0 -0 -0 -0 -*19 -354 -0 -0 -0 -0 -*19 -351 -0 -0 -0 -0 -*19 -349 -0 -0 -0 -0 -*19 -347 -0 -0 -0 -0 -*19 -345 -0 -0 -0 -0 -*19 -343 -0 -11278 -78668 -0 -*19 -342 -0 -20659 -64051 -0 -*19 -341 -0 -10753 -68138 -0 -*19 -335 -0 -0 -0 -0 -*19 -333 -0 -12200 -95600 -0 -*19 -327 -0 -0 -0 -0 -*19 -325 -0 -0 -0 -0 -*19 -320 -0 -0 -0 -0 -*19 -314 -0 -0 -0 -0 -*19 -311 -0 -0 -0 -0 -*19 -309 -0 -0 -0 -0 -*19 -307 -0 -0 -0 -0 -*19 -305 -0 -0 -0 -0 -*19 -303 -0 -0 -0 -0 -*19 -301 -0 -0 -0 -0 -*19 -299 -0 -0 -0 -0 -*19 -297 -0 -0 -0 -0 -*19 -295 -0 -0 -0 -0 -*19 -293 -0 -0 -0 -0 -*19 -291 -0 -155423 -131847 -0 -*19 -290 -0 -131781 -140956 -0 -*19 -289 -0 -154457 -140413 -0 -*19 -283 -0 -96799 -140433 -0 -*19 -282 -0 -68190 -134127 -0 -*19 -281 -0 -80411 -140172 -0 -*19 -275 -0 -113200 -140700 -0 -*19 -273 -0 -0 -0 -0 -*19 -271 -0 -0 -0 -0 -*19 -268 -0 -0 -0 -0 -*19 -264 -0 -0 -0 -0 -*19 -260 -0 -138117 -58860 -0 -*19 -259 -0 -131142 -25203 -0 -*19 -258 -0 -142749 -41606 -0 -*19 -252 -0 -132413 -73196 -0 -*19 -251 -0 -167216 -57096 -0 -*19 -250 -0 -159236 -67292 -0 -*19 -236 -0 -169941 -33821 -0 -*19 -235 -0 -140590 -14771 -0 -*19 -234 -0 -164686 -20744 -0 -*19 -212 -0 -175200 -46900 -0 -*19 -210 -0 -87696 -15057 -0 -*19 -209 -0 -45516 -30390 -0 -*19 -208 -0 -61970 -20649 -0 -*19 -202 -0 -112872 -22358 -0 -*19 -201 -0 -108756 -38577 -0 -*19 -200 -0 -110515 -31055 -0 -*19 -194 -0 -116500 -8800 -0 -*19 -192 -0 -83204 -45858 -0 -*19 -191 -0 -51361 -43271 -0 -*19 -190 -0 -67283 -44564 -0 -*19 -184 -0 -27100 -41300 -0 -*19 -182 -0 -51223 -62386 -0 -*19 -181 -0 -83374 -55082 -0 -*19 -180 -0 -68726 -59953 -0 -*19 -174 -0 -105800 -55792 -0 -*19 -173 -0 -105700 -70926 -0 -*19 -172 -0 -105800 -62756 -0 -*19 -166 -0 -31800 -65100 -0 -*19 -164 -0 -105800 -47700 -0 -*19 -118 -0 -79161 -105037 -0 -*19 -117 -0 -84238 -85940 -0 -*19 -116 -0 -76523 -94346 -0 -*19 -110 -0 -157031 -101982 -0 -*19 -109 -0 -130808 -87278 -0 -*19 -108 -0 -155593 -92917 -0 -*19 -96 -0 -66839 -80206 -0 -*19 -95 -0 -47902 -93792 -0 -*19 -94 -0 -47818 -81152 -0 -*19 -88 -0 -30000 -14000 -0 -*19 -87 -0 -30000 -29000 -0 -*19 -86 -0 -108800 -112000 -0 -*19 -84 -0 -105600 -79100 -0 -*19 -82 -0 -157000 -118100 -0 -*19 -80 -0 -44600 -122700 -0 -*19 -78 -0 -15800 -5700 -0 -*19 -70 -0 -100000 -10000 -0 -*40 -32 -339 -339 -*40 -32 -337 -337 -*40 -32 -287 -287 -*40 -32 -285 -285 -*40 -32 -279 -279 -*40 -32 -277 -277 -*40 -32 -256 -256 -*40 -32 -254 -254 -*40 -32 -248 -248 -*40 -32 -246 -246 -*40 -32 -232 -232 -*40 -32 -230 -230 -*40 -32 -206 -206 -*40 -32 -204 -204 -*40 -32 -198 -198 -*40 -32 -196 -196 -*40 -32 -188 -188 -*40 -32 -186 -186 -*40 -32 -178 -178 -*40 -32 -176 -176 -*40 -32 -170 -170 -*40 -32 -168 -168 -*40 -32 -114 -114 -*40 -32 -112 -112 -*40 -32 -106 -106 -*40 -32 -104 -104 -*40 -32 -92 -92 -*40 -32 -90 -90 -*40 -44 -374 -374 -*40 -44 -365 -365 -*40 -44 -360 -360 -*40 -44 -357 -357 -*40 -44 -352 -352 -*40 -44 -315 -315 -*40 -44 -312 -312 -*40 -44 -269 -269 -*40 -40 -263 -261 -*40 -37 -372 -372 -*40 -37 -370 -370 -*40 -37 -368 -368 -*40 -37 -363 -363 -*40 -37 -355 -355 -*40 -37 -350 -350 -*40 -37 -348 -348 -*40 -37 -346 -346 -*40 -37 -344 -344 -*40 -37 -334 -334 -*40 -37 -326 -326 -*40 -37 -324 -324 -*40 -37 -310 -310 -*40 -37 -308 -308 -*40 -37 -306 -306 -*40 -37 -304 -304 -*40 -37 -302 -302 -*40 -37 -300 -300 -*40 -37 -298 -298 -*40 -37 -296 -296 -*40 -37 -294 -294 -*40 -37 -292 -292 -*40 -37 -272 -272 -*40 -37 -267 -267 -*40 -30 -336 -336 -*40 -30 -284 -284 -*40 -30 -276 -276 -*40 -30 -253 -253 -*40 -30 -245 -245 -*40 -30 -229 -229 -*40 -30 -203 -203 -*40 -30 -195 -195 -*40 -30 -185 -185 -*40 -30 -175 -175 -*40 -30 -167 -167 -*40 -30 -111 -111 -*40 -30 -103 -103 -*40 -30 -89 -89 -*40 -28 -332 -332 -*40 -28 -274 -274 -*40 -28 -211 -211 -*40 -28 -193 -193 -*40 -28 -183 -183 -*40 -28 -165 -165 -*40 -28 -163 -163 -*40 -28 -85 -85 -*40 -28 -83 -83 -*40 -28 -81 -81 -*40 -28 -79 -79 -*41 -63 - - -20231011 - - - -64 -- -- -*42 -75 -18 -0 -- -- -- -- -- -76 -- -- -- -*42 -66 -13 -0 -- -- -67 -- -- -- -- -- -- -*45 -67 -No_method -No method - - -63 -- -- -- -*46 -65 -Everything -Do whatever you want -14001 -- - -66 -- -*53 -68 -BE SGBD LIBRARY -20231011 -142029 - - -T - -0 -72 -74 -- -76 -- -63 -- -69 -- -- -70 -- -- -*55 -76 -New schema -20231011 -143447 -20231011 -143447 -F - -0 -77 -- -88 -- -- -*57 -77 -o - -0 -- -*57 -74 -n - -0 -- -*57 -72 -C - -0 -- -*62 -71 -20 -*POT "begin-file" - +-- ********************************************* +-- * Standard SQL generation +-- *-------------------------------------------- +-- * DB-MAIN version: 11.0.2 +-- * Generator date: Sep 14 2021 +-- * Generation date: Wed Oct 25 17:06:28 2023 +-- * LUN file: C:\Users\matt2\AppData\Local\Temp\MicrosoftEdgeDownloads\e467d24d-0117-4ac8-9795-e70fd25f8f04\BE SGBD LIBRARY.lun +-- * Schema: MAIN/SQL +-- ********************************************* + + +-- Database Section +-- ________________ + +create database MAIN; + + +-- DBSpace Section +-- _______________ + + +-- Tables Section +-- _____________ + +create table a ( + ID_PUB numeric(10) not null, + mot char(1) not null, + constraint ID_a_ID primary key (ID_PUB, mot)); + +create table ACHAT ( + ID_EXE numeric(10) not null, + date char(1) not null, + prix char(1) not null, + lieu char(1) not null, + code char(1) not null, + constraint FKprovient_d_un_ID primary key (ID_EXE)); + +create table Auteur ( + nom char(1) not null, + constraint ID_Auteur_ID primary key (nom)); + +create table autorise_l_acces ( + nom char(1) not null, + email -- Compound attribute -- not null, + constraint ID_autorise_l_acces_ID primary key (email -- Compound attribute --, nom)); + +create table DEVISE ( + code char(1) not null, + taux char(1) not null, + symbole char(1) not null, + constraint ID_DEVISE_ID primary key (code)); + +create table EXEMPLAIRE ( + ID_EXE -- Sequence attribute not implemented -- not null, + statut char(1) not null, + nom char(1) not null, + email -- Compound attribute --, + ID_PUB numeric(10) not null, + constraint ID_ID primary key (ID_EXE)); + +create table interesse_par ( + mot char(1) not null, + email -- Compound attribute -- not null, + constraint ID_interesse_par_ID primary key (mot, email -- Compound attribute --)); + +create table LABORATOIRE ( + nom char(1) not null, + constraint ID_LABORATOIRE_ID primary key (nom)); + +create table LIVRE ( + ISBN char(13) not null, + editeur char(1) not null, + edition char(1) not null, + annee_de_publication numeric(4) not null, + categorie1 char(1), + categorie2 char(1), + categorie3 char(1), + categorie4 char(1), + constraint ID_LIVRE_ID primary key (ISBN)); + +create table MOT_CLE ( + mot char(1) not null, + constraint ID_MOT_CLE_ID primary key (mot)); + +create table PERIODIQUE ( + numero char(1) not null, + editeur char(1) not null, + edition char(1) not null, + annee_de_publication char(1) not null, + constraint ID_PERIODIQUE_ID primary key (numero, editeur, edition, annee_de_publication)); + +create table propose ( + ID_PUB numeric(10) not null, + date char(1) not null, + email -- Compound attribute -- not null, + constraint FKpro_PUB_ID primary key (ID_PUB)); + +create table PUBLICATION ( + ID_PUB -- Sequence attribute not implemented -- not null, + numero char(1), + editeur char(1), + edition char(1), + annee_de_publication char(1), + id char(1), + ISBN char(13), + type char(1) not null, + constraint ID_ID primary key (ID_PUB), + constraint FKou_est_un_ID unique (numero, editeur, edition, annee_de_publication), + constraint FKou_encore_est_un_ID unique (id), + constraint FKest_un_ID unique (ISBN)); + +create table RAPPORT ( + titre char(1) not null, + id char(1) not null, + annee_de_publication char(1) not null, + constraint ID_RAPPORT_ID primary key (id)); + +create table redige_par ( + nom char(1) not null, + id char(1) not null, + constraint ID_redige_par_ID primary key (id, nom)); + +create table UTILISATEUR ( + email -- Compound attribute -- not null, + constraint ID_UTILISATEUR_ID primary key (email -- Compound attribute --)); + +create table ecrit_par ( + nom char(1) not null, + ISBN char(13) not null, + constraint ID_ecrit_par_ID primary key (nom, ISBN)); + + +-- Constraints Section +-- ___________________ + +alter table a add constraint FKa_MOT_FK + foreign key (mot) + references MOT_CLE; + +alter table a add constraint FKa_PUB + foreign key (ID_PUB) + references PUBLICATION; + +alter table ACHAT add constraint FKprix_en_FK + foreign key (code) + references DEVISE; + +alter table ACHAT add constraint FKprovient_d_un_FK + foreign key (ID_EXE) + references EXEMPLAIRE; + +alter table autorise_l_acces add constraint FKaut_UTI + foreign key (email -- Compound attribute --) + references UTILISATEUR; + +alter table autorise_l_acces add constraint FKaut_LAB_FK + foreign key (nom) + references LABORATOIRE; + +alter table EXEMPLAIRE add constraint FKpossede_FK + foreign key (nom) + references LABORATOIRE; + +alter table EXEMPLAIRE add constraint FKemprunte_FK + foreign key (email -- Compound attribute --) + references UTILISATEUR; + +alter table EXEMPLAIRE add constraint FKcomporte_FK + foreign key (ID_PUB) + references PUBLICATION; + +alter table interesse_par add constraint FKint_UTI_FK + foreign key (email -- Compound attribute --) + references UTILISATEUR; + +alter table interesse_par add constraint FKint_MOT + foreign key (mot) + references MOT_CLE; + +alter table LIVRE add constraint ID_LIVRE_CHK + check(exists(select * from PUBLICATION + where PUBLICATION.ISBN = ISBN)); + +alter table LIVRE add constraint ID_LIVRE_CHK + check(exists(select * from ecrit_par + where ecrit_par.ISBN = ISBN)); + +alter table PERIODIQUE add constraint ID_PERIODIQUE_CHK + check(exists(select * from PUBLICATION + where PUBLICATION.numero = numero and PUBLICATION.editeur = editeur and PUBLICATION.edition = edition and PUBLICATION.annee_de_publication = annee_de_publication)); + +alter table propose add constraint FKpro_UTI_FK + foreign key (email -- Compound attribute --) + references UTILISATEUR; + +alter table propose add constraint FKpro_PUB_FK + foreign key (ID_PUB) + references PUBLICATION; + +alter table PUBLICATION add constraint FKou_est_un_FK + foreign key (numero, editeur, edition, annee_de_publication) + references PERIODIQUE; + +alter table PUBLICATION add constraint FKou_est_un_CHK + check((numero is not null and editeur is not null and edition is not null and annee_de_publication is not null) + or (numero is null and editeur is null and edition is null and annee_de_publication is null)); + +alter table PUBLICATION add constraint FKou_encore_est_un_FK + foreign key (id) + references RAPPORT; + +alter table PUBLICATION add constraint FKest_un_FK + foreign key (ISBN) + references LIVRE; + +alter table RAPPORT add constraint ID_RAPPORT_CHK + check(exists(select * from PUBLICATION + where PUBLICATION.id = id)); + +alter table RAPPORT add constraint ID_RAPPORT_CHK + check(exists(select * from redige_par + where redige_par.id = id)); + +alter table redige_par add constraint FKred_RAP + foreign key (id) + references RAPPORT; + +alter table redige_par add constraint FKred_Aut_FK + foreign key (nom) + references Auteur; + +alter table ecrit_par add constraint FKecr_LIV_FK + foreign key (ISBN) + references LIVRE; + +alter table ecrit_par add constraint FKecr_Aut + foreign key (nom) + references Auteur; + + +-- Index Section +-- _____________ + +create unique index ID_a_IND + on a (ID_PUB, mot); + +create index FKa_MOT_IND + on a (mot); + +create index FKprix_en_IND + on ACHAT (code); + +create unique index FKprovient_d_un_IND + on ACHAT (ID_EXE); + +create unique index ID_Auteur_IND + on Auteur (nom); + +create unique index ID_autorise_l_acces_IND + on autorise_l_acces (email -- Compound attribute --, nom); + +create index FKaut_LAB_IND + on autorise_l_acces (nom); + +create unique index ID_DEVISE_IND + on DEVISE (code); + +create unique index ID_IND + on EXEMPLAIRE (ID_EXE); + +create index FKpossede_IND + on EXEMPLAIRE (nom); + +create index FKemprunte_IND + on EXEMPLAIRE (email -- Compound attribute --); + +create index FKcomporte_IND + on EXEMPLAIRE (ID_PUB); + +create unique index ID_interesse_par_IND + on interesse_par (mot, email -- Compound attribute --); + +create index FKint_UTI_IND + on interesse_par (email -- Compound attribute --); + +create unique index ID_LABORATOIRE_IND + on LABORATOIRE (nom); + +create unique index ID_LIVRE_IND + on LIVRE (ISBN); + +create unique index ID_MOT_CLE_IND + on MOT_CLE (mot); + +create unique index ID_PERIODIQUE_IND + on PERIODIQUE (numero, editeur, edition, annee_de_publication); + +create index FKpro_UTI_IND + on propose (email -- Compound attribute --); + +create unique index FKpro_PUB_IND + on propose (ID_PUB); + +create unique index ID_IND + on PUBLICATION (ID_PUB); + +create unique index FKou_est_un_IND + on PUBLICATION (numero, editeur, edition, annee_de_publication); + +create unique index FKou_encore_est_un_IND + on PUBLICATION (id); + +create unique index FKest_un_IND + on PUBLICATION (ISBN); + +create unique index ID_RAPPORT_IND + on RAPPORT (id); + +create unique index ID_redige_par_IND + on redige_par (id, nom); + +create index FKred_Aut_IND + on redige_par (nom); + +create unique index ID_UTILISATEUR_IND + on UTILISATEUR (email -- Compound attribute --); + +create unique index ID_ecrit_par_IND + on ecrit_par (nom, ISBN); + +create index FKecr_LIV_IND + on ecrit_par (ISBN); +