Class: Rafflesia::DatabaseJoinCoverageLedgerData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatabaseJoinCoverageLedgerData
- Defined in:
- lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ candidate_cell_count: :candidate_cell_count, certification_cell_count: :certification_cell_count, cross_release_drift_cell_count: :cross_release_drift_cell_count, dataset_name: :dataset_name, dataset_version: :dataset_version, declared_cardinality_consistent_count: :declared_cardinality_consistent_count, declared_cardinality_contradicted_count: :declared_cardinality_contradicted_count, declared_cardinality_not_applicable_count: :declared_cardinality_not_applicable_count, declared_no_overlap_observed_count: :declared_no_overlap_observed_count, declared_observed_count: :declared_observed_count, declared_overlap_observed_count: :declared_overlap_observed_count, declared_unmeasured_count: :declared_unmeasured_count, declared_variant_count: :declared_variant_count, drift_cell_count: :drift_cell_count, drift_regression_count: :drift_regression_count, evidence_digest: :evidence_digest, external_participant_record_count: :external_participant_record_count, external_review_measurement_status: :external_review_measurement_status, id: :id, independent_agent_record_count: :independent_agent_record_count, is_complete: :is_complete, is_resumable: :is_resumable, ledger_table_object_ref: :ledger_table_object_ref, manifest_object_ref: :manifest_object_ref, measured_path_edge_count: :measured_path_edge_count, object: :object, ontology_digest: :ontology_digest, ontology_version: :ontology_version, path_cell_count: :path_cell_count, release_drift_status: :release_drift_status, reproducibility_control_count: :reproducibility_control_count, row_count: :row_count, rows: :rows, scientist_participant_record_count: :scientist_participant_record_count, unavailable_relation_count: :unavailable_relation_count, undeclared_candidate_overlap_count: :undeclared_candidate_overlap_count, unsafe_control_count: :unsafe_control_count, unsafe_control_matched_count: :unsafe_control_matched_count }.freeze
Instance Attribute Summary collapse
-
#candidate_cell_count ⇒ Object
Returns the value of attribute candidate_cell_count.
-
#certification_cell_count ⇒ Object
Returns the value of attribute certification_cell_count.
-
#cross_release_drift_cell_count ⇒ Object
Returns the value of attribute cross_release_drift_cell_count.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#declared_cardinality_consistent_count ⇒ Object
Returns the value of attribute declared_cardinality_consistent_count.
-
#declared_cardinality_contradicted_count ⇒ Object
Returns the value of attribute declared_cardinality_contradicted_count.
-
#declared_cardinality_not_applicable_count ⇒ Object
Returns the value of attribute declared_cardinality_not_applicable_count.
-
#declared_no_overlap_observed_count ⇒ Object
Returns the value of attribute declared_no_overlap_observed_count.
-
#declared_observed_count ⇒ Object
Returns the value of attribute declared_observed_count.
-
#declared_overlap_observed_count ⇒ Object
Returns the value of attribute declared_overlap_observed_count.
-
#declared_unmeasured_count ⇒ Object
Returns the value of attribute declared_unmeasured_count.
-
#declared_variant_count ⇒ Object
Returns the value of attribute declared_variant_count.
-
#drift_cell_count ⇒ Object
Returns the value of attribute drift_cell_count.
-
#drift_regression_count ⇒ Object
Returns the value of attribute drift_regression_count.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#external_participant_record_count ⇒ Object
Returns the value of attribute external_participant_record_count.
-
#external_review_measurement_status ⇒ Object
Returns the value of attribute external_review_measurement_status.
-
#id ⇒ Object
Returns the value of attribute id.
-
#independent_agent_record_count ⇒ Object
Returns the value of attribute independent_agent_record_count.
-
#is_complete ⇒ Object
Returns the value of attribute is_complete.
-
#is_resumable ⇒ Object
Returns the value of attribute is_resumable.
-
#ledger_table_object_ref ⇒ Object
Returns the value of attribute ledger_table_object_ref.
-
#manifest_object_ref ⇒ Object
Returns the value of attribute manifest_object_ref.
-
#measured_path_edge_count ⇒ Object
Returns the value of attribute measured_path_edge_count.
-
#object ⇒ Object
Returns the value of attribute object.
-
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
-
#ontology_version ⇒ Object
Returns the value of attribute ontology_version.
-
#path_cell_count ⇒ Object
Returns the value of attribute path_cell_count.
-
#release_drift_status ⇒ Object
Returns the value of attribute release_drift_status.
-
#reproducibility_control_count ⇒ Object
Returns the value of attribute reproducibility_control_count.
-
#row_count ⇒ Object
Returns the value of attribute row_count.
-
#rows ⇒ Object
Returns the value of attribute rows.
-
#scientist_participant_record_count ⇒ Object
Returns the value of attribute scientist_participant_record_count.
-
#unavailable_relation_count ⇒ Object
Returns the value of attribute unavailable_relation_count.
-
#undeclared_candidate_overlap_count ⇒ Object
Returns the value of attribute undeclared_candidate_overlap_count.
-
#unsafe_control_count ⇒ Object
Returns the value of attribute unsafe_control_count.
-
#unsafe_control_matched_count ⇒ Object
Returns the value of attribute unsafe_control_matched_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatabaseJoinCoverageLedgerData
constructor
A new instance of DatabaseJoinCoverageLedgerData.
Constructor Details
#initialize(json) ⇒ DatabaseJoinCoverageLedgerData
Returns a new instance of DatabaseJoinCoverageLedgerData.
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 89 def initialize(json) super() hash = self.class.normalize(json) @candidate_cell_count = hash[:candidate_cell_count] @certification_cell_count = hash[:certification_cell_count] @cross_release_drift_cell_count = hash[:cross_release_drift_cell_count] @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @declared_cardinality_consistent_count = hash[:declared_cardinality_consistent_count] @declared_cardinality_contradicted_count = hash[:declared_cardinality_contradicted_count] @declared_cardinality_not_applicable_count = hash[:declared_cardinality_not_applicable_count] @declared_no_overlap_observed_count = hash[:declared_no_overlap_observed_count] @declared_observed_count = hash[:declared_observed_count] @declared_overlap_observed_count = hash[:declared_overlap_observed_count] @declared_unmeasured_count = hash[:declared_unmeasured_count] @declared_variant_count = hash[:declared_variant_count] @drift_cell_count = hash[:drift_cell_count] @drift_regression_count = hash[:drift_regression_count] @evidence_digest = hash[:evidence_digest] @external_participant_record_count = hash[:external_participant_record_count] @external_review_measurement_status = hash[:external_review_measurement_status] @id = hash[:id] @independent_agent_record_count = hash[:independent_agent_record_count] @is_complete = hash[:is_complete] @is_resumable = hash[:is_resumable] @ledger_table_object_ref = hash[:ledger_table_object_ref] ? Rafflesia::ObjectRef.new(hash[:ledger_table_object_ref]) : nil @manifest_object_ref = hash[:manifest_object_ref] ? Rafflesia::ObjectRef.new(hash[:manifest_object_ref]) : nil @measured_path_edge_count = hash[:measured_path_edge_count] @object = hash[:object] @ontology_digest = hash[:ontology_digest] @ontology_version = hash[:ontology_version] @path_cell_count = hash[:path_cell_count] @release_drift_status = hash[:release_drift_status] @reproducibility_control_count = hash[:reproducibility_control_count] @row_count = hash[:row_count] @rows = (hash[:rows] || []).map { |item| item ? Rafflesia::DatabaseJoinCoverageLedgerRow.new(item) : nil } @scientist_participant_record_count = hash[:scientist_participant_record_count] @unavailable_relation_count = hash[:unavailable_relation_count] @undeclared_candidate_overlap_count = hash[:undeclared_candidate_overlap_count] @unsafe_control_count = hash[:unsafe_control_count] @unsafe_control_matched_count = hash[:unsafe_control_matched_count] end |
Instance Attribute Details
#candidate_cell_count ⇒ Object
Returns the value of attribute candidate_cell_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def candidate_cell_count @candidate_cell_count end |
#certification_cell_count ⇒ Object
Returns the value of attribute certification_cell_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def certification_cell_count @certification_cell_count end |
#cross_release_drift_cell_count ⇒ Object
Returns the value of attribute cross_release_drift_cell_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def cross_release_drift_cell_count @cross_release_drift_cell_count end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def dataset_version @dataset_version end |
#declared_cardinality_consistent_count ⇒ Object
Returns the value of attribute declared_cardinality_consistent_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def declared_cardinality_consistent_count @declared_cardinality_consistent_count end |
#declared_cardinality_contradicted_count ⇒ Object
Returns the value of attribute declared_cardinality_contradicted_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def declared_cardinality_contradicted_count @declared_cardinality_contradicted_count end |
#declared_cardinality_not_applicable_count ⇒ Object
Returns the value of attribute declared_cardinality_not_applicable_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def declared_cardinality_not_applicable_count @declared_cardinality_not_applicable_count end |
#declared_no_overlap_observed_count ⇒ Object
Returns the value of attribute declared_no_overlap_observed_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def declared_no_overlap_observed_count @declared_no_overlap_observed_count end |
#declared_observed_count ⇒ Object
Returns the value of attribute declared_observed_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def declared_observed_count @declared_observed_count end |
#declared_overlap_observed_count ⇒ Object
Returns the value of attribute declared_overlap_observed_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def declared_overlap_observed_count @declared_overlap_observed_count end |
#declared_unmeasured_count ⇒ Object
Returns the value of attribute declared_unmeasured_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def declared_unmeasured_count @declared_unmeasured_count end |
#declared_variant_count ⇒ Object
Returns the value of attribute declared_variant_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def declared_variant_count @declared_variant_count end |
#drift_cell_count ⇒ Object
Returns the value of attribute drift_cell_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def drift_cell_count @drift_cell_count end |
#drift_regression_count ⇒ Object
Returns the value of attribute drift_regression_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def drift_regression_count @drift_regression_count end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def evidence_digest @evidence_digest end |
#external_participant_record_count ⇒ Object
Returns the value of attribute external_participant_record_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def external_participant_record_count @external_participant_record_count end |
#external_review_measurement_status ⇒ Object
Returns the value of attribute external_review_measurement_status.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def external_review_measurement_status @external_review_measurement_status end |
#id ⇒ Object
Returns the value of attribute id.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def id @id end |
#independent_agent_record_count ⇒ Object
Returns the value of attribute independent_agent_record_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def independent_agent_record_count @independent_agent_record_count end |
#is_complete ⇒ Object
Returns the value of attribute is_complete.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def is_complete @is_complete end |
#is_resumable ⇒ Object
Returns the value of attribute is_resumable.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def is_resumable @is_resumable end |
#ledger_table_object_ref ⇒ Object
Returns the value of attribute ledger_table_object_ref.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def ledger_table_object_ref @ledger_table_object_ref end |
#manifest_object_ref ⇒ Object
Returns the value of attribute manifest_object_ref.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def manifest_object_ref @manifest_object_ref end |
#measured_path_edge_count ⇒ Object
Returns the value of attribute measured_path_edge_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def measured_path_edge_count @measured_path_edge_count end |
#object ⇒ Object
Returns the value of attribute object.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def object @object end |
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def ontology_digest @ontology_digest end |
#ontology_version ⇒ Object
Returns the value of attribute ontology_version.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def ontology_version @ontology_version end |
#path_cell_count ⇒ Object
Returns the value of attribute path_cell_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def path_cell_count @path_cell_count end |
#release_drift_status ⇒ Object
Returns the value of attribute release_drift_status.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def release_drift_status @release_drift_status end |
#reproducibility_control_count ⇒ Object
Returns the value of attribute reproducibility_control_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def reproducibility_control_count @reproducibility_control_count end |
#row_count ⇒ Object
Returns the value of attribute row_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def row_count @row_count end |
#rows ⇒ Object
Returns the value of attribute rows.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def rows @rows end |
#scientist_participant_record_count ⇒ Object
Returns the value of attribute scientist_participant_record_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def scientist_participant_record_count @scientist_participant_record_count end |
#unavailable_relation_count ⇒ Object
Returns the value of attribute unavailable_relation_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def unavailable_relation_count @unavailable_relation_count end |
#undeclared_candidate_overlap_count ⇒ Object
Returns the value of attribute undeclared_candidate_overlap_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def undeclared_candidate_overlap_count @undeclared_candidate_overlap_count end |
#unsafe_control_count ⇒ Object
Returns the value of attribute unsafe_control_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def unsafe_control_count @unsafe_control_count end |
#unsafe_control_matched_count ⇒ Object
Returns the value of attribute unsafe_control_matched_count.
49 50 51 |
# File 'lib/rafflesia/database_join_coverage_ledgers/database_join_coverage_ledger_data.rb', line 49 def unsafe_control_matched_count @unsafe_control_matched_count end |