Class: Lutaml::Uml::Node::Field

Inherits:
Base
  • Object
show all
Includes:
HasName, HasType
Defined in:
lib/lutaml/uml/node/field.rb

Direct Known Subclasses

Method

Instance Attribute Summary collapse

Attributes included from HasType

#type

Attributes included from HasName

#name

Attributes inherited from Base

#parent

Instance Method Summary collapse

Methods included from HasAttributes

#update_attributes

Constructor Details

#initialize(attributes = {}) ⇒ Field

Returns a new instance of Field.



14
15
16
17
18
# File 'lib/lutaml/uml/node/field.rb', line 14

def initialize(attributes = {})
  @access = "public"

  super
end

Instance Attribute Details

#accessObject

Returns the value of attribute access.



20
21
22
# File 'lib/lutaml/uml/node/field.rb', line 20

def access
  @access
end

#staticObject

Returns the value of attribute static.



20
21
22
# File 'lib/lutaml/uml/node/field.rb', line 20

def static
  @static
end