records

authors:Rémi GATTAZ
copyright:Copyright 2015, IsandlaTech
license:Apache Software License 2.0
class restbuilder.models.records.Records

Bases: object

Handler of the classes mapping the database

getRecordClass(aClassName)

Return the record class associated to the name

Parameters:aClassName – name of the record class to retrieve
Returns:Record classe
registerRecordClass(aRecordClass)

add a Record class

Parameters:aRecordClass – Class Record to add
unregisterRecordClass(aRecordClassName)

add a Record class

Parameters:aRecordClassName – Name of the Class Record to remove