Class: Lutaml::Uml::Property
- Inherits:
-
TopElement
- Object
- TopElement
- Lutaml::Uml::Property
- Defined in:
- lib/lutaml/uml/property.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#aggregation ⇒ Object
Returns the value of attribute aggregation.
-
#association ⇒ Object
Returns the value of attribute association.
-
#is_derived ⇒ Object
Returns the value of attribute is_derived.
-
#lowerValue ⇒ Object
Returns the value of attribute lowerValue.
-
#type ⇒ Object
Returns the value of attribute type.
-
#upperValue ⇒ Object
Returns the value of attribute upperValue.
Attributes inherited from TopElement
#comments, #definition, #href, #keyword, #name, #namespace, #stereotype, #visibility, #xmi_id, #xmi_uuid
Instance Method Summary collapse
-
#initialize ⇒ Property
constructor
A new instance of Property.
Methods inherited from TopElement
Methods included from HasAttributes
Constructor Details
#initialize ⇒ Property
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
#aggregation ⇒ Object
Returns the value of attribute aggregation.
6 7 8 |
# File 'lib/lutaml/uml/property.rb', line 6 def aggregation @aggregation end |
#association ⇒ Object
Returns the value of attribute association.
6 7 8 |
# File 'lib/lutaml/uml/property.rb', line 6 def association @association end |
#is_derived ⇒ Object
Returns the value of attribute is_derived.
6 7 8 |
# File 'lib/lutaml/uml/property.rb', line 6 def is_derived @is_derived end |
#lowerValue ⇒ Object
Returns the value of attribute lowerValue.
6 7 8 |
# File 'lib/lutaml/uml/property.rb', line 6 def lowerValue @lowerValue end |
#type ⇒ Object
Returns the value of attribute type.
6 7 8 |
# File 'lib/lutaml/uml/property.rb', line 6 def type @type end |
#upperValue ⇒ Object
Returns the value of attribute upperValue.
6 7 8 |
# File 'lib/lutaml/uml/property.rb', line 6 def upperValue @upperValue end |