Class: Dart::ManyToOneAssociation
- Inherits:
-
DirectAssociation
- Object
- Association
- DirectAssociation
- Dart::ManyToOneAssociation
- Defined in:
- lib/dart/core/many_to_one_association.rb
Direct Known Subclasses
Constant Summary
Constants inherited from DirectAssociation
Constants inherited from Association
Association::MANY_TO_MANY_TYPE, Association::MANY_TO_ONE_TYPE, Association::ONE_TO_MANY_TYPE, Association::ONE_TO_ONE_TYPE
Instance Attribute Summary
Attributes inherited from Association
Instance Method Summary collapse
Methods inherited from DirectAssociation
#eql?, #hash, #initialize, #to_s
Methods inherited from Association
Constructor Details
This class inherits a constructor from Dart::DirectAssociation
Instance Method Details
#associated_table ⇒ Object
8 9 10 |
# File 'lib/dart/core/many_to_one_association.rb', line 8 def associated_table parent_table end |
#to_one? ⇒ Boolean
12 13 14 |
# File 'lib/dart/core/many_to_one_association.rb', line 12 def to_one? true end |
#type ⇒ Object
4 5 6 |
# File 'lib/dart/core/many_to_one_association.rb', line 4 def type MANY_TO_ONE_TYPE end |