Class: Lutaml::Model::Schema::Definitions::GroupImport

Inherits:
Object
  • Object
show all
Defined in:
lib/lutaml/model/schema/definitions/group_import.rb

Overview

An inline <xs:group ref="..."/> reference appearing as a member inside a Choice / Sequence / Model. Renders as import_model_attributes :name in the attribute-decl block and import_model_mappings :name in the xml-mapping block. name is the snake_case symbol form (without leading colon).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ GroupImport

Returns a new instance of GroupImport.



15
16
17
# File 'lib/lutaml/model/schema/definitions/group_import.rb', line 15

def initialize(name:)
  @name = name
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



13
14
15
# File 'lib/lutaml/model/schema/definitions/group_import.rb', line 13

def name
  @name
end