Class: Lutaml::SysMl::Block
- Inherits:
-
Uml::Class
- Object
- Uml::TopElement
- Uml::Classifier
- Uml::Class
- Lutaml::SysMl::Block
- Defined in:
- lib/lutaml/sysml/block.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#base_class ⇒ Object
Returns the value of attribute base_class.
Attributes inherited from Uml::Class
#associations, #attributes, #constraints, #data_types, #is_abstract, #members, #modifier, #nested_classifier, #operations, #package, #type
Attributes inherited from Uml::Classifier
Attributes inherited from Uml::TopElement
#comments, #definition, #href, #keyword, #namespace, #stereotype, #visibility, #xmi_id, #xmi_uuid
Instance Method Summary collapse
- #full_name ⇒ Object
-
#initialize ⇒ Block
constructor
A new instance of Block.
- #name ⇒ Object
Methods inherited from Uml::Class
Methods included from Uml::HasMembers
Methods included from Uml::HasAttributes
Constructor Details
#initialize ⇒ Block
Returns a new instance of Block.
6 7 8 9 10 11 |
# File 'lib/lutaml/sysml/block.rb', line 6 def initialize @xmi_id = nil @nested_classifier = [] @stereotype = [] @namespace = nil end |
Instance Attribute Details
#base_class ⇒ Object
Returns the value of attribute base_class.
4 5 6 |
# File 'lib/lutaml/sysml/block.rb', line 4 def base_class @base_class end |
Instance Method Details
#full_name ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/lutaml/sysml/block.rb', line 21 def full_name if !base_class.nil? && !base_class.name.nil? return base_class.full_name end nil end |
#name ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/lutaml/sysml/block.rb', line 13 def name if !base_class.nil? && !base_class.name.nil? return base_class.name end nil end |