Class: Lutaml::Uml::TopElementAttribute
- Inherits:
-
Object
- Object
- Lutaml::Uml::TopElementAttribute
- Includes:
- HasAttributes, HasMembers
- Defined in:
- lib/lutaml/uml/top_element_attribute.rb
Instance Attribute Summary collapse
-
#cardinality ⇒ Object
Returns the value of attribute cardinality.
-
#contain ⇒ Object
Returns the value of attribute contain.
-
#definition ⇒ Object
Returns the value of attribute definition.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_derived ⇒ Object
Returns the value of attribute is_derived.
-
#keyword ⇒ Object
Returns the value of attribute keyword.
-
#name ⇒ Object
Returns the value of attribute name.
-
#static ⇒ Object
Returns the value of attribute static.
-
#type ⇒ Object
Returns the value of attribute type.
-
#visibility ⇒ Object
Returns the value of attribute visibility.
-
#xmi_id ⇒ Object
Returns the value of attribute xmi_id.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ TopElementAttribute
constructor
rubocop:disable Rails/ActiveRecordAliases.
Methods included from HasMembers
Methods included from HasAttributes
Constructor Details
#initialize(attributes = {}) ⇒ TopElementAttribute
rubocop:disable Rails/ActiveRecordAliases
22 23 24 25 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 22 def initialize(attributes = {}) @visibility = "public" update_attributes(attributes) end |
Instance Attribute Details
#cardinality ⇒ Object
Returns the value of attribute cardinality.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def cardinality @cardinality end |
#contain ⇒ Object
Returns the value of attribute contain.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def contain @contain end |
#definition ⇒ Object
Returns the value of attribute definition.
9 10 11 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 9 def definition @definition end |
#id ⇒ Object
Returns the value of attribute id.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def id @id end |
#is_derived ⇒ Object
Returns the value of attribute is_derived.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def is_derived @is_derived end |
#keyword ⇒ Object
Returns the value of attribute keyword.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def keyword @keyword end |
#name ⇒ Object
Returns the value of attribute name.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def name @name end |
#static ⇒ Object
Returns the value of attribute static.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def static @static end |
#type ⇒ Object
Returns the value of attribute type.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def type @type end |
#visibility ⇒ Object
Returns the value of attribute visibility.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def visibility @visibility end |
#xmi_id ⇒ Object
Returns the value of attribute xmi_id.
10 11 12 |
# File 'lib/lutaml/uml/top_element_attribute.rb', line 10 def xmi_id @xmi_id end |