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

Returns a new instance of Property.



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

def initialize
  @name = nil
  @xmi_id = nil
  @xmi_uuid = nil
  @aggregation = nil
  @association = nil
  @namespace = nil
  @is_derived = false
  @visibility = "public"
  @lowerValue = "1"
  @upperValue = "1"
end

Instance Attribute Details

#aggregationObject

Returns the value of attribute aggregation.



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

def aggregation
  @aggregation
end

#associationObject

Returns the value of attribute association.



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

def association
  @association
end

#is_derivedObject

Returns the value of attribute is_derived.



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

def is_derived
  @is_derived
end

#lowerValueObject

Returns the value of attribute lowerValue.



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

def lowerValue
  @lowerValue
end

#typeObject

Returns the value of attribute type.



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

def type
  @type
end

#upperValueObject

Returns the value of attribute upperValue.



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

def upperValue
  @upperValue
end