Class: OpenEHR::AM::Archetype::ConstraintModel::ArchetypeInternalRef

Inherits:
CReferenceObject show all
Defined in:
lib/open_ehr/am/archetype/constraint_model.rb

Instance Attribute Summary collapse

Attributes inherited from CObject

#node_id, #occurrences, #rm_type_name

Attributes inherited from ArchetypeConstraint

#parent, #path

Instance Method Summary collapse

Methods inherited from CObject

create

Methods inherited from ArchetypeConstraint

#congruent?, #has_path?, #node_conforms_to?

Constructor Details

#initialize(args = { }) ⇒ ArchetypeInternalRef

Returns a new instance of ArchetypeInternalRef.



226
227
228
229
# File 'lib/open_ehr/am/archetype/constraint_model.rb', line 226

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

Instance Attribute Details

#target_pathObject

Returns the value of attribute target_path.



224
225
226
# File 'lib/open_ehr/am/archetype/constraint_model.rb', line 224

def target_path
  @target_path
end