SPT RWT Application API

com.sptci.rwt
Class LimitsMetaData

java.lang.Object
  extended by com.sptci.rwt.MetaData
      extended by com.sptci.rwt.LimitsMetaData
All Implemented Interfaces:
Serializable

public class LimitsMetaData
extends MetaData

A value object that represents metadata about limits enforced by the database. All limits are expressed in terms of the maximum values allowed.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: LimitsMetaData.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-09-25
See Also:
DatabaseMetaData, Serialized Form

Field Summary
private  int characterLength
          The maximum number of characters this database allows for a character literal.
private  int columnNameLength
          The maximum number of characters this database allows for a column name.
private  int columnsInGroupBy
          The maximum number of columns this database allows in a GROUP BY clause.
private  int columnsInIndex
          The maximum number of columns this database allows in an index.
private  int columnsInOrderBy
          The maximum number of columns this database allows in an ORDER BY clause.
private  int columnsInSelect
          The maximum number of columns this database allows in a SELECT list.
private  int columnsInTable
          The maximum number of columns this database allows in a table.
private  int connections
          The maximum number of concurrent connections to this database that are possible.
private  int cursorNameLength
          The maximum number of characters that this database allows in a cursor name.
private  int indexLength
          The maximum number of bytes this database allows for an index, including all of the parts of the index.
private  int procedureNameLength
          The maximum number of characters that this database allows in a procedure name.
private  int rowSize
          The maximum number of bytes this database allows in a single row.
private  int schemaNameLength
          The maximum number of characters that this database allows in a schema name.
private  int statementLength
          The maximum number of characters this database allows in an SQL statement.
private  int statements
          The maximum number of active statements to this database that can be open at the same time.
private  int tableNameLength
          The maximum number of characters this database allows in a table name.
private  int tablesInSelect
          The maximum number of tables this database allows in a SELECT statement.
private  int userNameLength
          The maximum number of characters this database allows in a user name.
 
Constructor Summary
LimitsMetaData()
           
 
Method Summary
 int getCharacterLength()
          Returns characterLength.
 int getColumnNameLength()
          Returns columnNameLength.
 int getColumnsInGroupBy()
          Returns columnsInGroupBy.
 int getColumnsInIndex()
          Returns columnsInIndex.
 int getColumnsInOrderBy()
          Returns columnsInOrderBy.
 int getColumnsInSelect()
          Returns columnsInSelect.
 int getColumnsInTable()
          Returns columnsInTable.
 int getConnections()
          Returns connections.
 int getCursorNameLength()
          Returns cursorNameLength.
 int getIndexLength()
          Returns indexLength.
 int getProcedureNameLength()
          Returns procedureNameLength.
 int getRowSize()
          Returns rowSize.
 int getSchemaNameLength()
          Returns schemaNameLength.
 int getStatementLength()
          Returns statementLength.
 int getStatements()
          Returns statements.
 int getTableNameLength()
          Returns tableNameLength.
 int getTablesInSelect()
          Returns tablesInSelect.
 int getUserNameLength()
          Returns userNameLength.
protected  void setCharacterLength(int characterLength)
          Set characterLength.
protected  void setColumnNameLength(int columnNameLength)
          Set columnNameLength.
protected  void setColumnsInGroupBy(int columnsInGroupBy)
          Set columnsInGroupBy.
protected  void setColumnsInIndex(int columnsInIndex)
          Set columnsInIndex.
protected  void setColumnsInOrderBy(int columnsInOrderBy)
          Set columnsInOrderBy.
protected  void setColumnsInSelect(int columnsInSelect)
          Set columnsInSelect.
protected  void setColumnsInTable(int columnsInTable)
          Set columnsInTable.
protected  void setConnections(int connections)
          Set connections.
protected  void setCursorNameLength(int cursorNameLength)
          Set cursorNameLength.
protected  void setIndexLength(int indexLength)
          Set indexLength.
protected  void setProcedureNameLength(int procedureNameLength)
          Set procedureNameLength.
protected  void setRowSize(int rowSize)
          Set rowSize.
protected  void setSchemaNameLength(int schemaNameLength)
          Set schemaNameLength.
protected  void setStatementLength(int statementLength)
          Set statementLength.
protected  void setStatements(int statements)
          Set statements.
protected  void setTableNameLength(int tableNameLength)
          Set tableNameLength.
protected  void setTablesInSelect(int tablesInSelect)
          Set tablesInSelect.
protected  void setUserNameLength(int userNameLength)
          Set userNameLength.
 
Methods inherited from class com.sptci.rwt.MetaData
equals, getName, hashCode, setName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

characterLength

private int characterLength
The maximum number of characters this database allows for a character literal.


columnNameLength

private int columnNameLength
The maximum number of characters this database allows for a column name.


columnsInGroupBy

private int columnsInGroupBy
The maximum number of columns this database allows in a GROUP BY clause.


columnsInIndex

private int columnsInIndex
The maximum number of columns this database allows in an index.


columnsInOrderBy

private int columnsInOrderBy
The maximum number of columns this database allows in an ORDER BY clause.


columnsInSelect

private int columnsInSelect
The maximum number of columns this database allows in a SELECT list.


columnsInTable

private int columnsInTable
The maximum number of columns this database allows in a table.


connections

private int connections
The maximum number of concurrent connections to this database that are possible.


cursorNameLength

private int cursorNameLength
The maximum number of characters that this database allows in a cursor name.


indexLength

private int indexLength
The maximum number of bytes this database allows for an index, including all of the parts of the index.


procedureNameLength

private int procedureNameLength
The maximum number of characters that this database allows in a procedure name.


