Re: How to model properties?

From: Brian Inglis <Brian.dot.Inglis_at_Compuserve.com>
Date: Sun, 14 Oct 2001 01:20:42 -0600
Message-ID: <nctgst45eu0blqlc6snahm7h9hgp18gcjq_at_4ax.com>


On 12 Oct 2001 09:09:07 -0700, jraustin1_at_hotmail.com (James) wrote:

>Can an object's property have mulitple values? What is the difference
>between an object with a property with multiple values vs an object
>with a child with multiple children. What criterias can be used to
>determine which way it should be modeled? Are the friends of John a
>property of John or just relationships. How are properties of an
>object fundamentally different than relatioships with that object?
>In the diagram below "." represents a property.
>"->" represent a reference to an object.
>
>John
> .Friends
> ->Mary
> ->Bill
>
>John
> FriendsFolder
> ->Mary
> ->Bill

John isA friend of Mary and Bill
=> relation Person N<->N Person
John hasA name, DOB, residence, phone
=> attribute Person 1<->1 Property

Read up about isA and hasA relations, attributes, data modelling and normalization methods to find out about the difference.

Thanks. Take care, Brian Inglis Calgary, Alberta, Canada

-- 
Brian.Inglis_at_CSi.com 	(Brian dot Inglis at SystematicSw dot ab dot ca)
    fake address		use address above to reply
tosspam_at_aol.com abuse_at_aol.com abuse_at_yahoo.com abuse_at_hotmail.com abuse_at_msn.com abuse_at_sprint.com abuse_at_earthlink.com abuse_at_cadvision.com abuse_at_ibsystems.com uce_at_ftc.gov
						spam traps
Received on Sun Oct 14 2001 - 09:20:42 CEST

Original text of this message