uba.db.table
Class TableSchemaBuilder

java.lang.Object
  extended by uba.db.table.TableSchemaBuilder

public class TableSchemaBuilder
extends java.lang.Object

Facilita la creación de instancias concretas de TableSchema.

Version:
$Revision: 1.2 $

Constructor Summary
TableSchemaBuilder(java.lang.String tableName)
           
 
Method Summary
 TableSchemaBuilder addColumn(ColumnSpecification columnSpecification)
           
 TableSchemaBuilder addPrimaryKeyConstraintTo(java.lang.String columnName)
           
 TableSchemaBuilder addUniqueConstraintTo(java.lang.String columnName)
           
 TableSchema build()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableSchemaBuilder

public TableSchemaBuilder(java.lang.String tableName)
Method Detail

build

public TableSchema build()
                  throws TableSchemaBuildException
Returns:
Throws:
TableSchemaBuildException

addColumn

public TableSchemaBuilder addColumn(ColumnSpecification columnSpecification)

addPrimaryKeyConstraintTo

public TableSchemaBuilder addPrimaryKeyConstraintTo(java.lang.String columnName)

addUniqueConstraintTo

public TableSchemaBuilder addUniqueConstraintTo(java.lang.String columnName)


Copyright © -2005 . All Rights Reserved.