Class: OpenEHR::AM::Archetype::ConstraintModel::ConstraintRef
- Inherits:
-
CReferenceObject
- Object
- ArchetypeConstraint
- CObject
- CReferenceObject
- OpenEHR::AM::Archetype::ConstraintModel::ConstraintRef
- Defined in:
- lib/openehr/am/archetype/constraint_model.rb
Instance Attribute Summary collapse
-
#reference ⇒ Object
Returns the value of attribute reference.
Attributes inherited from CObject
#node_id, #occurrences, #rm_type_name
Attributes inherited from ArchetypeConstraint
Instance Method Summary collapse
-
#initialize(args = { }) ⇒ ConstraintRef
constructor
A new instance of ConstraintRef.
Methods inherited from CObject
Methods inherited from ArchetypeConstraint
#congruent?, #has_path?, #node_conforms_to?
Constructor Details
#initialize(args = { }) ⇒ ConstraintRef
Returns a new instance of ConstraintRef.
345 346 347 348 |
# File 'lib/openehr/am/archetype/constraint_model.rb', line 345 def initialize(args = { }) super self.reference = args[:reference] end |
Instance Attribute Details
#reference ⇒ Object
Returns the value of attribute reference.
343 344 345 |
# File 'lib/openehr/am/archetype/constraint_model.rb', line 343 def reference @reference end |