Class: ImportDataset::DarwinCore::Unknown
- Inherits:
-
ImportDataset::DarwinCore
- Object
- ActiveRecord::Base
- ApplicationRecord
- ImportDataset
- ImportDataset::DarwinCore
- ImportDataset::DarwinCore::Unknown
- Defined in:
- app/models/import_dataset/darwin_core/unknown.rb
Constant Summary
Constants inherited from ImportDataset::DarwinCore
CHECKLIST_ROW_TYPE, OCCURRENCES_ROW_TYPE
Instance Attribute Summary collapse
-
#error_message ⇒ Object
Returns the value of attribute error_message.
Attributes inherited from ImportDataset
#description, #metadata, #source_content_type, #source_file_name, #source_file_size, #source_updated_at, #status
Instance Method Summary collapse
- #set_error ⇒ Object private
Methods inherited from ImportDataset::DarwinCore
#add_filters, #check_field_set, #core_records_are_readable, #core_records_fields, create_with_subtype_detection, default_if_absent, #default_nomenclatural_code, #destroy_namespace, #get_col_sep, #get_core_record_identifier_namespace, #get_dwc_default_values, #get_dwc_headers, #get_dwc_records, #get_field_mapping, #get_fields_mapping, #get_normalized_dwc_term, #get_quote_char, #get_records, #import, #initialize, #progress, #set_import_settings, #stage, #start_import, #stop_import
Methods inherited from ImportDataset
#delete_origin_relationships, #stage
Methods included from Shared::OriginRelationship
#new_objects, #old_objects, #reject_origin_relationships, #set_origin
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 Housekeeping
#has_polymorphic_relationship?
Methods inherited from ApplicationRecord
Constructor Details
This class inherits a constructor from ImportDataset::DarwinCore
Instance Attribute Details
#error_message ⇒ Object
Returns the value of attribute error_message.
3 4 5 |
# File 'app/models/import_dataset/darwin_core/unknown.rb', line 3 def @error_message end |
Instance Method Details
#set_error ⇒ Object (private)
9 10 11 |
# File 'app/models/import_dataset/darwin_core/unknown.rb', line 9 def set_error errors.add(:source, ) if end |