Created
August 19, 2012 09:51
-
-
Save jadianes/3394038 to your computer and use it in GitHub Desktop.
The transfer entity
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.jadianes.samples.genericdao.transfer; | |
/** | |
* This interface represents a TransferEntity in the Dao pattern used to interchange information between the | |
* BusinessObject and the DataAccessObject (Dao). Tipically the Dao will set/get this object from the | |
* DataSource (e.g. a DB or a message channel). See more info about the Dao pattern in: | |
*/ | |
public interface TransferEntity<K> { | |
public void setId(K id); | |
public K getId(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment