Module: Lutaml::Model::Serialize::ClassMethods
- Includes:
- Liquefiable::ClassMethods, AttributeDefinition, ConversionCaching, EnumHandling, FormatConversion, Initialization, ModelImport, TransformationBuilder, ValueMapping
- Defined in:
- lib/lutaml/model/serialize.rb
Constant Summary
Constants included from ConversionCaching
Lutaml::Model::Serialize::ConversionCaching::NATIVE_RUNTIME, Lutaml::Model::Serialize::ConversionCaching::UNMARSHALABLE_IVAR
Constants included from AttributeDefinition
AttributeDefinition::PLAIN_NAME
Instance Attribute Summary collapse
-
#choice_attributes ⇒ Object
Returns the value of attribute choice_attributes.
-
#mappings ⇒ Object
Returns the value of attribute mappings.
-
#register_records ⇒ Object
Returns the value of attribute register_records.
Method Summary
Methods included from TransformationBuilder
#build_transformation, #process_reference_type, #process_type_hash, #reference_type?, #transformation_for, #validate_reference_spec!
Methods included from ValueMapping
#apply_mappings, #apply_value_map, #ensure_utf8, #extract_register_id, #register_accessor_methods_for, #resolve_polymorphic
Methods included from ConversionCaching
#cache_conversions, #conversion_caching_enabled?
Methods included from FormatConversion
#array_passthrough_format?, #as, #declares?, #default_mappings, #format_error_types, #forward_options, #from, #key_value, #mappings_for, #of, #post_process_mapping, #pre_deserialize_hook, #pre_serialize_hook, #prepare_to_options, #process_mapping, #rdf, #reset_format_error_types_cache!, #to, #validate_document, #xml_plan_fast_path, #xml_plan_fast_serialize
Methods included from ModelImport
#check_sort_configs!, #collection_with_conflicting_sort?, #ensure_child_imports_resolved!, #ensure_choice_imports!, #ensure_model_imports!, #ensure_restrict_attributes!, #finalized?, #import_model, #import_model_attributes, #import_model_mappings, #import_model_with_root_error, #importable_choices, #importable_models, #restrict_attributes, #root?, #setup_trace_point
Methods included from EnumHandling
#add_enum_getter_if_not_defined, #add_enum_methods_to_model, #add_enum_setter_if_not_defined, #enums
Methods included from AttributeDefinition
#any_importable_models?, #attribute, #compile_state_defaults!, #compiled_state_defaults_name!, #define_attribute_methods, #define_reference_methods, #define_reflective_attribute_methods, #define_regular_attribute_methods, #invalidate_state_defaults!, #restrict, #validate_attribute_options!
Methods included from Initialization
#add_custom_handling_methods_to_model, #add_format_specific_model_methods, #allocate_for_deserialization, #attributes, #cast, #choice, #class_attributes, #clear_cache, #deep_duplicate_choice_attributes, #ensure_format_mapping_imports!, #ensure_imports!, #ensure_register_methods_defined, #included, #inherited, #initialize_attrs, #lutaml_default_register, #model, #namespace, #namespace_prefix, #namespace_uri, #reference_resolvable?, #register, #register_record, #set_register_context, #skip_reference_registration
Methods included from Liquefiable::ClassMethods
#base_drop_class, #custom_liquid_class_name, #drop_class, #drop_class_name, #ensure_liquid_registered!, #generate_mapping_methods, #inherited, #liquid, #liquid_class, #liquid_loadable?, #liquid_mappings, #register_class_if_liquid_defined, #register_drop_method, #register_liquid_drop_class, #register_methods, #to_liquid_class, #validate_liquid!
Instance Attribute Details
#choice_attributes ⇒ Object
Returns the value of attribute choice_attributes.
65 66 67 |
# File 'lib/lutaml/model/serialize.rb', line 65 def choice_attributes @choice_attributes end |
#mappings ⇒ Object
Returns the value of attribute mappings.
65 66 67 |
# File 'lib/lutaml/model/serialize.rb', line 65 def mappings @mappings end |
#register_records ⇒ Object
Returns the value of attribute register_records.
65 66 67 |
# File 'lib/lutaml/model/serialize.rb', line 65 def register_records @register_records end |