[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

6025.0. "Question note attribute values." by TPLAB::DEMOOR () Mon Jun 20 1994 06:29

I'am developing an access module generator, that adds a child to an existing
two level parent - child1, child2, child3  access module.

When I add a child4 entity, can I have the same code for the child4 attributes,
than the codes for, say child3 ?

Example child3  state, code 11		child4   number of errors, code 11
		color, code 12			 state,            code 12
		age,   code 13			 level,            code 13

Thanks in advance,

Kurt
T.RTitleUserPersonal
Name
DateLines
6025.1YesTAEC::FLAUWMarc Flauw, CEM Technical Office, VBOMon Jun 20 1994 07:5216
Kurt,

The rules for the assignement of attribute names and codes are listed inthe SRM,
section 7.4.3 Philosophy for Assigning Names and Codes.

Your question is answered by point 8 :
"An attribute or event code must be unique within the set of all attribute and
event codes defined for the same entity class".

In your example, child3 and child4 are 2 different sub-classes and therefore you
can attribute codes in class child4 with same numbers as attribute codes in
class child3. 

Best regards,

Marc.