Class TapKit::Adapter
In: lib/tapkit/access/adapter.rb
Parent: Object

Methods

Attributes

application  [R] 
connection  [RW] 
contexts  [R] 
model  [R] 
name  [R] 

Public Class methods

Implemented by subclasses to return object of the classes used to save values to database as external type, and to create model files by modeler. Returns nil if mapping for external type can’t be found.

The default implementation is using internal_types() of class method.

Hash of internal types. If you create subclasses of DBIAdapter, use this with adding own internal types for database.

The default implementation is returning hash of data types for SQL-92.

Abstract method. Returns an instance of LoginPrompt for the adapter. A subclass must override this method.

Public Instance methods

Abstract method. Returns a new context object and adds it into contexts array. A subclass should override.

[Validate]