Class: Lutaml::Uml::Model

Inherits:
Package show all
Defined in:
lib/lutaml/uml/model.rb

Instance Attribute Summary collapse

Attributes inherited from Package

#children_packages, #contents, #data_types, #imports

Attributes inherited from TopElement

#comments, #definition, #href, #keyword, #name, #namespace, #stereotype, #visibility, #xmi_id, #xmi_uuid

Instance Method Summary collapse

Methods inherited from Package

#classes, #classes=, #diagrams, #diagrams=, #enums, #enums=, #packages, #packages=

Methods included from HasAttributes

#update_attributes

Methods inherited from TopElement

#full_name

Constructor Details

#initializeModel

rubocop:disable Lint/MissingSuper



8
9
10
# File 'lib/lutaml/uml/model.rb', line 8

def initialize # rubocop:disable Lint/MissingSuper
  @contents = []
end

Instance Attribute Details

#viewpointObject

Returns the value of attribute viewpoint.



6
7
8
# File 'lib/lutaml/uml/model.rb', line 6

def viewpoint
  @viewpoint
end