Ignore:
Timestamp:
Dec 10, 2009, 6:17:17 PM (14 years ago)
Author:
KOBAYASHI, Shinji
Message:

refs #74 archetype
rails updated

File:
1 moved

Legend:

Unmodified
Added
Removed
  • ruby/trunk/lib/open_ehr/am/archetype/constraint_model.rb

    r369 r372  
    11
    2 module OpenEhr
     2module OpenEHR
    33  module AM
    44    module Archetype
    5       module Constraint_Model
    6         class ARCHETYPE_CONSTRAINT
    7          
     5      module ConstraintModel
     6        class ArchetypeConstraint
     7
    88        end
    99
    10         class CARDINALITY
     10        class Cardinality
    1111          attr_accessor :interval, :is_ordered, :is_unique
    1212
     
    1818        end
    1919
    20         class C_OBJECT < ARCHETYPE_CONSTRAINT
     20        class CObject < ArchetypeConstraint
    2121          attr_accessor :node_id, :occurrences, :rm_type_name
    2222
     
    3636        end
    3737
    38         class C_ATTRIBUTE < ARCHETYPE_CONSTRAINT
     38        class CAttribute < ArchetypeConstraint
    3939          attr_accessor :rm_attribute_name, :existence, :children
    4040
     
    4747        end
    4848
    49         class C_DEFINED_OBJECT < C_OBJECT
     49        class CDefinedObject < CObject
    5050          attr_accessor :assumed_value
    5151         
     
    5656        end
    5757
    58         class C_PRIMITIVE_OBJECT < C_DEFINED_OBJECT
     58        class CPrimitiveObject < CDefinedObject
    5959          attr_accessor :item
    6060
     
    6565        end
    6666
    67         class C_COMPLEX_OBJECT < C_DEFINED_OBJECT
     67        class CComplexObject < CDefinedObject
    6868          attr_accessor :attributes, :attributes_valid
    6969
     
    8282        end
    8383
    84         class C_DOMAIN_TYPE < C_DEFINED_OBJECT
     84        class CDomainType < CDefinedObject
    8585         
    8686        end
    8787
    88         class C_REFERENCE_OBJECT < C_OBJECT
     88        class CReferenceObject < CObject
    8989        end
    9090
    91         class ARCHETYPE_INTERNAL_REF < C_REFERENCE_OBJECT
     91        class ArchetypeInternalRef < CReferenceObject
    9292          attr_accessor :target_path
    9393        end
    9494
    95         class ARCHETYPE_SLOT < C_REFERENCE_OBJECT
     95        class ArchetypeSlot < CReferenceObject
    9696          attr_accessor :includes, :excludes
    9797
     
    107107        end
    108108
    109         class CONSTRAINT_REF < C_REFERENCE_OBJECT
     109        class ConstantRef < CReferenceObject
    110110          attr_accessor :reference
    111111
     
    120120        end
    121121
    122         class C_SINGLE_ATTRIBUTE < C_ATTRIBUTE
     122        class CSingleAttribute < CAttribute
    123123          attr_accessor :alternatives
    124124
     
    129129        end
    130130
    131         class C_MULTIPLE_ATTRIBUTE < C_ATTRIBUTE
     131        class CMultipleAttribute < CAttribute
    132132          attr_accessor :members, :cardinality
    133133         
Note: See TracChangeset for help on using the changeset viewer.