Ignore:
Timestamp:
Apr 30, 2008, 8:34:43 PM (16 years ago)
Author:
Tatsukawa, Akimichi
Message:

created an experimental openehr_models gem package

Location:
ruby/trunk/models/am/archetype/constraint_model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ruby/trunk/models/am/archetype/constraint_model/archetype_constraint.rb

    r4 r21  
    44    module Archetype
    55      module Constraint_Model
    6         class Archetype_Constraint
     6        class ARCHETYPE_CONSTRAINT
    77         
    88        end
     9
     10        class C_OBJECT < ARCHETYPE_CONSTRAINT
     11         
     12        end
     13
     14        class C_ATTRIBUTE < ARCHETYPE_CONSTRAINT
     15         
     16        end
     17
     18        class C_DEFINED_OBJECT < C_OBJECT
     19         
     20        end
     21
     22        class C_PRIMITIVE_OBJECT < C_DEFINED_OBJECT
     23         
     24        end
     25
     26        class C_COMPLEX_OBJECT < C_DEFINED_OBJECT
     27          attr_accessor :attributes, :attributes_valid
     28         
     29        end
     30
     31        class C_DOMAIN_TYPE < C_DEFINED_OBJECT
     32         
     33        end
     34
     35        class C_REFERENCE_OBJECT < C_OBJECT
     36         
     37        end
     38
     39        class ARCHETYPE_INTERNAL_REF < C_REFERENCE_OBJECT
     40         
     41        end
     42
     43        class ARCHETYPE_SLOT < C_REFERENCE_OBJECT
     44         
     45        end
     46
     47        class CONSTRAINT_REF < C_REFERENCE_OBJECT
     48         
     49        end
     50
    951      end
    1052    end
  • ruby/trunk/models/am/archetype/constraint_model/primitive.rb

    r4 r21  
    33    module Archetype
    44      module Constraint_Model
     5
    56        module Primitive
     7
    68          class C_Primitive
    79            def assumed_value
     
    1820            end
    1921          end
     22
    2023          class C_Boolean < C_Primitive
    2124            attr_accessor :assumed_value
     
    5053              end             
    5154            end
     55
    5256            private
     57
    5358            def binary_consistency(true_valid, false_valid)
    5459              if !true_valid && !false_valid
     
    5762            end
    5863          end # of C_Boolean
     64
    5965          class C_Integer < C_Primitive
    6066           
Note: See TracChangeset for help on using the changeset viewer.