summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/client/ur_V5
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2015-01-14 08:42:23 +0100
committerThomas Lenz <thomas.lenz@egiz.gv.at>2015-01-14 08:42:23 +0100
commitfcfdf9785e95ff65eef924cbfaeb0f9ee71b7c9a (patch)
tree690d58eb8b2b7cb63a6bf91c4c830d2a18b26093 /src/main/java/at/gv/util/client/ur_V5
parent7a5b350a93990956106d91679240b6e8326cb110 (diff)
parent0b80629de22e6c45225a6516829b293062875c0e (diff)
downloadegovutils-fcfdf9785e95ff65eef924cbfaeb0f9ee71b7c9a.tar.gz
egovutils-fcfdf9785e95ff65eef924cbfaeb0f9ee71b7c9a.tar.bz2
egovutils-fcfdf9785e95ff65eef924cbfaeb0f9ee71b7c9a.zip
Merge commit '0b80629de22e6c45225a6516829b293062875c0e' into 2.0-snapshot
Diffstat (limited to 'src/main/java/at/gv/util/client/ur_V5')
-rw-r--r--src/main/java/at/gv/util/client/ur_V5/URClient.java15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/main/java/at/gv/util/client/ur_V5/URClient.java b/src/main/java/at/gv/util/client/ur_V5/URClient.java
index d54e771..f391c32 100644
--- a/src/main/java/at/gv/util/client/ur_V5/URClient.java
+++ b/src/main/java/at/gv/util/client/ur_V5/URClient.java
@@ -237,7 +237,20 @@ public class URClient {
if (this.allowedERsBKeys.contains(String.valueOf(funct.getFktName()))) {
List<FktRegelTypVollzug> functRegel = funct.getFktRegel();
for (FktRegelTypVollzug el : functRegel) {
- if ( (el.getFktRegelVon().compare(xmldate) == DatatypeConstants.LESSER
+ if ( el.getFktRegelVon() == null && el.getFktRegelBis() == null)
+ set.add(String.valueOf(funct.getFktName()));
+
+ else if ( el.getFktRegelVon() != null && el.getFktRegelBis() == null
+ && el.getFktRegelVon().compare(xmldate) == DatatypeConstants.LESSER )
+ set.add(String.valueOf(funct.getFktName()));
+
+ else if ( el.getFktRegelVon() == null && el.getFktRegelBis() != null
+ && el.getFktRegelBis().compare(xmldate) == DatatypeConstants.GREATER )
+ set.add(String.valueOf(funct.getFktName()));
+
+
+ else if ( el.getFktRegelVon() != null && el.getFktRegelBis() != null
+ && (el.getFktRegelVon().compare(xmldate) == DatatypeConstants.LESSER
&& el.getFktRegelBis().compare(xmldate) == DatatypeConstants.GREATER) )
set.add(String.valueOf(funct.getFktName()));