Class: Lafcadio::PrimaryKeyField
- Inherits:
-
IntegerField
- Object
- ObjectField
- IntegerField
- Lafcadio::PrimaryKeyField
- Defined in:
- lib/lafcadio/objectField.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from ObjectField
#db_field_name, #domain_class, #mock_value, #name, #not_nil
Class Method Summary collapse
-
.mock_value ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#initialize(domain_class) ⇒ PrimaryKeyField
constructor
A new instance of PrimaryKeyField.
Methods inherited from IntegerField
Methods inherited from ObjectField
#<=>, #bind_write?, create_from_xml, create_with_args, creation_parameters, #db_column, #db_will_automatically_write?, #default_mock_value, #prev_value, #process_before_verify, #value_for_sql, #value_from_sql, value_type, #verify, #verify_non_nil_value
Constructor Details
#initialize(domain_class) ⇒ PrimaryKeyField
Returns a new instance of PrimaryKeyField.
512 513 514 515 |
# File 'lib/lafcadio/objectField.rb', line 512 def initialize( domain_class ) super( domain_class, 'pk_id' ) @not_nil = false end |
Class Method Details
.mock_value ⇒ Object
:nodoc:
324 325 326 |
# File 'lib/lafcadio/test.rb', line 324 def PrimaryKeyField.mock_value #:nodoc: nil end |