The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ObjectDB::Relationship - Relationships for ObjectDB

SYNOPSIS

    my $rel = ObjectDB::Relationship->build(name => 'foo', type => 'many to one');

DESCRIPTION

    This is a relationship factory that is used internally.

METHODS

build

Returns a new relationship instance. Could be one of ObjectDB::Relationship::OneToOne, ObjectDB::Relationship::OneToMany, ObjectDB::Relationship::ManyToOne, ObjectDB::Relationship::ManyToMany.

AUTHOR

Viacheslav Tykhanovskyi, vti@cpan.org.

COPYRIGHT

Copyright (C) 2009, Viacheslav Tykhanovskyi.

This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.