Class: OpenEHR::AM::Archetype::ConstraintModel::ConstraintRef

Inherits:
CReferenceObject show all
Defined in:
lib/openehr/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

#node_conforms_to?, #path, #to_rm

Methods inherited from ArchetypeConstraint

#congruent?, #has_path?, #node_conforms_to?

Constructor Details

#initialize(args = { }) ⇒ ConstraintRef

Returns a new instance of ConstraintRef.



559
560
561
562
# File 'lib/openehr/am/archetype/constraint_model.rb', line 559

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

Instance Attribute Details

#referenceObject

Returns the value of attribute reference.



557
558
559
# File 'lib/openehr/am/archetype/constraint_model.rb', line 557

def reference
  @reference
end