view Lib/CDBI/Meta.pm @ 167:1f7a6d762394

SQL schema in progress
author sourcer
date Thu, 12 May 2011 08:57:19 +0400
parents 76515373dac0
children
line wrap: on
line source

package CDBI::Meta::BindingAttribute;
use strict;
use warnings;

use parent qw(IMPL::Object);
use IMPL::Class::Property;
use IMPL::Class::Property::Direct;

BEGIN {
    public _direct property Binding => prop_get;
    public _direct property Name => prop_get;
}

sub CTOR {
    my ($this,$name,$binding) = @_;
    $this->{$Binding} = $binding;
    $this->{$Name} = $name;
}

1;