1Rose::DB::Object::ConveUnsteironCMoanntargiebruR:to:esNdeu:lP:leD(rB3l:):DOobcjuemcetn:t:aCtoinovnentionManager::Null(3)
2
3
4
6 Rose::DB::Object::ConventionManager::Null - A singleton convention
7 manager that does nothing.
8
10 package My::Product;
11
12 use Rose::DB::Object;
13 our @ISA = qw(Rose::DB::Object);
14
15 # This really sets the convention manager to a
16 # Rose::DB::Object::ConventionManager::Null object
17 __PACKAGE__->meta->convention_manager(undef);
18 ...
19
21 Rose::DB::Object::ConventionManager::Null is a subclass of
22 Rose::DB::Object::ConventionManager that does nothing. That is, it
23 overrides every method with no-ops that always return undef or an empty
24 list, depending on calling context. This class is a singleton.
25
26 When a piece of metadata is missing, the convention manager is asked to
27 provide it. This "null" convention manager class is useful if you do
28 not want the convention manager to provide any information. In other
29 words, use this convention manager class if you want to force all
30 metadata to be explicitly specified.
31
32 See the Rose::DB::Object::ConventionManager documentation for more
33 information on convention managers.
34
36 John C. Siracusa (siracusa@gmail.com)
37
39 Copyright (c) 2010 by John C. Siracusa. All rights reserved. This
40 program is free software; you can redistribute it and/or modify it
41 under the same terms as Perl itself.
42
43
44
45perl v5.30.2 2R0o2s0e-:0:4D-B0:6:Object::ConventionManager::Null(3)