1Rose::DB::Object::MetadUastear::CCoonlturmiRnbo:us:teNe:ud:mDePBre:ir:clO(b3Dj)oeccutm:e:nMteattaidoanta::Column::Numeric(3)
2
3
4

NAME

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

SYNOPSIS

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

DESCRIPTION

16       Objects of this class store and manipulate metadata for numeric 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::Scalar.
22       Inherited methods that are not overridden will not be documented a
23       second time here.  See the Rose::DB::Object::Metadata::Column::Scalar
24       documentation for 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       precision [INT]
44           Get or set the precision of the numeric value.  The precision is
45           the total count of significant digits in the whole number. That is,
46           the number of digits to both sides of the decimal point. For
47           example, the number 23.5141 has a precision of 6.
48
49       scale [INT]
50           Get or set the scale of the numeric value.  The scale is the count
51           of decimal digits in the fractional part, to the right of the
52           decimal point.  For example, the number 23.5141 has a scale of 4.
53           Integers can be considered to have a scale of zero.
54
55       type
56           Returns "numeric".
57

AUTHOR

59       John C. Siracusa (siracusa@gmail.com)
60

LICENSE

62       Copyright (c) 2010 by John C. Siracusa.  All rights reserved.  This
63       program is free software; you can redistribute it and/or modify it
64       under the same terms as Perl itself.
65
66
67
68perl v5.34.0                    Ro2s0e2:2:-D0B1:-:2O1bject::Metadata::Column::Numeric(3)
Impressum