org.jboss.dna.common.jdbc.model.api
Interface TableType

All Superinterfaces:
CoreMetaData, DatabaseNamedObject, Serializable
All Known Implementing Classes:
TableTypeBean

public interface TableType
extends DatabaseNamedObject

Provides database table type specific metadata.

The table type is:

  1. TABLE_TYPE String => table type. Typical types are "TABLE", "VIEW", "SYSTEM TABLE", "GLOBAL TEMPORARY", "LOCAL TEMPORARY", "ALIAS", "SYNONYM".

Author:
Sergiy Litsenko

Field Summary
static String DEF_TABLE_TYPE_ALIAS
           
static String DEF_TABLE_TYPE_GLOBAL_TEMP
           
static String DEF_TABLE_TYPE_LOCAL_TEMP
           
static String DEF_TABLE_TYPE_SYNONYM
           
static String DEF_TABLE_TYPE_SYS_TABLE
           
static String DEF_TABLE_TYPE_TABLE
           
static String DEF_TABLE_TYPE_VIEW
           
 
Method Summary
 Boolean isAlias()
          Is current table type represents ALIAS
 Boolean isAlias(String tableTypeName)
          Is table type represents ALIAS
 Boolean isGlobalTemporary()
          Is current table type represents GLOBAL TEMPORARY
 Boolean isGlobalTemporary(String tableTypeName)
          Is current table type represents GLOBAL TEMPORARY
 Boolean isLocalTemporary()
          Is current table type represents LOCAL TEMPORARY
 Boolean islocalTemporary(String tableTypeName)
          Is table type represents LOCAL TEMPORARY
 Boolean isSynonym()
          Is current table type represents SYNONYM
 Boolean isSynonym(String tableTypeName)
          Is table type represents SYNONYM
 Boolean isSystemTable()
          Is current table type represents SYSTEM TABLE
 Boolean isSystemTable(String tableTypeName)
          Is table type represents SYSTEM TABLE
 Boolean isTable()
          Is current table type represents TABLE
 Boolean isTable(String tableTypeName)
          Is table type represents TABLE
 Boolean isView()
          Is current table type represents VIEW
 Boolean isView(String tableTypeName)
          Is table type represents VIEW
 
Methods inherited from interface org.jboss.dna.common.jdbc.model.api.DatabaseNamedObject
addExtraProperty, deleteExtraProperty, getExtraProperties, getExtraProperty, getName, getRemarks, setName, setRemarks
 

Field Detail

DEF_TABLE_TYPE_TABLE

static final String DEF_TABLE_TYPE_TABLE
See Also:
Constant Field Values

DEF_TABLE_TYPE_VIEW

static final String DEF_TABLE_TYPE_VIEW
See Also:
Constant Field Values

DEF_TABLE_TYPE_SYS_TABLE

static final String DEF_TABLE_TYPE_SYS_TABLE
See Also:
Constant Field Values

DEF_TABLE_TYPE_GLOBAL_TEMP

static final String DEF_TABLE_TYPE_GLOBAL_TEMP
See Also:
Constant Field Values

DEF_TABLE_TYPE_LOCAL_TEMP

static final String DEF_TABLE_TYPE_LOCAL_TEMP
See Also:
Constant Field Values

DEF_TABLE_TYPE_ALIAS

static final String DEF_TABLE_TYPE_ALIAS
See Also:
Constant Field Values

DEF_TABLE_TYPE_SYNONYM

static final String DEF_TABLE_TYPE_SYNONYM
See Also:
Constant Field Values
Method Detail

isTable

Boolean isTable(String tableTypeName)
Is table type represents TABLE

Parameters:
tableTypeName - the table type string
Returns:
true if table type represents TABLE

isTable

Boolean isTable()
Is current table type represents TABLE

Returns:
true if current table type represents TABLE

isView

Boolean isView(String tableTypeName)
Is table type represents VIEW

Parameters:
tableTypeName - the table type string
Returns:
true if table type represents VIEW

isView

Boolean isView()
Is current table type represents VIEW

Returns:
true if current table type represents VIEW

isSystemTable

Boolean isSystemTable(String tableTypeName)
Is table type represents SYSTEM TABLE

Parameters:
tableTypeName - the table type string
Returns:
true if table type represents SYSTEM TABLE

isSystemTable

Boolean isSystemTable()
Is current table type represents SYSTEM TABLE

Returns:
true if current table type represents SYSTEM TABLE

isGlobalTemporary

Boolean isGlobalTemporary(String tableTypeName)
Is current table type represents GLOBAL TEMPORARY

Parameters:
tableTypeName - the table type string
Returns:
true if current table type represents GLOBAL TEMPORARY

isGlobalTemporary

Boolean isGlobalTemporary()
Is current table type represents GLOBAL TEMPORARY

Returns:
true if table type represents GLOBAL TEMPORARY

islocalTemporary

Boolean islocalTemporary(String tableTypeName)
Is table type represents LOCAL TEMPORARY

Parameters:
tableTypeName - the table type string
Returns:
true if table type represents LOCAL TEMPORARY

isLocalTemporary

Boolean isLocalTemporary()
Is current table type represents LOCAL TEMPORARY

Returns:
true if current table type represents LOCAL TEMPORARY

isAlias

Boolean isAlias(String tableTypeName)
Is table type represents ALIAS

Parameters:
tableTypeName - the table type string
Returns:
true if table type represents ALIAS

isAlias

Boolean isAlias()
Is current table type represents ALIAS

Returns:
true if current table type represents ALIAS

isSynonym

Boolean isSynonym(String tableTypeName)
Is table type represents SYNONYM

Parameters:
tableTypeName - the table type string
Returns:
true if table type represents SYNONYM

isSynonym

Boolean isSynonym()
Is current table type represents SYNONYM

Returns:
true if current table type represents SYNONYM


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.