Class: OpenEHR::RM::Support::Identification::ObjectRef
- Inherits:
-
Object
- Object
- OpenEHR::RM::Support::Identification::ObjectRef
- Defined in:
- lib/open_ehr/rm/support/identification.rb
Overview
of ObjectID
Direct Known Subclasses
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#namespace ⇒ Object
Returns the value of attribute namespace.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ ObjectRef
constructor
A new instance of ObjectRef.
Constructor Details
#initialize(args = {}) ⇒ ObjectRef
Returns a new instance of ObjectRef.
29 30 31 32 33 |
# File 'lib/open_ehr/rm/support/identification.rb', line 29 def initialize(args = {}) self.namespace = args[:namespace] self.type = args[:type] self.id = args[:id] end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
27 28 29 |
# File 'lib/open_ehr/rm/support/identification.rb', line 27 def id @id end |
#namespace ⇒ Object
Returns the value of attribute namespace.
27 28 29 |
# File 'lib/open_ehr/rm/support/identification.rb', line 27 def namespace @namespace end |
#type ⇒ Object
Returns the value of attribute type.
27 28 29 |
# File 'lib/open_ehr/rm/support/identification.rb', line 27 def type @type end |