Class: OpenEHR::AM::Archetype::ValidityKind

Inherits:
Object
  • Object
show all
Defined in:
lib/open_ehr/am/archetype.rb

Overview

original file: ref_imple_eiffel/components/adl_parser/src/interface/adl_definition.e

Constant Summary collapse

MANDATORY =
1001
OPTIONAL =
1002
DISALLOWED =
1003

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args = { }) ⇒ ValidityKind

Returns a new instance of ValidityKind.



120
121
122
# File 'lib/open_ehr/am/archetype.rb', line 120

def initialize(args = { })
  self.value = args[:value]
end

Instance Attribute Details

#valueObject

Returns the value of attribute value.



114
115
116
# File 'lib/open_ehr/am/archetype.rb', line 114

def value
  @value
end