J
jonz
Hi,
I'm in the process of designing a database for certain geographical
areas. This is will be one of the first databases I create. I've identified
some entities with different sets of attributes:
-Danger_area
-Transportation_area
-School_area
-Playing_area
There are a few geographical attributes that are common for all of these
entities.
I'm thinking about using a superclass (General_area) to hold approximately
these attributes:
-area_id {PK} (relates the entity to a map I've made)
-state
-county
-description
The relation between the superclass and the subclasses is going to be
{Mandatory, Or}. My initial reason for placing these attributes in a
superclass was probably to reduce the number of attributes in the other
classes(this is probably not a very good argument?). After having done this,
I thought that it also seemed logical to isolate the geographical attributes
from other attributes.
The database isn't going to be huge. I think there'll be less than 1000
areas (tuples)in total. Do you think it is reasonable to use a superclass in
this situation, or is it better to include the geograpical attributes in each
of the specific area entities? Is it straightforward to implement
superclasses in Access?
I'm in the process of designing a database for certain geographical
areas. This is will be one of the first databases I create. I've identified
some entities with different sets of attributes:
-Danger_area
-Transportation_area
-School_area
-Playing_area
There are a few geographical attributes that are common for all of these
entities.
I'm thinking about using a superclass (General_area) to hold approximately
these attributes:
-area_id {PK} (relates the entity to a map I've made)
-state
-county
-description
The relation between the superclass and the subclasses is going to be
{Mandatory, Or}. My initial reason for placing these attributes in a
superclass was probably to reduce the number of attributes in the other
classes(this is probably not a very good argument?). After having done this,
I thought that it also seemed logical to isolate the geographical attributes
from other attributes.
The database isn't going to be huge. I think there'll be less than 1000
areas (tuples)in total. Do you think it is reasonable to use a superclass in
this situation, or is it better to include the geograpical attributes in each
of the specific area entities? Is it straightforward to implement
superclasses in Access?