org.kaiwitte.workbench.data
Interface DataScheme


public interface DataScheme

Represents a data scheme.

Implementation note: Will be backed up by a table in an SQL database.


Method Summary
 java.lang.String getAutoLoadCondition()
          Returns the condition for records that are build according to this DataScheme when they shall be automatically loaded to a visible table on program start.
 DataColumn[] getColumns()
          Returns the DataColumns.
 int getLength()
          Returns the number of DataColumns.
 java.lang.String getMailCondition()
          Returns the condition for records that are build according to this DataScheme when a mail is to be sent.
 java.lang.String getName()
          Returns the name of this column.
 

Method Detail

getLength

int getLength()
Returns the number of DataColumns.

Returns:
the number of DataColumns

getColumns

DataColumn[] getColumns()
Returns the DataColumns.

Returns:
the DataColumns

getName

java.lang.String getName()
Returns the name of this column.

Returns:
the name of this column

getMailCondition

java.lang.String getMailCondition()
Returns the condition for records that are build according to this DataScheme when a mail is to be sent. String types are NOT quoted. E. g.: status=erledigt.

Returns:
condition when a mail is to be sent

getAutoLoadCondition

java.lang.String getAutoLoadCondition()
Returns the condition for records that are build according to this DataScheme when they shall be automatically loaded to a visible table on program start. Strict SQL syntax. String types ARE quoted. E. g.: