Class: Lutaml::XMI::AssociationDrop

Inherits:
Liquid::Drop
  • Object
show all
Defined in:
lib/lutaml/xmi/liquid_drops/association_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(model) ⇒ AssociationDrop

rubocop:disable Lint/MissingSuper



6
7
8
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 6

def initialize(model) # rubocop:disable Lint/MissingSuper
  @model = model
end

Instance Method Details

#definitionObject



42
43
44
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 42

def definition
  @model[:definition]
end

#member_endObject



14
15
16
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 14

def member_end
  @model[:member_end]
end

#member_end_attribute_nameObject



26
27
28
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 26

def member_end_attribute_name
  @model[:member_end_attribute_name]
end

#member_end_cardinalityObject



22
23
24
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 22

def member_end_cardinality
  ::Lutaml::XMI::CardinalityDrop.new(@model[:member_end_cardinality])
end

#member_end_typeObject



18
19
20
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 18

def member_end_type
  @model[:member_end_type]
end

#member_end_xmi_idObject



30
31
32
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 30

def member_end_xmi_id
  @model[:member_end_xmi_id]
end

#owner_endObject



34
35
36
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 34

def owner_end
  @model[:owner_end]
end

#owner_end_xmi_idObject



38
39
40
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 38

def owner_end_xmi_id
  @model[:owner_end_xmi_id]
end

#xmi_idObject



10
11
12
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 10

def xmi_id
  @model[:xmi_id]
end