Class: KDomain::DomainModel::BelongsTo
- Inherits:
-
Object
- Object
- KDomain::DomainModel::BelongsTo
- 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
-
#a_lambda ⇒ Object
Returns the value of attribute a_lambda.
-
#class_name ⇒ Object
Returns the value of attribute class_name.
-
#code_duplicate ⇒ Object
Returns the value of attribute code_duplicate.
-
#foreign_key ⇒ Object
Returns the value of attribute foreign_key.
-
#inverse_of ⇒ Object
Returns the value of attribute inverse_of.
-
#model_name ⇒ Object
Returns the value of attribute model_name.
-
#model_name_plural ⇒ Object
Returns the value of attribute model_name_plural.
-
#name ⇒ Object
Returns the value of attribute name.
-
#polymorphic ⇒ Object
Returns the value of attribute polymorphic.
-
#primary_key ⇒ Object
Returns the value of attribute primary_key.
-
#related_entity ⇒ Object
Returns the value of attribute related_entity.
-
#with_deleted ⇒ Object
Returns the value of attribute with_deleted.
Instance Attribute Details
#a_lambda ⇒ Object
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_name ⇒ Object
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_duplicate ⇒ Object
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_key ⇒ Object
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_of ⇒ Object
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_name ⇒ Object
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_plural ⇒ Object
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 |
#name ⇒ Object
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 |
#polymorphic ⇒ Object
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_key ⇒ Object
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 |
#related_entity ⇒ Object
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 end |
#with_deleted ⇒ Object
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 |