source: ruby/branches/0.0/adl_parser/lib/model.rb@ 167

Last change on this file since 167 was 167, checked in by KOBAYASHI, Shinji, 15 years ago

adjust for rails

File size: 1.6 KB
Line 
1require 'logger'
2
3
4module OpenEhr
5 module ADL
6 module Model
7 module Archetype
8 class ARCHETYPE
9 attr_accessor :adl_version, :archetype_id, :uid, :concept, :parent_archetype_id, :definition, :ontology, :invariants
10
11 def version
12 end
13
14 def previous_version
15 end
16
17 def short_concept_name
18 end
19
20 def concept_name
21 end
22
23 def physical_path
24 end
25
26 def logiacl_path
27 end
28
29 def is_specialized
30 end
31
32 def specilisation_depth
33 end
34
35 def node_ids_valid
36 end
37
38 def internal_references_valid
39 end
40
41 def constraint_references_valid
42 end
43
44 def is_valid
45 end
46 end
47
48
49 class ConstraintModel
50
51 class ArchetypeConstraint
52 def is_valid
53 end
54
55 def has_path
56 end
57
58 def path
59 end
60
61 def is_subset_of
62 end
63 end
64
65 class CObject
66 end
67
68 class CAttribute
69 end
70
71 class CSingleAttribute < CAttribute
72 end
73
74 class CMultipleAttribute < CAttribute
75 end
76
77 class CDefinedObject
78 end
79
80 class CComplexObject < CDefinedObject
81 end
82
83
84 class CPrimitiveObject < CDefinedObject
85 end
86
87 class CDomainType < CDefinedObject
88 end
89
90 class CReferenceObject < CObject
91 end
92 end
93
94 class Assertion
95 end
96
97 class Ontology
98 end
99 end
100 end
101 end
102end
Note: See TracBrowser for help on using the repository browser.