Class: OpenEHR::RM::DataTypes::Encapsulated::DvMultimedia
- Inherits:
-
DvEncapsulated
- Object
- Basic::DataValue
- DvEncapsulated
- OpenEHR::RM::DataTypes::Encapsulated::DvMultimedia
- Defined in:
- lib/open_ehr/rm/data_types/encapsulated.rb
Overview
media type www.iana.org/assignments/media-types/text/
Constant Summary
Constants included from Support::Definition::BasicDefinition
Support::Definition::BasicDefinition::CR, Support::Definition::BasicDefinition::LF
Instance Attribute Summary collapse
-
#alternate_text ⇒ Object
Returns the value of attribute alternate_text.
-
#compression_algorithm ⇒ Object
Returns the value of attribute compression_algorithm.
-
#data ⇒ Object
Returns the value of attribute data.
-
#integrity_check ⇒ Object
Returns the value of attribute integrity_check.
-
#integrity_check_algorithm ⇒ Object
Returns the value of attribute integrity_check_algorithm.
-
#media_type ⇒ Object
Returns the value of attribute media_type.
-
#uri ⇒ Object
Returns the value of attribute uri.
Attributes inherited from DvEncapsulated
Attributes inherited from Basic::DataValue
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ DvMultimedia
constructor
A new instance of DvMultimedia.
Methods inherited from DvEncapsulated
Methods inherited from Basic::DataValue
Constructor Details
#initialize(args = {}) ⇒ DvMultimedia
Returns a new instance of DvMultimedia.
61 62 63 64 65 66 67 68 69 70 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 61 def initialize(args = {}) super(args) self.media_type = args[:media_type] self.uri = args[:uri] self.data = args[:data] self.compression_algorithm = args[:compression_algorithm] self.integrity_check = args[:integrity_check] self.integrity_check_algorithm = args[:integrity_check_algorithm] self.alternate_text = args[:alternate_text] end |
Instance Attribute Details
#alternate_text ⇒ Object
Returns the value of attribute alternate_text.
58 59 60 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58 def alternate_text @alternate_text end |
#compression_algorithm ⇒ Object
Returns the value of attribute compression_algorithm.
58 59 60 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58 def compression_algorithm @compression_algorithm end |
#data ⇒ Object
Returns the value of attribute data.
58 59 60 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58 def data @data end |
#integrity_check ⇒ Object
Returns the value of attribute integrity_check.
58 59 60 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58 def integrity_check @integrity_check end |
#integrity_check_algorithm ⇒ Object
Returns the value of attribute integrity_check_algorithm.
58 59 60 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58 def integrity_check_algorithm @integrity_check_algorithm end |
#media_type ⇒ Object
Returns the value of attribute media_type.
57 58 59 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 57 def media_type @media_type end |
#uri ⇒ Object
Returns the value of attribute uri.
58 59 60 |
# File 'lib/open_ehr/rm/data_types/encapsulated.rb', line 58 def uri @uri end |