| 1 | package Rose::DB::Object::Metadata::Column::Scalar; | ||
| 2 | |||
| 3 | 61 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 61 | ▶ | use Rose::Object::MakeMethods::Generic; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 61 | ▶ | use Rose::DB::Object::Metadata::Column; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 61 | our @ISA = qw(Rose::DB::Object::Metadata::Column); | |
| 9 | |||
| 10 | 61 | our $VERSION = '0.60'; | |
| 11 | |||
| 12 | use Rose::Class::MakeMethods::Generic | ||
| 13 | 61 | ▶ | ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | 61 | inheritable_scalar => 'default_overflow', | |
| 15 | 61 | ); | |
| 16 | |||
| 17 | 61 | __PACKAGE__->default_overflow('fatal'); | |
| 18 | |||
| 19 | 61 | __PACKAGE__->add_common_method_maker_argument_names | |
| 20 | ( | ||
| 21 | qw(default length check_in with_init init_method overflow) | ||
| 22 | ); | ||
| 23 | |||
| 24 | 61 | Rose::Object::MakeMethods::Generic->make_methods | |
| 25 | ( | ||
| 26 | { preserve_existing => 1 }, | ||
| 27 | |||
| 28 | 'scalar --get_set_init' => | ||
| 29 | [ | ||
| 30 | overflow => { check_in => [ qw(truncate warn fatal) ] }, | ||
| 31 | ], | ||
| 32 | |||
| 33 | scalar => [ __PACKAGE__->common_method_maker_argument_names ] | ||
| 34 | ); | ||
| 35 | |||
| 36 | sub init_with_dbi_column_info | ||
| 37 | 0 | ▶ | { |
|
Subroutine
init_with_dbi_column_info: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 38 | 0 | my($self, $col_info) = @_; | |
| 39 | |||
| 40 | 0 | $self->SUPER::init_with_dbi_column_info($col_info); | |
| 41 | |||
| 42 | 0 | $self->length($col_info->{'COLUMN_SIZE'}); | |
| 43 | |||
| 44 | 0 | return; | |
| 45 | } | ||
| 46 | |||
| 47 | 179 | ▶ | sub init_overflow { __PACKAGE__->default_overflow } |
|
Subroutine
init_overflow: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 48 | |||
| 49 | 61 | 1; | |
| 50 | |||
| 51 | __END__ | ||