SMACS

smacs.find.imports
Interface DbvizTable

All Superinterfaces:
HasTableName, HasTableQName, HasTableSchemaName, HasTableSchemaNameSpec, TableQ2Name, TableQName
All Known Implementing Classes:
DbvizTableDef

public interface DbvizTable
extends TableQName

Dbviz Table operations.

Merily exports the operations on a Dbviz Table after its creation.

Author:
Copyright (C) 2004, Guido Draheim. All rights reserved. Part of SMACS project.

Method Summary
 List getColumnList()
          get the columns of this table as a list.
 List getForeignKeyList()
          get the foreignkeys of this table as a list.
 String getTableName()
          the table name.
 DbvizColumn hasColumn(String name)
          find column within table definition.
 boolean hasForeignKeyTo(TableQName table)
          check foreign key assertion.
 String hasSchemaName()
          the schema name.
 
Methods inherited from interface smacs.util.schema.HasTableSchemaNameSpec
getTableSchemaNameSpec
 
Methods inherited from interface smacs.util.schema.HasTableSchemaName
getTableSchemaBaseNameSpec, getTableSchemaName
 

Method Detail

getTableName

public String getTableName()
the table name. As taken from the SqlTableReference

Specified by:
getTableName in interface HasTableName

hasSchemaName

public String hasSchemaName()
the schema name. @return null if not present

Specified by:
hasSchemaName in interface TableQName

hasColumn

public DbvizColumn hasColumn(String name)
find column within table definition. @return null if not present.


hasForeignKeyTo

public boolean hasForeignKeyTo(TableQName table)
check foreign key assertion.


getColumnList

public List getColumnList()
get the columns of this table as a list.


getForeignKeyList

public List getForeignKeyList()
get the foreignkeys of this table as a list.


SMACS