Book a Demo

Author Topic: How to denote a 'Composite Attribute' in EA?  (Read 2624 times)

sivaraj2003

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to denote a 'Composite Attribute' in EA?
« on: January 31, 2007, 03:09:57 am »
How to denote a 'Composite Attribute' in EA?

For more details on a "Composite Attribute" please refer:
http://cs.anu.edu.au/student/comp3420/lecs/lec14/ClassesEntities_COMP3420.shtml


For example:

'Address' is an composite attribute of 'Student' class.

The 'Address' attribute has other simple attributes like 'Street', 'Town', 'City', 'State' and 'Zip'.

By definition, the components of a composite attribute are written underneath the name of the composite attribute and are indented to the right.

How to achieve this in EA?

Thanks in advance :)
« Last Edit: January 31, 2007, 03:49:50 am by sivaraj2003 »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: How to denote a 'Composite Attribute' in EA?
« Reply #1 on: January 31, 2007, 03:42:08 am »
Do you have any a priori suggestions as to how you might attempt to create such "composite attributes"?

Have you tried creating the appropriate code snippet and reverse engineering it?

Attempting to create the code snippet should lead you to the kinds of modelling constructs you will need to represent them...

BTW: I know how I represent "composite attributes", but your requirements may vary - particularly if the assignment has specific requirements...  ;)

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!