1Rose::DB::Object::MetadUastear::CCoonlturminbR:uo:tsSeecd:a:lPDaeBrr:(l:3O)Dbojceucmte:n:tMaettiaodnata::Column::Scalar(3)
2
3
4

NAME

6       Rose::DB::Object::Metadata::Column::Scalar - Scalar column metadata.
7

SYNOPSIS

9         use Rose::DB::Object::Metadata::Column::Scalar;
10
11         $col = Rose::DB::Object::Metadata::Column::Scalar->new(...);
12         $col->make_methods(...);
13         ...
14

DESCRIPTION

16       Objects of this class store and manipulate metadata for scalar columns
17       in a database.  Column metadata objects store information about columns
18       (data type, size, etc.) and are responsible for creating object methods
19       that manipulate column values.
20
21       This class inherits from Rose::DB::Object::Metadata::Column. Inherited
22       methods that are not overridden will not be documented a second time
23       here.  See the Rose::DB::Object::Metadata::Column documentation for
24       more information.
25

METHOD MAP

27       "get_set"
28           Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
29           'get_set', ..."
30
31       "get"
32           Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
33           'get', ..."
34
35       "get_set"
36           Rose::DB::Object::MakeMethods::Generic, scalar, "interface =>
37           'set', ..."
38
39       See the Rose::DB::Object::Metadata::Column documentation for an
40       explanation of this method map.
41

OBJECT METHODS

43       check_in [ARRAYREF]
44           Get or set a reference to an array of valid column values.
45
46       default VALUE
47           Get or set the default value for the column.
48
49       init_method [NAME]
50           Get or set the name of the "init" method.  See the documentation
51           for the "scalar" method type in
52           Rose::DB::Object::MakeMethods::Generic for more information.
53
54       length [INT]
55           Get or set the length of the column in characters.
56
57       overflow [BEHAVIOR]
58           Get or set the setting that determines the behavior when the column
59           value is greater than length characters.  Valid values for BEHAVIOR
60           are:
61
62           fatal
63               Throw an exception.
64
65           truncate
66               Truncate the column value to the correct length.
67
68           warn
69               Print a warning message.
70
71           The default value is "fatal".
72
73       type
74           Returns "scalar".
75
76       with_init [BOOL]
77           Get or set the flag that determines whether or not the method
78           created by "make_method()" will include an "init" method as well.
79           See the documentation for the scalar method type in
80           Rose::DB::Object::MakeMethods::Generic for more information.
81

AUTHOR

83       John C. Siracusa (siracusa@gmail.com)
84

LICENSE

86       Copyright (c) 2010 by John C. Siracusa.  All rights reserved.  This
87       program is free software; you can redistribute it and/or modify it
88       under the same terms as Perl itself.
89
90
91
92perl v5.32.0                     R2o0s2e0:-:0D7B-:2:8Object::Metadata::Column::Scalar(3)
Impressum