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, #classes, #contents, #data_types, #enums, #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

#diagrams, #diagrams=, #packages, #packages=

Methods included from HasAttributes

#update_attributes

Methods inherited from TopElement

#full_name

Constructor Details

#initializeModel

Returns a new instance of Model.



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

def initialize
  @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