Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Rose::DB::Object::ConventionManager::Null
A singleton convention manager that does nothing.

Rose::DB::Object::ConventionManager::Null - A singleton convention manager that does nothing.


NAME

Rose::DB::Object::ConventionManager::Null - A singleton convention manager that does nothing.


SYNOPSIS


  package My::Product;

  use Rose::DB::Object;

  our @ISA = qw(Rose::DB::Object);

  # This really sets the convention manager to a

  # Rose::DB::Object::ConventionManager::Null object

  __PACKAGE__->meta->convention_manager(undef);

  ...


DESCRIPTION

the Rose::DB::Object::ConventionManager::Null manpage is a subclass of the Rose::DB::Object::ConventionManager manpage that does nothing. That is, it overrides every method with no-ops that always return undef or an empty list, depending on calling context. This class is a singleton.

When a piece of metadata is missing, the convention manager is asked to provide it. This ``null'' convention manager class is useful if you do not want the convention manager to provide any information. In other words, use this convention manager class if you want to force all metadata to be explicitly specified.

See the the Rose::DB::Object::ConventionManager manpage documentation for more information on convention managers.


AUTHOR

John C. Siracusa (siracusa@gmail.com)


COPYRIGHT

Copyright (c) 2007 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy