Automatic generation produced by ISE Eiffel

Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:
note description: "Description of a database table column" legal: "See notice at end of class." status: "See notice at end of class." date: "$Date: 2009-04-10 19:38:01 -0800 (Fri, 10 Apr 2009) $" revision: "$Revision: 78205 $" class interface COLUMNS [G -> DATABASE create default_create end] create default_create -- Process instances of classes with no creation clause. -- (Default: do nothing.) -- (from ANY) feature -- Access Binary_type_database: INTEGER_32 = 13 -- Binary type -- (from DB_TYPES) Boolean_type_database: INTEGER_32 = 10 -- Boolean Eiffel type -- (from DB_TYPES) Character_type_database: INTEGER_32 = 11 -- Character Eiffel type -- (from DB_TYPES) Date_type_database: INTEGER_32 = 6 -- Datetime Eiffel type -- (from DB_TYPES) db_spec: DATABASE -- Handle to actual database -- (from HANDLE_SPEC) ensure -- from HANDLE_SPEC not_void: Result /= Void Decimal_type_database: INTEGER_32 = 12 -- Decimal type -- (from DB_TYPES) float_type_database: INTEGER_32 -- Double type code in Ingres -- (from TYPES) generating_type: TYPE [detachable COLUMNS [G]] -- Type of current object -- (type of which it is a direct instance) -- (from ANY) ensure -- from ANY generating_type_not_void: Result /= Void generator: STRING_8 -- Name of current object's generating class -- (base class of the type of which it is a direct instance) -- (from ANY) ensure -- from ANY generator_not_void: Result /= Void generator_not_empty: not Result.is_empty Integer_16_type_database: INTEGER_32 = 4 -- Integer Eiffel type -- (from DB_TYPES) Integer_32_type_database: INTEGER_32 = 3 -- Integer Eiffel type -- (from DB_TYPES) Integer_64_type_database: INTEGER_32 = 5 -- Integer Eiffel type -- (from DB_TYPES) integer_type_database: INTEGER_32 -- Integer type code in Ingres -- (from TYPES) Manager: DATABASE_SESSION_MANAGER -- The session manager -- (from DATABASE_SESSION_MANAGER_ACCESS) Null_type: INTEGER_32 = 0 -- Null type -- (from DB_TYPES) Real_32_type_database: INTEGER_32 = 8 -- Real Eiffel type -- (from DB_TYPES) Real_64_type_database: INTEGER_32 = 9 -- Float Eiffel type -- (from DB_TYPES) real_type_database: INTEGER_32 -- Real type code in Ingres -- (from TYPES) Wide_string_type_database: INTEGER_32 = 2 -- String Eiffel type -- (from DB_TYPES) String_type_database: INTEGER_32 = 1 -- String Eiffel type -- (from DB_TYPES) Time_type: INTEGER_32 = 7 -- Time Eiffel type -- (from DB_TYPES) Unknown_type: INTEGER_32 = -1 -- Unknown type -- (from DB_TYPES) feature -- Comparison frozen deep_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void -- or attached to isomorphic object structures? -- (from ANY) ensure -- from ANY instance_free: class shallow_implies_deep: standard_equal (a, b) implies Result both_or_none_void: (a = Void) implies (Result = (b = Void)) same_type: (Result and (a /= Void)) implies (b /= Void and then a.same_type (b)) symmetric: Result implies deep_equal (b, a) frozen equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached -- to objects considered equal? -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.is_equal (b)) frozen is_deep_equal alias "≡≡≡" (other: COLUMNS [G]): BOOLEAN -- Are Current and other attached to isomorphic object structures? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY shallow_implies_deep: standard_is_equal (other) implies Result same_type: Result implies same_type (other) symmetric: Result implies other.is_deep_equal (Current) is_equal (other: COLUMNS [G]): BOOLEAN -- Is other attached to an object considered -- equal to current object? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY symmetric: Result implies other ~ Current consistent: standard_is_equal (other) implies Result frozen standard_equal (a: detachable ANY; b: like arg #1): BOOLEAN -- Are a and b either both void or attached to -- field-by-field identical objects of the same type? -- Always uses default object comparison criterion. -- (from ANY) ensure -- from ANY instance_free: class definition: Result = (a = Void and b = Void) or else ((a /= Void and b /= Void) and then a.standard_is_equal (b)) frozen standard_is_equal alias "" (other: COLUMNS [G]): BOOLEAN -- Is other attached to an object of the same type -- as current object, and field-by-field identical to it? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY same_type: Result implies same_type (other) symmetric: Result implies other.standard_is_equal (Current) feature -- Status report buffer_length: INTEGER_32 -- Column length in bytes column_id: INTEGER_32 -- Column identification number (number of column in table) column_name: detachable STRING_8 -- Column name column_nulls: detachable STRING_8 -- 'Y' if the column can contain null values, 'N' if the column can't contain null values column_size: INTEGER_32 -- precision of the Column column_typename: detachable STRING_8 conforms_to (other: ANY): BOOLEAN -- Does type of current object conform to type -- of other (as per Eiffel: The Language, chapter 13)? -- (from ANY) require -- from ANY other_not_void: other /= Void creation_date: detachable DATE_TIME -- Table creation date data_default: detachable STRING_8 -- Default field value data_length: INTEGER_32 -- Column length in bytes data_precision: INTEGER_32 -- precision of the Column data_scale: INTEGER_32 -- the scale of the column data_type: INTEGER_32 -- Data type of a column. Ingres has the following data type code(negative is for nullable field): -- integer -30/30 -- float -31/31 -- c -32/32 -- text -37/37 -- date -3/3 -- money -5/5 -- char -20/20 -- varchar -21/21 -- table_key -12/12 -- object_key -11/11 decimal_digits: INTEGER_32 -- the scale of the column default_length: INTEGER_32 -- Length of default value for a column density: INTEGER_32 -- Oracle V7 add ons. duplicate: like Current -- Duplicate copy of Current eiffel_type: INTEGER_32 -- Eiffel type code mapped to Ingres type data_type high_value: INTEGER_32 -- Oracle V7 add ons. length: INTEGER_32 -- Column length in bytes low_value: INTEGER_32 -- Oracle V7 add ons. nullable: INTEGER_32 -- if the column can get NULL value num_distinct: INTEGER_32 -- Oracle V7 add ons. num_prec_radix: INTEGER_32 -- the radix of the Column owner_id: INTEGER_32 -- Owner id of table of name table_name precision: INTEGER_32 -- precision of the Column radix: INTEGER_32 -- the radix of the Column same_type (other: ANY): BOOLEAN -- Is type of current object identical to type of other? -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY definition: Result = (conforms_to (other) and other.conforms_to (Current)) scale: INTEGER_32 -- the scale of the column status: INTEGER_32 --  Flag to check whether a column field can be null table_id: INTEGER_32 -- Table identification number table_name: detachable STRING_8 -- Table name table_owner: detachable STRING_8 -- Owner id of table of name table_name table_qualifier: detachable STRING_8 -- Qualifier of the table in which the column belongs table_type: detachable STRING_8 -- Table type feature -- Status setting set_all (col_id, dat_type, dat_len, sca, rad, prec, nulable, def_len, num_dist, low_val, high_val, dens, own_id, tb_id, stat: INTEGER_32; dat_def, qualifier, own, tab_name, tab_type, col_name, col_nulls, col_typename: detachable STRING_8; creat_date: detachable DATE_TIME) -- Set attributes with input parameter values. feature -- Removal clear_all -- Reset all attributes to default values. feature -- Duplication copy (other: COLUMNS [G]) -- Update current object using fields of object attached -- to other, so as to yield equal objects. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_equal: Current ~ other frozen deep_copy (other: COLUMNS [G]) -- Effect equivalent to that of: -- copy (other . deep_twin) -- (from ANY) require -- from ANY other_not_void: other /= Void ensure -- from ANY deep_equal: deep_equal (Current, other) frozen deep_twin: COLUMNS [G] -- New object structure recursively duplicated from Current. -- (from ANY) ensure -- from ANY deep_twin_not_void: Result /= Void deep_equal: deep_equal (Current, Result) frozen standard_copy (other: COLUMNS [G]) -- Copy every field of other onto corresponding field -- of current object. -- (from ANY) require -- from ANY other_not_void: other /= Void type_identity: same_type (other) ensure -- from ANY is_standard_equal: standard_is_equal (other) frozen standard_twin: COLUMNS [G] -- New object field-by-field identical to other. -- Always uses default copying semantics. -- (from ANY) ensure -- from ANY standard_twin_not_void: Result /= Void equal: standard_equal (Result, Current) frozen twin: COLUMNS [G] -- New object equal to Current -- twin calls copy; to change copying/twinning semantics, redefine copy. -- (from ANY) ensure -- from ANY twin_not_void: Result /= Void is_equal: Result ~ Current feature -- Basic operations frozen default: detachable COLUMNS [G] -- Default value of object's type -- (from ANY) frozen default_pointer: POINTER -- Default value of type POINTER -- (Avoid the need to write p.default for -- some p of type POINTER.) -- (from ANY) ensure -- from ANY instance_free: class default_rescue -- Process exception for routines with no Rescue clause. -- (Default: do nothing.) -- (from ANY) frozen do_nothing -- Execute a null action. -- (from ANY) ensure -- from ANY instance_free: class feature -- Output Io: STD_FILES -- Handle to standard file setup -- (from ANY) ensure -- from ANY instance_free: class io_not_void: Result /= Void out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY out_not_void: Result /= Void print (o: detachable ANY) -- Write terse external representation of o -- on standard output. -- (from ANY) ensure -- from ANY instance_free: class frozen tagged_out: STRING_8 -- New string containing terse printable representation -- of current object -- (from ANY) ensure -- from ANY tagged_out_not_void: Result /= Void feature -- Platform Operating_environment: OPERATING_ENVIRONMENT -- Objects available from the operating system -- (from ANY) ensure -- from ANY instance_free: class operating_environment_not_void: Result /= Void invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class COLUMNS
Classes Clusters Cluster hierarchy Chart Relations Flat contracts Go to:

-- Generated by Eiffel Studio --
For more details: eiffel.org