Class: Archimate::DataModel::ModelingNote

Inherits:
Object
  • Object
show all
Includes:
Comparison
Defined in:
lib/archimate/data_model/modeling_note.rb

Overview

This is a set of notes to the modeler on how to use and model with this viewpoint. Could contain rules or constraints. The part hold the information for this element.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Comparison

#==, #[], #dig, #each, #hash, included, #pretty_print, #to_h

Constructor Details

#initialize(documentation:, type: nil) ⇒ ModelingNote

Returns a new instance of ModelingNote.



18
19
20
21
# File 'lib/archimate/data_model/modeling_note.rb', line 18

def initialize(documentation:, type: nil)
  @documentation = documentation
  @type = type
end

Instance Attribute Details

#documentationPreservedLangString (readonly)

Returns:



12
# File 'lib/archimate/data_model/modeling_note.rb', line 12

model_attr :documentation

#typeString, NilClass (readonly)

Returns:

  • (String, NilClass)


16
# File 'lib/archimate/data_model/modeling_note.rb', line 16

model_attr :type