The Data Table Class (full version) Here's the definition with both dates and an explicit variable definition. It's still not a big deal.
Other issues, such as missing values (NULL elements, in DBMS terminology), may need to be faced.
module StatisticalData { typedef sequence<double> NumericVariable; typedef sequence<long> IntegerVariable; typedef sequence<boolean> BooleanVariable; typedef sequence<string> StringVariable; typedef sequence<short> ShortIntegerVariable; interface DateVariable { attribute ShortIntegerVariable day; attribute ShortIntegerVariable month; attribute IntegerVariable year; }; union DataTableVariable switch(short) { case 1: NumericVariable numeric_case; case 2: IntegerVariable integer_case; case 3: BooleanVariable boolean_case case 4: StringVariable string_case; case 5: DateVariable date_case; }; typedef sequence<DataTableVariable> DataTableData; interface DataTable { attribute DataTableData data; attribute StringVariable columns; attribute long useForRows; }; };
Last modified: Sun Jul 5 18:20:05 EDT 1998
Simple Explicit Variables Dates The Whole Thing Why are we doing this? Start
© Lucent Technologies.