Class: MDEXClient::MData::AggregateRecord
- Defined in:
- lib/mdex_client/mdata/aggregate_record.rb
Instance Attribute Summary collapse
-
#constituent_records ⇒ Object
Returns the value of attribute constituent_records.
-
#derived_properties ⇒ Object
Returns the value of attribute derived_properties.
-
#records_in_aggregate ⇒ Object
Returns the value of attribute records_in_aggregate.
Attributes inherited from Record
Attributes inherited from Node
Instance Method Summary collapse
Methods inherited from Record
Methods inherited from Node
#css, #dimension_value_state_list, #initialize, #property_list, #record_list, #xpath
Constructor Details
This class inherits a constructor from MDEXClient::MData::Record
Instance Attribute Details
#constituent_records ⇒ Object
Returns the value of attribute constituent_records.
6 7 8 |
# File 'lib/mdex_client/mdata/aggregate_record.rb', line 6 def constituent_records @constituent_records end |
#derived_properties ⇒ Object
Returns the value of attribute derived_properties.
6 7 8 |
# File 'lib/mdex_client/mdata/aggregate_record.rb', line 6 def derived_properties @derived_properties end |
#records_in_aggregate ⇒ Object
Returns the value of attribute records_in_aggregate.
6 7 8 |
# File 'lib/mdex_client/mdata/aggregate_record.rb', line 6 def records_in_aggregate @records_in_aggregate end |
Instance Method Details
#initialize_from_element! ⇒ Object
8 9 10 11 12 |
# File 'lib/mdex_client/mdata/aggregate_record.rb', line 8 def initialize_from_element! @records_in_aggregate = @element["RecordsInAggregate"].to_i @derived_properties = property_list("mdata:DerivedProperties/mdata:Property") @constituent_records = record_list("mdata:ConstituentRecords") end |