Class: Lutaml::Uml::Property

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

Direct Known Subclasses

Port

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

#initializeProperty

rubocop:disable Lint/MissingSuper



13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/lutaml/uml/property.rb', line 13

def initialize # rubocop:disable Lint/MissingSuper
  @name = nil
  @xmi_id = nil
  @xmi_uuid = nil
  @aggregation = nil
  @association = nil
  @namespace = nil
  @is_derived = false
  @visibility = "public"
  @lowerValue = "1" # rubocop:disable Naming/VariableName
  @upperValue = "1" # rubocop:disable Naming/VariableName
end

Instance Attribute Details

#aggregationObject

rubocop:disable Naming/MethodName



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

def aggregation
  @aggregation
end

#associationObject

rubocop:disable Naming/MethodName



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

def association
  @association
end

#is_derivedObject

rubocop:disable Naming/MethodName



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

def is_derived
  @is_derived
end

#lowerValueObject

rubocop:disable Naming/MethodName



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

def lowerValue
  @lowerValue
end

#typeObject

rubocop:disable Naming/MethodName



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

def type
  @type
end

#upperValueObject

rubocop:disable Naming/MethodName



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

def upperValue
  @upperValue
end