Rose::DB::Object::Metadata::Column

Rose::DB::Object::Metadata::Column is Perl base class for database column metadata objects.
Download

Rose::DB::Object::Metadata::Column Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • John C. Siracusa
  • Publisher web site:
  • http://search.cpan.org/~jsiracusa/

Rose::DB::Object::Metadata::Column Tags


Rose::DB::Object::Metadata::Column Description

Rose::DB::Object::Metadata::Column is Perl base class for database column metadata objects. Rose::DB::Object::Metadata::Column is Perl base class for database column metadata objects.SYNOPSIS package MyColumnType; use Rose::DB::Object::Metadata::Column; our @ISA = qw(Rose::DB::Object::Metadata::Column); ...This is the base class for objects that store and manipulate database column metadata. Column metadata objects store information about columns (data type, size, etc.) and are responsible for parsing, formatting, and creating object methods that manipulate column values.Rose::DB::Object::Metadata::Column objects stringify to the value returned by the name method. This allows full-blown column objects to be used in place of column name strings in most situations.MAKING METHODSA Rose::DB::Object::Metadata::Column-derived object is responsible for creating object methods that manipulate column values. Each column object can make zero or more methods for each available column method type. A column method type describes the purpose of a method. The default column method types are:get_setA method that can both get and set the column value. If an argument is passed, then the column value is set. In either case, the current column value is returned.getA method that returns the current column value.setA method that sets the column value.Methods are created by calling make_methods. A list of method types can be passed to the call to make_methods. If absent, the list of method types is determined by the auto_method_types method. A list of all possible method types is available through the available_method_types method.These methods make up the "public" interface to column method creation. There are, however, several "protected" methods which are used internally to implement the methods described above. (The word "protected" is used here in a vaguely C++ sense, meaning "accessible to subclasses, but not to the public.") Subclasses will probably find it easier to override and/or call these protected methods in order to influence the behavior of the "public" method maker methods.A Rose::DB::Object::Metadata::Column object delegates method creation to a Rose::Object::MakeMethods-derived class. Each Rose::Object::MakeMethods-derived class has its own set of method types, each of which takes it own set of arguments.Requirements:· Perl Requirements: · Perl


Rose::DB::Object::Metadata::Column Related Software