but mam,in the 8c method , the super class already has a attribute that is "jobtype".....then how did you add the "job type" as a type attribute in the scema....
The type (or discriminating) attribute whose value indicates the subclass to which each tuple belongs. This option works only for a specialization whose subclasses are disjoint. In this example job_type is also the attribute of superclass. So the same you can use as a flag attribute For example if the Bank Account is of two types 1. Saving Account & 2. Current Account ; so in this case you can use aacount_type as a type attribute.
nice
Thank you
but mam,in the 8c method , the super class already has a attribute that is "jobtype".....then how did you add the "job type" as a type attribute in the scema....
The type (or discriminating) attribute whose value indicates the subclass to which each tuple belongs. This option works only for a
specialization whose subclasses are disjoint. In this example job_type is also the attribute of superclass. So the same you can use as a flag attribute For example if the Bank Account is of two types 1. Saving Account & 2. Current Account ; so in this case you can use aacount_type as a type attribute.
how to map inheritance (tree structure) ?
can we combine different options to one relational mapping?
Yes it is possible, for example in specialization you can use Option 8A,8B, 8C, 8D depends on number of attributes of superclass , subclasses.