Class: Container::WellPlate
- Inherits:
-
Container
- Object
- ActiveRecord::Base
- ApplicationRecord
- Container
- Container::WellPlate
- Defined in:
- app/models/container/well_plate.rb
Overview
The container whose physical nature is not defined. Used to aggregate CollectionObjects in space by providing them a shared data object to receive Identifiers. For example 2 ants on a pin with a CatalogNumber on it. If the container type is not defined we move the Identifier to the Container, so that both specimens can be referenced.
Constant Summary
Constants included from SoftValidation
SoftValidation::ANCESTORS_WITH_SOFT_VALIDATIONS
Instance Attribute Summary
Attributes inherited from Container
#disposition, #empty_container, #name, #print_label, #project_id, #size_x, #size_y, #size_z, #type
Class Method Summary collapse
Methods inherited from Container
#add_container_items, #all_collection_object_ids, #all_contained_objects, #all_container_items, #available_space, #check_for_contents, class_name, #collection_object_ids, #collection_objects, #contained_objects, #container_items, containerize, #empty_contents, #is_empty?, #is_full?, #is_nested?, #size, #type_is_valid, valid_parents
Methods included from SoftValidation
#clear_soft_validations, #fix_for, #fix_soft_validations, #soft_fixed?, #soft_valid?, #soft_validate, #soft_validated?, #soft_validations, #soft_validators
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::Tags
#reject_tags, #tag_with, #tagged?, #tagged_with?
Methods included from Shared::Loanable
#all_loan_items, #all_loans, #container_loan_items, #container_loaned?, #container_loans, #container_times_loaned, #current_loan, #current_loan_item, #has_been_loaned?, #is_loanable?, #loan_return_date, #loaned_in_container, #on_loan?, #times_loaned
Methods included from Shared::Labels
Methods included from Shared::Identifiers
#dwc_occurrence_id, #identified?, #next_by_identifier, #previous_by_identifier, #reject_identifiers, #uri, #uuid
Methods included from Shared::Depictions
#has_depictions?, #image_array=, #reject_depictions, #reject_images
Methods included from Shared::Containable
#contain, #containable?, #contained?, #contained_by?, #contained_siblings, #enclosing_containers, #put_in_container
Methods included from Housekeeping
#has_polymorphic_relationship?
Methods inherited from ApplicationRecord
Class Method Details
.dimensions ⇒ Object
5 6 7 |
# File 'app/models/container/well_plate.rb', line 5 def self.dimensions { x: 8, y: 12, z: 1} end |