Class: Lutaml::Xml::Schema::Xsd::TypeIndexEntry
- Inherits:
-
Model::Serializable
- Object
- Model::Serializable
- Lutaml::Xml::Schema::Xsd::TypeIndexEntry
- Defined in:
- lib/lutaml/xml/schema/xsd/type_index_entry.rb
Overview
Represents a single entry in the type index for serialization
Constant Summary
Constants included from Model::Serialize
Model::Serialize::DEFAULT_VALUE_MAP, Model::Serialize::INTERNAL_ATTRIBUTES, Model::Serialize::LAZY_EMPTY_COLLECTION
Instance Attribute Summary
Attributes included from Model::Serialize
#lutaml_parent, #lutaml_register, #lutaml_root
Class Method Summary collapse
-
.from_index_info(clark_key, info) ⇒ TypeIndexEntry
Create from type index info hash.
Methods included from 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 Model::Liquefiable
Methods included from Model::Validation
#format_element_sequences, #order_names, #validate, #validate!, #validate_helper, #validate_sequence!
Methods included from Model::ComparableModel
#already_compared?, #attributes_hash, #calculate_hash, #comparison_key, #eql?, #hash, included, #same_class?
Methods included from Model::Serialize::Builder
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Lutaml::Model::Serialize
Class Method Details
.from_index_info(clark_key, info) ⇒ TypeIndexEntry
Create from type index info hash
27 28 29 30 31 32 33 34 35 |
# File 'lib/lutaml/xml/schema/xsd/type_index_entry.rb', line 27 def self.from_index_info(clark_key, info) new( clark_key: clark_key, type_category: info[:type].to_s, namespace: info[:namespace], local_name: info[:definition]&.name, schema_file: info[:schema_file], ) end |