Class: Lutaml::Uml::Instance
- Inherits:
-
TopElement
- Object
- TopElement
- Lutaml::Uml::Instance
- Defined in:
- lib/lutaml/uml/instance.rb
Instance Attribute Summary collapse
-
#classifier ⇒ Object
Returns the value of attribute classifier.
-
#slot ⇒ Object
Returns the value of attribute slot.
Attributes inherited from TopElement
#comments, #definition, #href, #keyword, #name, #namespace, #stereotype, #visibility, #xmi_id, #xmi_uuid
Instance Method Summary collapse
-
#initialize ⇒ Instance
constructor
rubocop:disable Lint/MissingSuper.
Methods inherited from TopElement
Methods included from HasAttributes
Constructor Details
#initialize ⇒ Instance
rubocop:disable Lint/MissingSuper
8 9 10 11 12 13 14 |
# File 'lib/lutaml/uml/instance.rb', line 8 def initialize # rubocop:disable Lint/MissingSuper @name = nil @xmi_id = nil @xmi_uuid = nil @classifier = nil @slot = [] end |
Instance Attribute Details
#classifier ⇒ Object
Returns the value of attribute classifier.
6 7 8 |
# File 'lib/lutaml/uml/instance.rb', line 6 def classifier @classifier end |
#slot ⇒ Object
Returns the value of attribute slot.
6 7 8 |
# File 'lib/lutaml/uml/instance.rb', line 6 def slot @slot end |