pt.moredata.dao.core
Class ReaderInformation

java.lang.Object
  extended bypt.moredata.dao.core.ReaderInformation

public class ReaderInformation
extends java.lang.Object

This is the interface used for presenting aditional information to the Reader interface so it can query a repository. Company MoreData

Version:
$Revision: 1.5 $
Author:
pcarmo

Constructor Summary
ReaderInformation()
          Create a new ReaderInformation Object.
ReaderInformation(java.lang.String tableName, java.lang.String whereString, java.util.List joinString, java.util.List orderBy, boolean distinctQuery)
          Create a new ReaderInformation Object.
 
Method Summary
 java.util.List getOrderBy()
          Getter for property orderBy.
 java.lang.String getTableName()
          Getter for property tableName.
 java.util.List getTablesJoin()
          Getter for property joinString.
 java.lang.String getWhereString()
          Getter for property whereString.
 boolean isDistinctQuery()
          Getter for property distinctQuery.
 void setDistinctQuery(boolean distinctQuery)
          Setter for property distinctQuery.
 void setOrderBy(java.util.List orderBy)
          Setter for property orderBy.
 void setTableName(java.lang.String tableName)
          Setter for property tableName.
 void setTablesJoin(java.util.List tablesJoin)
          Setter for property joinString.
 void setWhereString(java.lang.String whereString)
          Setter for property whereString.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReaderInformation

public ReaderInformation()
Create a new ReaderInformation Object.


ReaderInformation

public ReaderInformation(java.lang.String tableName,
                         java.lang.String whereString,
                         java.util.List joinString,
                         java.util.List orderBy,
                         boolean distinctQuery)
Create a new ReaderInformation Object.

Parameters:
tableName - The table name to be used by the Reader.
whereString - The where string clause to be used in the query.
joinString - The join where string clause to be used by the Reader.
orderBy - The order by clause to be used by the Reader.
distinctQuery - Indicates if the distinct query should be used by the Reader.
Method Detail

getTableName

public java.lang.String getTableName()
Getter for property tableName.

Returns:
Value of property tableName.

setTableName

public void setTableName(java.lang.String tableName)
Setter for property tableName.

Parameters:
tableName - New value of property tableName.

getWhereString

public java.lang.String getWhereString()
Getter for property whereString.

Returns:
Value of property whereString.

setWhereString

public void setWhereString(java.lang.String whereString)
Setter for property whereString.

Parameters:
whereString - New value of property whereString.

getTablesJoin

public java.util.List getTablesJoin()
Getter for property joinString.

Returns:
Value of property joinString.

setTablesJoin

public void setTablesJoin(java.util.List tablesJoin)
Setter for property joinString.

Parameters:
tablesJoin - New value of property joinString.

getOrderBy

public java.util.List getOrderBy()
Getter for property orderBy.

Returns:
Value of property orderBy.

setOrderBy

public void setOrderBy(java.util.List orderBy)
Setter for property orderBy.

Parameters:
orderBy - New value of property orderBy.

isDistinctQuery

public boolean isDistinctQuery()
Getter for property distinctQuery.

Returns:
Value of property distinctQuery.

setDistinctQuery

public void setDistinctQuery(boolean distinctQuery)
Setter for property distinctQuery.

Parameters:
distinctQuery - New value of property distinctQuery.