Class: SimpleXml::TypedReference
- Inherits:
-
Object
- Object
- SimpleXml::TypedReference
- Includes:
- Utilities
- Defined in:
- lib/model/types.rb
Overview
Represents a HQMF reference from a precondition to a data criteria
Constant Summary
Constants included from Utilities
Utilities::MEASURE_ATTRIBUTES_MAP
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#mood ⇒ Object
Returns the value of attribute mood.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(id, type, mood) ⇒ TypedReference
constructor
A new instance of TypedReference.
- #to_model ⇒ Object
Methods included from Utilities
#attr_val, attr_val, build_value, #children_of, #comments_on, #create_age_timing, #create_birthdate_criteria
Constructor Details
#initialize(id, type, mood) ⇒ TypedReference
Returns a new instance of TypedReference.
215 216 217 218 219 |
# File 'lib/model/types.rb', line 215 def initialize(id,type,mood) @id = id @type = type @mood = mood end |
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
213 214 215 |
# File 'lib/model/types.rb', line 213 def id @id end |
#mood ⇒ Object
Returns the value of attribute mood.
213 214 215 |
# File 'lib/model/types.rb', line 213 def mood @mood end |
#type ⇒ Object
Returns the value of attribute type.
213 214 215 |
# File 'lib/model/types.rb', line 213 def type @type end |
Instance Method Details
#to_model ⇒ Object
221 222 223 |
# File 'lib/model/types.rb', line 221 def to_model HQMF::TypedReference.new(@id,@type,@mood) end |