Class: KDomain::DomainModel::BelongsTo

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

Constant Summary collapse

KEYS =
%i[a_lambda polymorphic class_name foreign_key primary_key inverse_of with_deleted code_duplicate].freeze

Instance Attribute Summary collapse

Instance Attribute Details

#a_lambdaObject

Returns the value of attribute a_lambda.



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

def a_lambda
  @a_lambda
end

#class_nameObject

Returns the value of attribute class_name.



15
16
17
# File 'lib/k_domain/schemas/domain/old/belongs_to.rb', line 15

def class_name
  @class_name
end

#code_duplicateObject

Returns the value of attribute code_duplicate.



22
23
24
# File 'lib/k_domain/schemas/domain/old/belongs_to.rb', line 22

def code_duplicate
  @code_duplicate
end

#foreign_keyObject

Returns the value of attribute foreign_key.



16
17
18
# File 'lib/k_domain/schemas/domain/old/belongs_to.rb', line 16

def foreign_key
  @foreign_key
end

#inverse_ofObject

Returns the value of attribute inverse_of.



18
19
20
# File 'lib/k_domain/schemas/domain/old/belongs_to.rb', line 18

def inverse_of
  @inverse_of
end

#model_nameObject

Returns the value of attribute model_name.



10
11
12
# File 'lib/k_domain/schemas/domain/old/belongs_to.rb', line 10

def model_name
  @model_name
end

#model_name_pluralObject

Returns the value of attribute model_name_plural.



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

def model_name_plural
  @model_name_plural
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#polymorphicObject

Returns the value of attribute polymorphic.



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

def polymorphic
  @polymorphic
end

#primary_keyObject

Returns the value of attribute primary_key.



17
18
19
# File 'lib/k_domain/schemas/domain/old/belongs_to.rb', line 17

def primary_key
  @primary_key
end

Returns the value of attribute related_entity.



21
22
23
# File 'lib/k_domain/schemas/domain/old/belongs_to.rb', line 21

def related_entity
  @related_entity
end

#with_deletedObject

Returns the value of attribute with_deleted.



19
20
21
# File 'lib/k_domain/schemas/domain/old/belongs_to.rb', line 19

def with_deleted
  @with_deleted
end