Refactor the domain package to a separate module
commit0ad2dba291cbf25c8a8d50000d061d8b5346076c
authorImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 1 Jan 2009 13:22:17 +0000 (1 19:22 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 1 Jan 2009 13:22:17 +0000 (1 19:22 +0600)
tree7ac0796574debe971ee21aa797b6afdfba6bd5aa
parentca129820e4cf49680c20dc475e54456d660adc8c
Refactor the domain package to a separate module

Previously domain was a part of the abstract-dao module and thus to
ensure that a project follows the smart-dao domain model it was needed
to import the whole module instead of the domain part only, thus this
refactor was introduced.

From this refactor another benefit that can be reaped is domain export,
validation checking and binding frameworks basic work can be achieved.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-abstract-dao/pom.xml
smart-dao/pom.xml
smart-domain/pom.xml [new file with mode: 0644]
smart-domain/src/main/java/com/smartitengineering/domain/Domain.java [moved from smart-abstract-dao/src/main/java/com/smartitengineering/domain/Domain.java with 100% similarity]
smart-domain/src/main/java/com/smartitengineering/domain/PersistentDTO.java [moved from smart-abstract-dao/src/main/java/com/smartitengineering/domain/PersistentDTO.java with 100% similarity]
smart-domain/src/test/java/com/smartitengineering/domain/AppTest.java [new file with mode: 0644]
smart-hibernate-abstract-dao/pom.xml