Class: Lutaml::Uml::Node::Relationship

Inherits:
Base
  • Object
show all
Includes:
HasName, HasType
Defined in:
lib/lutaml/uml/node/relationship.rb

Direct Known Subclasses

ClassRelationship

Instance Attribute Summary collapse

Attributes included from HasType

#type

Attributes included from HasName

#name

Attributes inherited from Base

#parent

Method Summary

Methods inherited from Base

#initialize

Methods included from HasAttributes

#update_attributes

Constructor Details

This class inherits a constructor from Lutaml::Uml::Node::Base

Instance Attribute Details

#fromObject

Returns the value of attribute from.



14
15
16
# File 'lib/lutaml/uml/node/relationship.rb', line 14

def from
  @from
end

#toObject

Returns the value of attribute to.



14
15
16
# File 'lib/lutaml/uml/node/relationship.rb', line 14

def to
  @to
end