Remove casting from Query Parameter API usage by service implementors
commita3d17f873ca43fdc7a0f67cd87f27d4fed1ab0a3
authorImran M Yousuf <imyousuf@smartitengineering.com>
Fri, 23 Jan 2009 09:23:50 +0000 (23 15:23 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Fri, 23 Jan 2009 09:23:50 +0000 (23 15:23 +0600)
tree762f0402392675f931187b2891edcbf2609f31c8
parent5922bb186fb47831ed12d6afcedefb733bb72279
Remove casting from Query Parameter API usage by service implementors

Previously for using Query Parameter API for making your own queries
service providers had to cast to different interfaces to extract their
meaningful attributes, but through this change we have tried to remove
that need, now the helper can be used to cast query parameter to its
top level interface in API so that implementors can easily convert them.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-dao-queryparam/src/main/java/com/smartitengineering/dao/common/queryparam/AbstractQueryParameterCastHelper.java [new file with mode: 0644]
smart-dao-queryparam/src/main/java/com/smartitengineering/dao/common/queryparam/QueryParameterCastHelper.java [new file with mode: 0644]
smart-dao-queryparam/src/main/java/com/smartitengineering/dao/common/queryparam/QueryParameterFactory.java
smart-dao-search/src/main/java/com/smartitengineering/dao/common/search/compass/impl/CompassQueryBuilder.java
smart-hibernate-abstract-dao/src/main/java/com/smartitengineering/dao/impl/hibernate/AbstractDAO.java