Class: KDomain::DomainModel::ForeignKey

Inherits:
Object
  • Object
show all
Defined in:
lib/k_domain/schemas/domain/old/foreign_key.rb

Constant Summary collapse

KEYS =
%i[column name on_update on_delete].freeze

Instance Attribute Summary collapse

Instance Attribute Details

#columnObject

Returns the value of attribute column.



11
12
13
# File 'lib/k_domain/schemas/domain/old/foreign_key.rb', line 11

def column
  @column
end

#leftObject

Returns the value of attribute left.



8
9
10
# File 'lib/k_domain/schemas/domain/old/foreign_key.rb', line 8

def left
  @left
end

#nameObject

Returns the value of attribute name.



12
13
14
# File 'lib/k_domain/schemas/domain/old/foreign_key.rb', line 12

def name
  @name
end

#on_deleteObject

Returns the value of attribute on_delete.



14
15
16
# File 'lib/k_domain/schemas/domain/old/foreign_key.rb', line 14

def on_delete
  @on_delete
end

#on_updateObject

Returns the value of attribute on_update.



13
14
15
# File 'lib/k_domain/schemas/domain/old/foreign_key.rb', line 13

def on_update
  @on_update
end

#rightObject

Returns the value of attribute right.



9
10
11
# File 'lib/k_domain/schemas/domain/old/foreign_key.rb', line 9

def right
  @right
end