Class: OpenEHR::RM::Common::ChangeControl::OriginalVersion
- Defined in:
- lib/openehr/rm/common/change_control.rb
Instance Attribute Summary collapse
-
#attestations ⇒ Object
Returns the value of attribute attestations.
-
#other_input_version_uids ⇒ Object
Returns the value of attribute other_input_version_uids.
Attributes inherited from Version
#commit_audit, #contribution, #data, #lifecycle_state, #preceding_version_uid, #signature, #uid
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ OriginalVersion
constructor
A new instance of OriginalVersion.
- #is_merged? ⇒ Boolean
Methods inherited from Version
#canonical_form, #is_branch?, #lifcycle_state=, #owner_id
Constructor Details
#initialize(args = { }) ⇒ OriginalVersion
Returns a new instance of OriginalVersion.
137 138 139 140 141 |
# File 'lib/openehr/rm/common/change_control.rb', line 137 def initialize(args = { }) super(args) self.attestations = args[:attestations] self.other_input_version_uids = args[:other_input_version_uids] end |
Instance Attribute Details
#attestations ⇒ Object
Returns the value of attribute attestations.
135 136 137 |
# File 'lib/openehr/rm/common/change_control.rb', line 135 def attestations @attestations end |
#other_input_version_uids ⇒ Object
Returns the value of attribute other_input_version_uids.
135 136 137 |
# File 'lib/openehr/rm/common/change_control.rb', line 135 def other_input_version_uids @other_input_version_uids end |
Instance Method Details
#is_merged? ⇒ Boolean
157 158 159 |
# File 'lib/openehr/rm/common/change_control.rb', line 157 def is_merged? return !other_input_version_uids.nil? end |