Class: SomeCollection

Inherits:
Lutaml::Model::Collection show all
Defined in:
lib/tasks/xml_optimization_benchmark.rb

Overview

Custom collection class for testing

Constant Summary

Constants inherited from Lutaml::Model::Collection

Lutaml::Model::Collection::ALLOWED_OPTIONS, Lutaml::Model::Collection::INHERITED_ATTRIBUTES

Constants included from Lutaml::Model::Serialize

Lutaml::Model::Serialize::DEFAULT_VALUE_MAP, Lutaml::Model::Serialize::INTERNAL_ATTRIBUTES, Lutaml::Model::Serialize::LAZY_EMPTY_COLLECTION

Instance Attribute Summary

Attributes inherited from Lutaml::Model::Collection

#index_caches, #lutaml_register

Attributes included from Lutaml::Model::Serialize

#lutaml_parent, #lutaml_register, #lutaml_root

Method Summary

Methods inherited from Lutaml::Model::Collection

#<<, #[], #[]=, apply_mappings, #apply_sort!, as, #build_index_caches!, #collection, #collection=, collection_no_root_to, collection_no_root_to?, collection_structured_format?, #difference, #each, #empty?, #fetch, #find_by, #first, from, index, index_by, index_configured?, inherited, #initialize, instances, #intersection, #last, of, #order_defined?, organizes, #push, #size, sort, sort_configured?, #sort_items!, to, #to_format, #union, #validate, validate_collection, validates_all_present, validates_max_count, validates_min_count, validates_uniqueness_of, wrap_no_root_input

Methods included from Lutaml::Model::Serialize

#attr_value, #attribute_exist?, #extract_register_id, included, #init_deserialization_state, #initialize, #key_exist?, #key_value, #method_missing, #prepare_instance_format_options, #pretty_print_instance_variables, register_format_mapping_method, register_from_format_method, register_to_format_method, #respond_to_missing?, #to_format, #to_yaml_hash, #using_default?, #using_default_for, #validate_attribute!, #validate_root_mapping!, #value_map, #value_set_for

Methods included from Lutaml::Model::Liquefiable

included, #to_liquid

Methods included from Lutaml::Model::Validation

#format_element_sequences, #order_names, #validate, #validate!, #validate_helper, #validate_sequence!

Methods included from Lutaml::Model::ComparableModel

#already_compared?, #attributes_hash, #calculate_hash, #comparison_key, #eql?, #hash, included, #same_class?

Methods included from Lutaml::Model::Serialize::Builder

#initialize, #mixed_content?

Constructor Details

This class inherits a constructor from Lutaml::Model::Collection

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Lutaml::Model::Serialize