toolkit.db.api
Class QBEInfo

java.lang.Object
  extended by toolkit.db.api.QBEInfo

public class QBEInfo
extends java.lang.Object

Class QBEInfo wraps all information of related QBE commands.


Method Summary
 boolean equals(java.lang.Object obj)
          Compares this QBEInfo with the specified object.
 ColumnInfo getColumnInfo()
          Gets the ColumnInfo of this QBEInfo.
 java.util.Hashtable getCriteria()
          Gets the Hashtable of the criteria.
 java.lang.String toString()
          Returns a string representing this QBEInfo's values.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getColumnInfo

public ColumnInfo getColumnInfo()
Gets the ColumnInfo of this QBEInfo.

Returns:
the columnInfo of this QBEInfo.

getCriteria

public java.util.Hashtable getCriteria()
Gets the Hashtable of the criteria. The key is the row index(represented in Integer), and the value is the criteria(represented in String). You can call getCriteria().get(new Integer(i)) to get the specified row criteria of this column.

Returns:
the criteria.

equals

public boolean equals(java.lang.Object obj)
Compares this QBEInfo with the specified object.

Overrides:
equals in class java.lang.Object
Returns:
true if the QBEInfo are the same, false otherwise.

toString

public java.lang.String toString()
Returns a string representing this QBEInfo's values. The format is as follows:

  className@hashCode[ columnMapingName | row1=expr1, row2=expr2, ... ]
        

Overrides:
toString in class java.lang.Object
Returns:
a string representing this AndInfo.