Class: Observation::PresenceAbsence

Inherits:
Observation show all
Defined in:
app/models/observation/presence_absence.rb

Overview

Present = true; Absent = false (positive negative). Not provided -> no observation was made.

Instance Attribute Summary

Attributes inherited from Observation

#cached, #cached_column_label, #cached_row_label, #character_state_id, #continuous_unit, #continuous_value, #day_made, #descriptions, #descriptor_id, #frequency, #month_made, #observation_object_global_id, #observation_object_id, #observation_object_type, #presence, #sample_max, #sample_mean, #sample_median, #sample_min, #sample_n, #sample_standard_deviation, #sample_standard_error, #sample_standard_units, #time_made, #type, #year_made

Method Summary

Methods inherited from Observation

by_matrix_and_position, by_observation_matrix_row, #continuous?, copy, destroy_row, human_name, in_observation_matrix, object_scope, #presence_absence?, #qualitative?, #set_type_from_descriptor, #type_matches_descriptor

Methods included from Shared::IsData

#errors_excepting, #full_error_messages_excepting, #identical, #is_community?, #is_destroyable?, #is_editable?, #is_in_use?, #is_in_users_projects?, #metamorphosize, #similar

Methods included from Shared::ProtocolRelationships

#protocolled?, #reject_protocols

Methods included from Shared::Confidences

#reject_confidences

Methods included from Shared::Tags

#reject_tags, #tag_with, #tagged?, #tagged_with?

Methods included from Shared::Notes

#concatenated_notes_string, #reject_notes

Methods included from Shared::Depictions

#has_depictions?, #image_array=, #reject_depictions, #reject_images

Methods included from Shared::Identifiers

#dwc_occurrence_id, #identified?, #next_by_identifier, #previous_by_identifier, #reject_identifiers

Methods included from Shared::DataAttributes

#import_attributes, #internal_attributes, #keyword_value_hash, #reject_data_attributes

Methods included from Shared::Citations

#cited?, #mark_citations_for_destruction, #nomenclature_date, #origin_citation_source_id, #reject_citations, #requires_citation?, #sources_by_topic_id

Methods included from Housekeeping

#has_polymorphic_relationship?

Methods inherited from ApplicationRecord

transaction_with_retry