class SaveSpecimen

Defined in:

operations/save_specimen.cr

Constant Summary

ATTRIBUTES = [] of Nil
COLUMN_ATTRIBUTES = [{name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: date_last_modified, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_code, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: identified_by, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: date_identified, type: Time, nilable: false, autogenerated: false, value: Time.local, serialized: false, allow_blank: false}, {name: collecter, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: month, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: day, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: sex, type: String, nilable: false, autogenerated: false, value: "U", serialized: false, allow_blank: true}, {name: preparation_type, type: String, nilable: false, autogenerated: false, value: "dry specimens", serialized: false, allow_blank: true}, {name: disposition, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: sampling_protocol, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: sampling_effort, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: lifestage, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: establishment_means, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: rights, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: custom_taxon_info_id, type: Taxon::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: default_taxon_info_id, type: Taxon::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collect_point_info_id, type: CollectPoint::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_settings_info_id, type: CollectionSetting::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: tour_id, type: Tour::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: allow_kojin_shuzo, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: published_kojin_shuzo, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: image1, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image2, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image3, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image4, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image5, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: id, type: UUID, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: date_last_modified, type: Time, nilable: false, autogenerated: true, value: nil, serialized: false, allow_blank: false}, {name: user_id, type: Int32, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_code, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: identified_by, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: date_identified, type: Time, nilable: false, autogenerated: false, value: Time.local, serialized: false, allow_blank: false}, {name: collecter, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: year, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: month, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: day, type: Int32, nilable: false, autogenerated: false, value: 0, serialized: false, allow_blank: false}, {name: sex, type: String, nilable: false, autogenerated: false, value: "U", serialized: false, allow_blank: true}, {name: preparation_type, type: String, nilable: false, autogenerated: false, value: "dry specimens", serialized: false, allow_blank: true}, {name: disposition, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: sampling_protocol, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: sampling_effort, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: lifestage, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: establishment_means, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: rights, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: custom_taxon_info_id, type: Taxon::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: default_taxon_info_id, type: Taxon::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collect_point_info_id, type: CollectPoint::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: collection_settings_info_id, type: CollectionSetting::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: tour_id, type: Tour::PrimaryKeyType, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: note, type: String, nilable: false, autogenerated: false, value: "", serialized: false, allow_blank: true}, {name: allow_kojin_shuzo, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: published_kojin_shuzo, type: Bool, nilable: false, autogenerated: false, value: false, serialized: false, allow_blank: false}, {name: image1, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image2, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image3, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image4, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}, {name: image5, type: String, nilable: true, autogenerated: false, value: nil, serialized: false, allow_blank: false}] of Nil
FOREIGN_KEY = "specimen_id"
OPERATION_NEEDS = [] of Nil
SEX_INITIALS = {"M", "F", "H", "I", "U", "T"}

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Specimen::SaveOperation

allow_kojin_shuzo allow_kojin_shuzo, allow_kojin_shuzo=(_value) allow_kojin_shuzo=, attributes attributes, collect_point_info_id collect_point_info_id, collect_point_info_id=(_value) collect_point_info_id=, collecter collecter, collecter=(_value) collecter=, collection_code collection_code, collection_code=(_value) collection_code=, collection_settings_info_id collection_settings_info_id, collection_settings_info_id=(_value) collection_settings_info_id=, custom_taxon_info_id custom_taxon_info_id, custom_taxon_info_id=(_value) custom_taxon_info_id=, date_identified date_identified, date_identified=(_value) date_identified=, date_last_modified date_last_modified, date_last_modified=(_value) date_last_modified=, day day, day=(_value) day=, default_taxon_info_id default_taxon_info_id, default_taxon_info_id=(_value) default_taxon_info_id=, disposition disposition, disposition=(_value) disposition=, establishment_means establishment_means, establishment_means=(_value) establishment_means=, id id, id=(_value) id=, identified_by identified_by, identified_by=(_value) identified_by=, image1 image1, image1=(_value) image1=, image2 image2, image2=(_value) image2=, image3 image3, image3=(_value) image3=, image4 image4, image4=(_value) image4=, image5 image5, image5=(_value) image5=, lifestage lifestage, lifestage=(_value) lifestage=, month month, month=(_value) month=, note note, note=(_value) note=, permitted_params : Hash(String, Array(String) | String) permitted_params, preparation_type preparation_type, preparation_type=(_value) preparation_type=, published_kojin_shuzo published_kojin_shuzo, published_kojin_shuzo=(_value) published_kojin_shuzo=, required_attributes required_attributes, rights rights, rights=(_value) rights=, sampling_effort sampling_effort, sampling_effort=(_value) sampling_effort=, sampling_protocol sampling_protocol, sampling_protocol=(_value) sampling_protocol=, set_allow_kojin_shuzo_from_param(_value) set_allow_kojin_shuzo_from_param, set_attributes(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) set_attributes, set_collect_point_info_id_from_param(_value) set_collect_point_info_id_from_param, set_collecter_from_param(_value) set_collecter_from_param, set_collection_code_from_param(_value) set_collection_code_from_param, set_collection_settings_info_id_from_param(_value) set_collection_settings_info_id_from_param, set_custom_taxon_info_id_from_param(_value) set_custom_taxon_info_id_from_param, set_date_identified_from_param(_value) set_date_identified_from_param, set_date_last_modified_from_param(_value) set_date_last_modified_from_param, set_day_from_param(_value) set_day_from_param, set_default_taxon_info_id_from_param(_value) set_default_taxon_info_id_from_param, set_disposition_from_param(_value) set_disposition_from_param, set_establishment_means_from_param(_value) set_establishment_means_from_param, set_id_from_param(_value) set_id_from_param, set_identified_by_from_param(_value) set_identified_by_from_param, set_image1_from_param(_value) set_image1_from_param, set_image2_from_param(_value) set_image2_from_param, set_image3_from_param(_value) set_image3_from_param, set_image4_from_param(_value) set_image4_from_param, set_image5_from_param(_value) set_image5_from_param, set_lifestage_from_param(_value) set_lifestage_from_param, set_month_from_param(_value) set_month_from_param, set_note_from_param(_value) set_note_from_param, set_preparation_type_from_param(_value) set_preparation_type_from_param, set_published_kojin_shuzo_from_param(_value) set_published_kojin_shuzo_from_param, set_rights_from_param(_value) set_rights_from_param, set_sampling_effort_from_param(_value) set_sampling_effort_from_param, set_sampling_protocol_from_param(_value) set_sampling_protocol_from_param, set_sex_from_param(_value) set_sex_from_param, set_tour_id_from_param(_value) set_tour_id_from_param, set_user_id_from_param(_value) set_user_id_from_param, set_year_from_param(_value) set_year_from_param, sex sex, sex=(_value) sex=, tour_id tour_id, tour_id=(_value) tour_id=, user_id user_id, user_id=(_value) user_id=, year year, year=(_value) year=

