com.scooterframework.orm.sqldataexpress.object
Class TableInfo

java.lang.Object
  extended by com.scooterframework.orm.sqldataexpress.object.TableInfo
All Implemented Interfaces:
java.io.Serializable

public class TableInfo
extends java.lang.Object
implements java.io.Serializable

TabelInfo class holds configure information about a specific table or view.

See Also:
Serialized Form

Field Summary
protected  java.lang.String catalog
           
protected  RowInfo header
           
protected  java.lang.String name
           
protected  java.lang.String remarks
           
protected  java.lang.String schema
           
protected  java.lang.String type
           
static java.lang.String TYPE_SYNONYM
           
static java.lang.String TYPE_TABLE
           
static java.lang.String TYPE_VIEW
           
 
Constructor Summary
TableInfo()
           
 
Method Summary
 java.lang.String getCatalog()
          Returns catalog
 RowInfo getHeader()
          Returns RowInfo as table header
 java.lang.String getName()
          Returns table name
 java.lang.String getRemarks()
          Returns table remarks
 java.lang.String getSchema()
          Returns schema
static java.lang.String[] getSupportedTypes()
          Returns supported types.
 int getTableWidth()
          Returns table width
 java.lang.String getType()
          Returns table type
 void setCatalog(java.lang.String catalog)
          Sets catalog
 void setHeader(RowInfo header)
          Sets RowInfo
 void setName(java.lang.String name)
          Sets table name
 void setRemarks(java.lang.String remarks)
          Sets table remarks
 void setSchema(java.lang.String schema)
          Sets schema
 void setType(java.lang.String type)
          Sets table type
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_SYNONYM

public static final java.lang.String TYPE_SYNONYM
See Also:
Constant Field Values

TYPE_TABLE

public static final java.lang.String TYPE_TABLE
See Also:
Constant Field Values

TYPE_VIEW

public static final java.lang.String TYPE_VIEW
See Also:
Constant Field Values

schema

protected java.lang.String schema

catalog

protected java.lang.String catalog

type

protected java.lang.String type

name

protected java.lang.String name

remarks

protected java.lang.String remarks

header

protected RowInfo header
Constructor Detail

TableInfo

public TableInfo()
Method Detail

getName

public java.lang.String getName()
Returns table name


setName

public void setName(java.lang.String name)
Sets table name


getCatalog

public java.lang.String getCatalog()
Returns catalog


setCatalog

public void setCatalog(java.lang.String catalog)
Sets catalog


getSchema

public java.lang.String getSchema()
Returns schema


setSchema

public void setSchema(java.lang.String schema)
Sets schema


getType

public java.lang.String getType()
Returns table type


setType

public void setType(java.lang.String type)
Sets table type


getRemarks

public java.lang.String getRemarks()
Returns table remarks


setRemarks

public void setRemarks(java.lang.String remarks)
Sets table remarks


getHeader

public RowInfo getHeader()
Returns RowInfo as table header


setHeader

public void setHeader(RowInfo header)
Sets RowInfo


getTableWidth

public int getTableWidth()
Returns table width


getSupportedTypes

public static java.lang.String[] getSupportedTypes()
Returns supported types.


toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
String