Class: Lutaml::Uml::Operation

Inherits:
Object
  • Object
show all
Includes:
HasAttributes, HasMembers
Defined in:
lib/lutaml/uml/operation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from HasMembers

#members=

Methods included from HasAttributes

#update_attributes

Constructor Details

#initialize(attributes = {}) ⇒ Operation

rubocop:disable Rails/ActiveRecordAliases



15
16
17
# File 'lib/lutaml/uml/operation.rb', line 15

def initialize(attributes = {})
  update_attributes(attributes)
end

Instance Attribute Details

#definitionObject

Returns the value of attribute definition.



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

def definition
  @definition
end

#nameObject

Returns the value of attribute name.



10
11
12
# File 'lib/lutaml/uml/operation.rb', line 10

def name
  @name
end

#parameter_typeObject

Returns the value of attribute parameter_type.



10
11
12
# File 'lib/lutaml/uml/operation.rb', line 10

def parameter_type
  @parameter_type
end

#return_typeObject

Returns the value of attribute return_type.



10
11
12
# File 'lib/lutaml/uml/operation.rb', line 10

def return_type
  @return_type
end