www.element4solution.com

e4s.db.dict
Interface E4DBTable_Intf

All Superinterfaces:
java.lang.Comparable
All Known Implementing Classes:
E4DBTable, E4DBView

public interface E4DBTable_Intf
extends java.lang.Comparable

Part of the datadictionary: interface for database table objects.

Since:
JDK 1.4
See Also:
E4DBTable, E4DBView

Method Summary
 boolean equals(E4DBTableName tablename)
          Compare the table's name.
 E4DBColumnInfo findColumnInfo(E4DBColumnName columnname)
          Look for a specific column.
 E4DBColumnInfo[] getColumnInfos(boolean sort)
          Get all columns
 boolean getGenerateBase()
          Check, if Java source code will be generated for this table.
 E4DBTableName getName()
          Get the table's name.
 java.lang.String getPackage(boolean use_default)
          Get the custom package name.
 java.lang.String getRem()
          Get the table's remark.
 boolean hasChanged()
           
 boolean hasClientDistinction()
           
 boolean hasColumn(E4DBColumnName column)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

E4DBTableName getName()
Get the table's name.

Returns:
name of the table
See Also:
equals(e4s.db.E4DBTableName)

getRem

java.lang.String getRem()
Get the table's remark.

Returns:
table remark, or null if not defined
See Also:
#setRem(String)

getGenerateBase

boolean getGenerateBase()
Check, if Java source code will be generated for this table.

Returns:
true, if generated or false otherwise

findColumnInfo

E4DBColumnInfo findColumnInfo(E4DBColumnName columnname)
Look for a specific column.

Parameters:
columnname - the name of the column
Returns:
null if not found, the column if found
See Also:
#addColumn(E4DBColumn), #getColumns()

getColumnInfos

E4DBColumnInfo[] getColumnInfos(boolean sort)
                                throws java.lang.Exception
Get all columns

Throws:
java.lang.Exception

getPackage

java.lang.String getPackage(boolean use_default)
                            throws java.lang.Exception
Get the custom package name.

Parameters:
use_default - if the package is not defined on table level, use the package defined global for the data dictionary
Returns:
the package definition
Throws:
java.lang.Exception
See Also:
#setPackage(String), E4DBSettings.getDictPackage()

equals

boolean equals(E4DBTableName tablename)
Compare the table's name.

Parameters:
tablename - the tablename to be compared with the table name of this object
Returns:
true, if equal
See Also:
e4s.db.E4DBTableName#equals(e4s.db.E4DBTableName), #setTableName(e4s.db.E4DBTableName)

hasClientDistinction

boolean hasClientDistinction()

hasColumn

boolean hasColumn(E4DBColumnName column)

hasChanged

boolean hasChanged()

www.element4solution.com