rowSize

private int rowSize
The maximum number of bytes this database allows in a single row.


schemaNameLength

private int schemaNameLength
The maximum number of characters that this database allows in a schema name.


statementLength

private int statementLength
The maximum number of characters this database allows in an SQL statement.


statements

private int statements
The maximum number of active statements to this database that can be open at the same time.


tableNameLength

private int tableNameLength
The maximum number of characters this database allows in a table name.


tablesInSelect

private int tablesInSelect
The maximum number of tables this database allows in a SELECT statement.


userNameLength

private int userNameLength
The maximum number of characters this database allows in a user name.

Constructor Detail

LimitsMetaData

public LimitsMetaData()
Method Detail

getCharacterLength

public int getCharacterLength()
Returns characterLength.

Returns:
The value/reference of/to characterLength.

setCharacterLength

protected void setCharacterLength(int characterLength)
Set characterLength.

Parameters:
characterLength - The value to set.

getColumnNameLength

public int getColumnNameLength()
Returns columnNameLength.

Returns:
The value/reference of/to columnNameLength.

setColumnNameLength

protected void setColumnNameLength(int columnNameLength)
Set columnNameLength.

Parameters:
columnNameLength - The value to set.

getColumnsInGroupBy

public int getColumnsInGroupBy()
Returns columnsInGroupBy.

Returns:
The value/reference of/to columnsInGroupBy.

setColumnsInGroupBy

protected void setColumnsInGroupBy(int columnsInGroupBy)
Set columnsInGroupBy.

Parameters:
columnsInGroupBy - The value to set.

getColumnsInIndex

public int getColumnsInIndex()
Returns columnsInIndex.

Returns:
The value/reference of/to columnsInIndex.

setColumnsInIndex

protected void setColumnsInIndex(int columnsInIndex)
Set columnsInIndex.

Parameters:
columnsInIndex - The value to set.

getColumnsInOrderBy

public int getColumnsInOrderBy()
Returns columnsInOrderBy.

Returns:
The value/reference of/to columnsInOrderBy.

setColumnsInOrderBy

protected void setColumnsInOrderBy(int columnsInOrderBy)
Set columnsInOrderBy.

Parameters:
columnsInOrderBy - The value to set.

getColumnsInSelect

public int getColumnsInSelect()
Returns columnsInSelect.

Returns:
The value/reference of/to columnsInSelect.

setColumnsInSelect

protected void setColumnsInSelect(int columnsInSelect)
Set columnsInSelect.

Parameters:
columnsInSelect - The value to set.

getColumnsInTable

public int getColumnsInTable()
Returns columnsInTable.

Returns:
The value/reference of/to columnsInTable.

setColumnsInTable

protected void setColumnsInTable(int columnsInTable)
Set columnsInTable.

Parameters:
columnsInTable - The value to set.

getConnections

public int getConnections()
Returns connections.

Returns:
The value/reference of/to connections.

setConnections

protected void setConnections(int connections)
Set connections.

Parameters:
connections - The value to set.

getCursorNameLength

public int getCursorNameLength()
Returns cursorNameLength.

Returns:
The value/reference of/to cursorNameLength.

setCursorNameLength

protected void setCursorNameLength(int cursorNameLength)
Set cursorNameLength.

Parameters:
cursorNameLength - The value to set.

getIndexLength

public int getIndexLength()
Returns indexLength.

Returns:
The value/reference of/to indexLength.

setIndexLength

protected void setIndexLength(int indexLength)
Set indexLength.

Parameters:
indexLength - The value to set.

getProcedureNameLength

public int getProcedureNameLength()
Returns procedureNameLength.

Returns:
The value/reference of/to procedureNameLength.

setProcedureNameLength

protected void setProcedureNameLength(int procedureNameLength)
Set procedureNameLength.

Parameters:
procedureNameLength - The value to set.

getRowSize

public int getRowSize()
Returns rowSize.

Returns:
The value/reference of/to rowSize.

setRowSize

protected void setRowSize(int rowSize)
Set rowSize.

Parameters:
rowSize - The value to set.

getSchemaNameLength

public int getSchemaNameLength()
Returns schemaNameLength.

Returns:
The value/reference of/to schemaNameLength.

setSchemaNameLength

protected void setSchemaNameLength(int schemaNameLength)
Set schemaNameLength.

Parameters:
schemaNameLength - The value to set.

getStatementLength

public int getStatementLength()
Returns statementLength.

Returns:
The value/reference of/to statementLength.

setStatementLength

protected void setStatementLength(int statementLength)
Set statementLength.

Parameters:
statementLength - The value to set.

getStatements

public int getStatements()
Returns statements.

Returns:
The value/reference of/to statements.

setStatements

protected void setStatements(int statements)
Set statements.

Parameters:
statements - The value to set.

getTableNameLength

public int getTableNameLength()
Returns tableNameLength.

Returns:
The value/reference of/to tableNameLength.

setTableNameLength

protected void setTableNameLength(int tableNameLength)
Set tableNameLength.

Parameters:
tableNameLength - The value to set.

getTablesInSelect

public int getTablesInSelect()
Returns tablesInSelect.

Returns:
The value/reference of/to tablesInSelect.

setTablesInSelect

protected void setTablesInSelect(int tablesInSelect)
Set tablesInSelect.

Parameters:
tablesInSelect - The value to set.

getUserNameLength

public int getUserNameLength()
Returns userNameLength.

Returns:
The value/reference of/to userNameLength.

setUserNameLength

protected void setUserNameLength(int userNameLength)
Set userNameLength.

Parameters:
userNameLength - The value to set.

SPT RWT Application API