diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2017-04-19 16:01:19 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2017-04-19 16:01:19 +0200 |
commit | 8ec2af6e29ecb29645367a28fb1a48cf7f4f24ff (patch) | |
tree | b30a535b4bdcde33e148110b018e39c7d6d7b989 /java/MyMyBatis/src/AbstractModel.java | |
parent | 77653bb945a5ae8adfed549fd4c5d908f5a514ae (diff) | |
download | share-8ec2af6e29ecb29645367a28fb1a48cf7f4f24ff.zip share-8ec2af6e29ecb29645367a28fb1a48cf7f4f24ff.tar.gz |
java : MyMyBatis : add AbstractModel<> to implement save in AbstractDAOOperations<>
Diffstat (limited to 'java/MyMyBatis/src/AbstractModel.java')
-rw-r--r-- | java/MyMyBatis/src/AbstractModel.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/MyMyBatis/src/AbstractModel.java b/java/MyMyBatis/src/AbstractModel.java new file mode 100644 index 0000000..81bab76 --- /dev/null +++ b/java/MyMyBatis/src/AbstractModel.java @@ -0,0 +1,7 @@ +package ch.asynk; + +public interface AbstractModel<TIdentity> +{ + boolean isUnsaved(); +} + |