]> git.mxchange.org Git - jfinancials-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 16 Apr 2020 20:09:49 +0000 (22:09 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 16 Apr 2020 20:09:49 +0000 (22:09 +0200)
- method names have been updated in business opening times

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jfinancials/enterprise/BaseFinancialsEnterpriseBean.java

index 7e67a3d2b9b3592d3e55d3ac72a0b5928ec294fc..2c2ba4f4c9761681019e425beae53167d462fdf5 100644 (file)
@@ -518,13 +518,13 @@ public abstract class BaseFinancialsEnterpriseBean extends BaseEnterpriseBean {
                // Walk through whole list
                for (final OpeningTime openingTime : openingTimes) {
                        // Id should not be set
-                       if (openingTime.getOpeningId() != null) {
+                       if (openingTime.getOpeningTimeId() != null) {
                                // Abort here
                                throw new IllegalStateException("openingTime.openingId is not null"); //NOI18N
                        }
 
                        // Set created timestamp
-                       openingTime.setOpeningCreated(new Date());
+                       openingTime.setOpeningTimeEntryCreated(new Date());
                }
        }