PersistentDTO is made interface
commit1f286ff39ba2b8e81757e8db3083645ce00ea6e1
authorImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 1 Jan 2009 13:28:09 +0000 (1 19:28 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 1 Jan 2009 13:28:09 +0000 (1 19:28 +0600)
treea7fdecfc03b9d7f99787e53d61688d4a0ca9c844
parent0ad2dba291cbf25c8a8d50000d061d8b5346076c
PersistentDTO is made interface

As PersistentDTO acts as a liaison between DAO and Domain it is only
fitting that its an interface and the implementation is rather switched
to a new abstract class.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-domain/src/main/java/com/smartitengineering/domain/AbstractPersistentDTO.java [moved from smart-domain/src/main/java/com/smartitengineering/domain/PersistentDTO.java with 94% similarity]
smart-domain/src/main/java/com/smartitengineering/domain/PersistentDTO.java [copied from smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/domain/Author.java with 58% similarity]
smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/domain/Author.java
smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/domain/Book.java
smart-hibernate-abstract-dao/src/test/java/com/smartitengineering/dao/impl/hibernate/domain/Publisher.java