com.pega.pegarules.pub.database
Interface DatabaseTable


public interface DatabaseTable

Contains information about a database table.

Version:
$Revision: 30445 $ $Date: 2012-07-02 10:14:43 -0400 (Mon, 02 Jul 2012) $
Author:
David Dority

Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String TABLE_TYPE_TABLE
          A table type of 'TABLE'
static java.lang.String TABLE_TYPE_VIEW
          A table type of 'VIEW'
static java.lang.String VERSION
           
 
Method Summary
 java.lang.String getCatalogName()
          Returns the catalog name for this database table;
 java.lang.String getDBName()
          Gets the name of the database.
 java.lang.String getFullyQualifiedTableName()
          Returns the fully qualified table name of this database table.
 java.lang.String getSchemaName()
          Returns the schema name of this database table;
 java.lang.String getTableName()
          Returns the table name of this database table.
 java.lang.String getTableType()
          Returns the table type for this database table;
 boolean hasStream()
          Indicates whether this database table have a stream column?
 boolean isTable()
          Indicates whether or not the database table is a table (as opposed to a view or something else).
 boolean isView()
          Indicates whether or not the database table is a view (as opposed to a table or something else).
 

Field Detail

COPYRIGHT

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

VERSION

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

TABLE_TYPE_TABLE

static final java.lang.String TABLE_TYPE_TABLE
A table type of 'TABLE'

See Also:
Constant Field Values

TABLE_TYPE_VIEW

static final java.lang.String TABLE_TYPE_VIEW
A table type of 'VIEW'

See Also:
Constant Field Values
Method Detail

getCatalogName

java.lang.String getCatalogName()
Returns the catalog name for this database table;

Returns:
The catalog name.

getSchemaName

java.lang.String getSchemaName()
Returns the schema name of this database table;

Returns:
The schema name.

getDBName

java.lang.String getDBName()
Gets the name of the database.

Returns:
the name of the database

getTableName

java.lang.String getTableName()
Returns the table name of this database table.

Returns:
The table name.

getFullyQualifiedTableName

java.lang.String getFullyQualifiedTableName()
Returns the fully qualified table name of this database table.

Returns:
The fully qualified table name.

getTableType

java.lang.String getTableType()
Returns the table type for this database table;

Returns:
The table type.

isTable

boolean isTable()
                throws ConfigurationException,
                       DatabaseException
Indicates whether or not the database table is a table (as opposed to a view or something else).

Returns:
True if this database table is a table.
Throws:
ConfigurationException
DatabaseException

isView

boolean isView()
               throws ConfigurationException,
                      DatabaseException
Indicates whether or not the database table is a view (as opposed to a table or something else).

Returns:
True if this database table is a table.
Throws:
ConfigurationException
DatabaseException

hasStream

boolean hasStream()
                  throws ConfigurationException,
                         DatabaseException
Indicates whether this database table have a stream column?

Returns:
True if it has a valid stream column
Throws:
ConfigurationException
DatabaseException


Copyright © 2012 Pegasystems Inc. All Rights Reserved.