Class: Lutaml::Uml::Instance

Inherits:
TopElement show all
Defined in:
lib/lutaml/uml/instance.rb

Instance Attribute Summary collapse

Attributes inherited from TopElement

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

Instance Method Summary collapse

Methods inherited from TopElement

#full_name

Methods included from HasAttributes

#update_attributes

Constructor Details

#initializeInstance

Returns a new instance of Instance.



8
9
10
11
12
13
14
# File 'lib/lutaml/uml/instance.rb', line 8

def initialize
  @name = nil
  @xmi_id = nil
  @xmi_uuid = nil
  @classifier = nil
  @slot = []
end

Instance Attribute Details

#classifierObject

Returns the value of attribute classifier.



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

def classifier
  @classifier
end

#slotObject

Returns the value of attribute slot.



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

def slot
  @slot
end