Class: KDomain::DomainModel::HasMany

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

Constant Summary collapse

KEYS =
%i[a_lambda as dependent through class_name inverse_of primary_key foreign_key source 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/has_many.rb', line 13

def a_lambda
  @a_lambda
end

#asObject

Returns the value of attribute as.



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

def as
  @as
end

#class_nameObject

Returns the value of attribute class_name.



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

def class_name
  @class_name
end

#code_duplicateObject

Returns the value of attribute code_duplicate.



24
25
26
# File 'lib/k_domain/schemas/domain/old/has_many.rb', line 24

def code_duplicate
  @code_duplicate
end

#dependentObject

Returns the value of attribute dependent.



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

def dependent
  @dependent
end

#foreign_keyObject

Returns the value of attribute foreign_key.



20
21
22
# File 'lib/k_domain/schemas/domain/old/has_many.rb', line 20

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/has_many.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/has_many.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/has_many.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/has_many.rb', line 8

def name
  @name
end

#primary_keyObject

Returns the value of attribute primary_key.



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

def primary_key
  @primary_key
end

Returns the value of attribute related_entity.



23
24
25
# File 'lib/k_domain/schemas/domain/old/has_many.rb', line 23

def related_entity
  @related_entity
end

#sourceObject

Returns the value of attribute source.



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

def source
  @source
end

#throughObject

Returns the value of attribute through.



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

def through
  @through
end