Class: Lutaml::Uml::Dependency

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

Direct Known Subclasses

Abstraction

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

#initializeDependency

Returns a new instance of Dependency.



11
12
13
14
15
16
17
18
# File 'lib/lutaml/uml/dependency.rb', line 11

def initialize
  @name = nil
  @xmi_id = nil
  @xmi_uuid = nil
  @client = []
  @supplier = []
  @namespace = nil
end

Instance Attribute Details

#clientObject

Returns the value of attribute client.



9
10
11
# File 'lib/lutaml/uml/dependency.rb', line 9

def client
  @client
end

#supplierObject

Returns the value of attribute supplier.



9
10
11
# File 'lib/lutaml/uml/dependency.rb', line 9

def supplier
  @supplier
end