Constructor methods inherited from class Specimen::SaveOperation

new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
new(params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
new(record : T, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
new(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
new

Class methods inherited from class Specimen::SaveOperation

create(params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &)
create(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &)
create(params : Hash, **named_args, &)
create
, create!(params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
create!(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
create!(params : Hash, **named_args)
create!
, update(record : T, with params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &)
update(record : T, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &)
update(record : T, params : Hash, **named_args, &)
update
, update!(record : T, with params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
update!(record : T, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE)
update!(record : T, params : Hash, **named_args)
update!

Macros inherited from class Specimen::SaveOperation

param_key(key) param_key

Constructor Detail

def self.new(record : T, params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(params : Avram::Paramable, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(record : T, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.new(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


Class Method Detail

def self.create(params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create(params : Hash, **named_args, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.create!(params : Hash, **named_args) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, with params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update(record : T, params : Hash, **named_args, &) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, with params, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def self.update!(record : T, params : Hash, **named_args) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


Macro Detail

macro param_key(key) #

Instance Method Detail

def allow_kojin_shuzo #

[View source]
def before_save #

[View source]
def collect_point_info_id #

[View source]
def collecter #

[View source]
def collection_code #

[View source]
def collection_settings_info_id #

[View source]
def custom_taxon_info_id #

[View source]
def date_identified #

[View source]
def day #

[View source]
def default_taxon_info_id #

[View source]
def disposition #

[View source]
def establishment_means #

[View source]
def id #

[View source]
def identified_by #

[View source]
def image1 #

[View source]
def image2 #

[View source]
def image3 #

[View source]
def image4 #

[View source]
def image5 #

[View source]
def lifestage #

[View source]
def month #

[View source]
def note #

[View source]
def preparation_type #

[View source]
def published_kojin_shuzo #

[View source]
def rights #

[View source]
def sampling_effort #

[View source]
def sampling_protocol #

[View source]
def set_attributes(id : UUID | Avram::Nothing = IGNORE, date_last_modified : Time | Avram::Nothing = IGNORE, user_id : Int32 | Avram::Nothing | Nil = IGNORE, collection_code : Int32 | Avram::Nothing = IGNORE, identified_by : String | Avram::Nothing = IGNORE, date_identified : Time | Avram::Nothing = IGNORE, collecter : String | Avram::Nothing = IGNORE, year : Int32 | Avram::Nothing = IGNORE, month : Int32 | Avram::Nothing = IGNORE, day : Int32 | Avram::Nothing = IGNORE, sex : String | Avram::Nothing = IGNORE, preparation_type : String | Avram::Nothing = IGNORE, disposition : String | Avram::Nothing = IGNORE, sampling_protocol : String | Avram::Nothing = IGNORE, sampling_effort : String | Avram::Nothing = IGNORE, lifestage : String | Avram::Nothing = IGNORE, establishment_means : String | Avram::Nothing = IGNORE, rights : String | Avram::Nothing = IGNORE, custom_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, default_taxon_info_id : Taxon::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collect_point_info_id : CollectPoint::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, collection_settings_info_id : CollectionSetting::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, tour_id : Tour::PrimaryKeyType | Avram::Nothing | Nil = IGNORE, note : String | Avram::Nothing = IGNORE, allow_kojin_shuzo : Bool | Avram::Nothing = IGNORE, published_kojin_shuzo : Bool | Avram::Nothing = IGNORE, image1 : String | Avram::Nothing | Nil = IGNORE, image2 : String | Avram::Nothing | Nil = IGNORE, image3 : String | Avram::Nothing | Nil = IGNORE, image4 : String | Avram::Nothing | Nil = IGNORE, image5 : String | Avram::Nothing | Nil = IGNORE) #

@type is not correct in this method, but is in the macro we call below That is why this extrac macro was extracted. We need @type to get the attributes for this SaveOperation


def sex #

[View source]
def tour_id #

[View source]
def user_id #

[View source]
def year #

[View source]