annotate Lib/IMPL/ORM/Schema/ValueType.pm @ 79:2d1c3f713280

ORM concept in development
author wizard
date Mon, 05 Apr 2010 00:20:34 +0400
parents 16ada169ca75
children 4267a2ac3d46
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
1 package IMPL::ORM::Schema::ValueType;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
2
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
3 use strict;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
4
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
5 use base qw(IMPL::DOM::Node);
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
6
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
7 our %CTOR = (
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
8 'IMPL::DOM::Node' => sub { nodeName => 'ValueType' }
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
9 );
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
10
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
11 use IMPL::Class::Property;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
12
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
13 BEGIN {
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
14 public property typeName => prop_all;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
15 public property typeReflected => prop_all;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
16 }
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
17
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
18 sub CTOR {
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
19 my ($this,$typeName,$typeReflected) = @_;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
20
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
21 $this->typeName($typeName);
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
22 $this->typeReflected($typeReflected);
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
23 }
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
24
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
25 1;
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
26
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
27 __END__
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
28
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
29 =pod
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
30
16ada169ca75 migrating to the Eclipse IDE
wizard@linux-odin.local
parents: 43
diff changeset
31 =cut