use MooseX::Declare;
-class SQL::Translator::Object::Column {
+class SQL::Translator::Object::Column extends SQL::Translator::Object {
use MooseX::Types::Moose qw(ArrayRef Bool HashRef Int Maybe Str);
use MooseX::MultiMethods;
use SQL::Translator::Types qw(ColumnSize Constraint Table Trigger);
- extends 'SQL::Translator::Object';
has 'table' => (
is => 'rw',
use MooseX::Declare;
-class SQL::Translator::Object::Constraint {
+class SQL::Translator::Object::Constraint extends SQL::Translator::Object {
use MooseX::Types::Moose qw(ArrayRef Bool HashRef Maybe Str Undef);
use MooseX::AttributeHelpers;
use SQL::Translator::Types qw(Column Table);
- extends 'SQL::Translator::Object';
has 'table' => (
is => 'rw',
use MooseX::Declare;
-class SQL::Translator::Object::ForeignKey {
+class SQL::Translator::Object::ForeignKey extends SQL::Translator::Object::Constraint {
use MooseX::Types::Moose qw(ArrayRef Maybe Undef Str);
- extends 'SQL::Translator::Object::Constraint';
has '+type' => (
default => 'FOREIGN KEY',
use MooseX::Declare;
-class SQL::Translator::Object::Index {
+class SQL::Translator::Object::Index extends SQL::Translator::Object {
use MooseX::Types::Moose qw(ArrayRef HashRef Str);
use MooseX::AttributeHelpers;
use SQL::Translator::Types qw(Column Table);
- extends 'SQL::Translator::Object';
has 'table' => (
is => 'rw',
use MooseX::Declare;
-class SQL::Translator::Object::PrimaryKey {
- extends qw(SQL::Translator::Object::Index SQL::Translator::Object::Constraint);
-
+class SQL::Translator::Object::PrimaryKey extends (SQL::Translator::Object::Index, SQL::Translator::Object::Constraint) {
has '+type' => (
default => 'PRIMARY KEY',
);
use MooseX::Declare;
-class SQL::Translator::Object::Procedure {
+class SQL::Translator::Object::Procedure extends SQL::Translator::Object {
use MooseX::Types::Moose qw(ArrayRef Int Str);
- extends 'SQL::Translator::Object';
has 'name' => (
is => 'rw',
use MooseX::Declare;
-class SQL::Translator::Object::Schema {
+class SQL::Translator::Object::Schema extends SQL::Translator::Object {
use MooseX::Types::Moose qw(HashRef Maybe Str);
use MooseX::AttributeHelpers;
use SQL::Translator::Types qw(Procedure Table Trigger View);
- extends 'SQL::Translator::Object';
has 'name' => (
is => 'rw',
use MooseX::Declare;
-class SQL::Translator::Object::Sequence {
+class SQL::Translator::Object::Sequence extends SQL::Translator::Object {
use MooseX::Types::Moose qw(Str);
- use SQL::Translator::Types qw();
- extends 'SQL::Translator::Object';
has 'name' => (
is => 'ro',
use MooseX::Declare;
-class SQL::Translator::Object::Table {
+class SQL::Translator::Object::Table extends SQL::Translator::Object {
use MooseX::Types::Moose qw(Any ArrayRef Bool HashRef Maybe Str);
use MooseX::AttributeHelpers;
use MooseX::MultiMethods;
use SQL::Translator::Types qw(Column Constraint Index Schema Sequence);
- use SQL::Translator::Object::Schema;
- extends 'SQL::Translator::Object';
has 'name' => (
is => 'rw',
use MooseX::Declare;
-class SQL::Translator::Object::Trigger {
+class SQL::Translator::Object::Trigger extends SQL::Translator::Object {
use MooseX::Types::Moose qw(Any ArrayRef HashRef Str);
use MooseX::AttributeHelpers;
use SQL::Translator::Types qw(Column);
- extends 'SQL::Translator::Object';
has 'name' => (
is => 'ro',
use MooseX::Declare;
-class SQL::Translator::Object::View {
+class SQL::Translator::Object::View extends SQL::Translator::Object {
use MooseX::Types::Moose qw(HashRef Str);
use MooseX::AttributeHelpers;
use SQL::Translator::Types qw(Column);
- extends 'SQL::Translator::Object';
has 'name' => (
is => 'rw',