Class: Lutaml::XMI::AssociationDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Lutaml::XMI::AssociationDrop
- Defined in:
- lib/lutaml/xmi/liquid_drops/association_drop.rb
Instance Method Summary collapse
- #definition ⇒ Object
-
#initialize(model) ⇒ AssociationDrop
constructor
rubocop:disable Lint/MissingSuper.
- #member_end ⇒ Object
- #member_end_attribute_name ⇒ Object
- #member_end_cardinality ⇒ Object
- #member_end_type ⇒ Object
- #member_end_xmi_id ⇒ Object
- #owner_end ⇒ Object
- #owner_end_xmi_id ⇒ Object
- #xmi_id ⇒ Object
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
#definition ⇒ Object
42 43 44 |
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 42 def definition @model[:definition] end |
#member_end ⇒ Object
14 15 16 |
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 14 def member_end @model[:member_end] end |
#member_end_attribute_name ⇒ Object
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_cardinality ⇒ Object
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_type ⇒ Object
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_id ⇒ Object
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_end ⇒ Object
34 35 36 |
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 34 def owner_end @model[:owner_end] end |
#owner_end_xmi_id ⇒ Object
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_id ⇒ Object
10 11 12 |
# File 'lib/lutaml/xmi/liquid_drops/association_drop.rb', line 10 def xmi_id @model[:xmi_id] end |