Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Subtype Inheritance Subclass - kinds of data

Subtype Inheritance Subclass - kinds of data

From: Kelly John Carney <Kelly_Carney_at_maxtor.com>
Date: Sat, 22 May 1999 15:58:41 GMT
Message-ID: <3746D42E.A671479B@maxtor.com>


Here's my problem:

I can explain this via an OO class hierarchy

   SupplierMeasurementClass //base-class
|

   +--YieldMeasurementClass //subclass
|

   +--SliderMeasurementClass //subclass
|

   +--ParametricMeasurementClass //subclass

// This is the base or super class
SupplierMeasurementClass

   Attributes:

      ProgramID
      PartID
      SupplierID
      MeasureID
      Datetime

// Subclasses or kinds of SupplierMeasurements YieldMeasurementClass :: SupplierMeasurementClass

   Attributes:

      //all inherited from base class
      Tested
      Passed

SliderMeasurementClass :: SupplierMeasurementClass

   Attributes:

      //all inherited from base class
      WaferID
      LotNum
      Value

ParametricMeasurementClass :: SupplierMeasurementClass

   Attributes:

      //all inherited from base class
      value


I want to be able to accommodate differing numbers of columns needed to hold measurement data attributes. For instance I can hold all the info for a ParametricMeasurement in a single "value" column, but a YieldMeasure needs "Tested" and "Passed" columns. I remember seeing Oracle subtype tables, or something like that, and thought using them would apply here.

I've been searching the internet most of the morning and haven't found a good example to help me. Help?

-kjc Received on Sat May 22 1999 - 10:58:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US