Class: OpenEHR::RM::Support::Identification::UIDBasedID
- Defined in:
- lib/openehr/rm/support/identification.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#extension ⇒ Object
readonly
Returns the value of attribute extension.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Attributes inherited from ObjectID
Instance Method Summary collapse
- #has_extension? ⇒ Boolean
-
#initialize(args = {}) ⇒ UIDBasedID
constructor
A new instance of UIDBasedID.
- #value=(value) ⇒ Object
Methods inherited from ObjectID
Constructor Details
#initialize(args = {}) ⇒ UIDBasedID
Returns a new instance of UIDBasedID.
220 221 222 |
# File 'lib/openehr/rm/support/identification.rb', line 220 def initialize(args = {}) super(args) end |
Instance Attribute Details
#extension ⇒ Object (readonly)
Returns the value of attribute extension.
218 219 220 |
# File 'lib/openehr/rm/support/identification.rb', line 218 def extension @extension end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
218 219 220 |
# File 'lib/openehr/rm/support/identification.rb', line 218 def root @root end |
Instance Method Details
#has_extension? ⇒ Boolean
235 236 237 |
# File 'lib/openehr/rm/support/identification.rb', line 235 def has_extension? return !@extension.empty? end |