medi.db.table
Class Genre

java.lang.Object
  |
  +--javatools.db.DbAbstractTable
        |
        +--javatools.db.DbFixedAbstractTable
              |
              +--medi.db.table.Genre
All Implemented Interfaces:
DbTableUser

public class Genre
extends DbFixedAbstractTable

Represents the GENRE table (see relational model).


Field Summary
 
Fields inherited from class javatools.db.DbFixedAbstractTable
colNameMap, columns, defaultValues
 
Fields inherited from class javatools.db.DbAbstractTable
db, displaySize, names, tableName, types
 
Constructor Summary
Genre(DbDatabase db)
          Creates new Genre.
 
Method Summary
 DbConstraint getConstraint()
          Returns the constraint (of type FKGenre).
 
Methods inherited from class javatools.db.DbFixedAbstractTable
buildUp, catchDefaults, deleter, getColumn, getColumn, getColumnCount, getDefault, getDefault, inserter, inserter, loadStructure, saveStructure, updater
 
Methods inherited from class javatools.db.DbAbstractTable
equals, getDatabase, getFullTableName, setTableName, simpleDeleter, simpleInserter, simpleInserter, simpleUpdater, usesTables
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Genre

public Genre(DbDatabase db)
      throws DbException
Creates new Genre.

Parameters:
db - The database to use.
Throws:
DbException - If something goes wrong.
Method Detail

getConstraint

public DbConstraint getConstraint()
Returns the constraint (of type FKGenre).

Specified by:
getConstraint in class DbAbstractTable
Returns:
The constraint.