1Rose::DB::Object::MetadUastear::CCoonlturminb:u:tREeondsuemP:(e:3rD)lB:D:oOcbujmeecntt:a:tMieotnadata::Column::Enum(3)
2
3
4
6 Rose::DB::Object::Metadata::Column::Enum - Enumerated column metadata.
7
9 use Rose::DB::Object::Metadata::Column::Enum;
10
11 $col = Rose::DB::Object::Metadata::Column::Enum->new(...);
12 $col->make_methods(...);
13 ...
14
16 Objects of this class store and manipulate metadata for enum columns.
17 Column metadata objects store information about columns (data type,
18 size, etc.) and are responsible for creating object methods that
19 manipulate column values. An enum column accepts a restricted set of
20 string values which are usually stored as sequential integers in the
21 database.
22
23 This class inherits from Rose::DB::Object::Metadata::Column::Scalar.
24 Inherited methods that are not overridden will not be documented a
25 second time here. See the Rose::DB::Object::Metadata::Column::Scalar
26 documentation for more information.
27
29 "get_set"
30 Rose::DB::Object::MakeMethods::Generic, enum, "interface =>
31 'get_set', ..."
32
33 "get"
34 Rose::DB::Object::MakeMethods::Generic, enum, "interface => 'get',
35 ..."
36
37 "get_set"
38 Rose::DB::Object::MakeMethods::Generic, enum, "interface => 'set',
39 ..."
40
41 See the Rose::DB::Object::Metadata::Column documentation for an
42 explanation of this method map.
43
45 type
46 Returns "enum".
47
48 values [VALUES]
49 Get or set a reference to an array of valid column values. This
50 attribute is required.
51
53 John C. Siracusa (siracusa@gmail.com)
54
56 Copyright (c) 2010 by John C. Siracusa. All rights reserved. This
57 program is free software; you can redistribute it and/or modify it
58 under the same terms as Perl itself.
59
60
61
62perl v5.28.0 20R1o5s-e0:3:-D1B8::Object::Metadata::Column::Enum(3)