diff options
author | Thomas Knall <t.knall@datentechnik-innovation.com> | 2015-02-04 13:19:53 +0100 |
---|---|---|
committer | Thomas Knall <t.knall@datentechnik-innovation.com> | 2015-02-04 13:19:53 +0100 |
commit | 215b326e807659b30c520478e8123a888df6d204 (patch) | |
tree | f821d0bf649202b7074dd59c2c807093011c9f2a /id/server/idserverlib/src | |
parent | a22b7f1660560569701d086b4075192fa83ee6a8 (diff) | |
download | moa-id-spss-215b326e807659b30c520478e8123a888df6d204.tar.gz moa-id-spss-215b326e807659b30c520478e8123a888df6d204.tar.bz2 moa-id-spss-215b326e807659b30c520478e8123a888df6d204.zip |
Add comment to ProcessInstanceStore primary key field
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/process/dao/ProcessInstanceStore.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/process/dao/ProcessInstanceStore.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/process/dao/ProcessInstanceStore.java index 582f50427..d690c37bf 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/process/dao/ProcessInstanceStore.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/process/dao/ProcessInstanceStore.java @@ -19,6 +19,15 @@ import at.gv.egovernment.moa.id.process.ProcessInstanceState; @Table(name = "processinstance") public class ProcessInstanceStore { + /** + * A process instance identifier qualifies as natural primary key by satisfying these requirements + * ("unique, constant, required"): + * <ul> + * <li>unique value</li> + * <li>never changes (immutable)</li> + * <li>never {@code null}</li> + * </ul> + */ @Id private String processInstanceId; |