GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ROSE::DB::OBJECT::CONVENTIONMANAGER::NULL (3)

.ds Aq ’

NAME

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

CONTENTS

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

Rose::DB::Object::ConventionManager::Null is a subclass of Rose::DB::Object::ConventionManager 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 Rose::DB::Object::ConventionManager documentation for more information on convention managers.

AUTHOR

John C. Siracusa (siracusa@gmail.com)

LICENSE

Copyright (c) 2010 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.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ROSE::DB::OBJECT::CONVENTIONMANAGER::NULL (3) 2015-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.