summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/uic/barcode
diff options
context:
space:
mode:
authorCGantert345 <57003061+CGantert345@users.noreply.github.com>2023-05-30 09:22:11 +0200
committerGitHub <noreply@github.com>2023-05-30 09:22:11 +0200
commitfa7b033f52587f51c3a3d4d802578e09c970b251 (patch)
tree73430707bb95089d720ccd9f2756e6682bb9bef9 /src/main/java/org/uic/barcode
parentMerge pull request #62 from irrationalism/bugfix/month-starts-with-0-uhead-v2 (diff)
parentchanged 'minValue' for 'productIdNum' from 1 to 0 for FCB 1.x.x; (diff)
downloadUIC-barcode-fa7b033f52587f51c3a3d4d802578e09c970b251.tar
UIC-barcode-fa7b033f52587f51c3a3d4d802578e09c970b251.tar.gz
UIC-barcode-fa7b033f52587f51c3a3d4d802578e09c970b251.tar.bz2
UIC-barcode-fa7b033f52587f51c3a3d4d802578e09c970b251.tar.lz
UIC-barcode-fa7b033f52587f51c3a3d4d802578e09c970b251.tar.xz
UIC-barcode-fa7b033f52587f51c3a3d4d802578e09c970b251.tar.zst
UIC-barcode-fa7b033f52587f51c3a3d4d802578e09c970b251.zip
Diffstat (limited to 'src/main/java/org/uic/barcode')
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/CarCarriageReservationData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/CountermarkData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/FIPTicketData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/IncludedOpenTicketType.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/OpenTicketData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/PassData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/ReservationData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/StationPassageData.java2
-rw-r--r--src/main/java/org/uic/barcode/ticket/api/asn/omv1/VoucherData.java2
9 files changed, 9 insertions, 9 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CarCarriageReservationData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CarCarriageReservationData.java
index 1eb0533..6729d08 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CarCarriageReservationData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CarCarriageReservationData.java
@@ -84,7 +84,7 @@ public class CarCarriageReservationData extends Object {
@Asn1Optional public String productOwnerIA5;
@FieldOrder(order = 10)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
@FieldOrder(order = 11)
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CountermarkData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CountermarkData.java
index c7d0557..a31f56d 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CountermarkData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/CountermarkData.java
@@ -56,7 +56,7 @@ public class CountermarkData extends Object {
@Asn1Optional public String productOwnerIA5;
@FieldOrder(order = 4)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
@FieldOrder(order = 5)
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/FIPTicketData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/FIPTicketData.java
index b1cc30c..b9d5a50 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/FIPTicketData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/FIPTicketData.java
@@ -58,7 +58,7 @@ public class FIPTicketData extends Object {
@Asn1Optional public String productOwnerIA5;
@FieldOrder(order = 4)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
@FieldOrder(order = 5)
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/IncludedOpenTicketType.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/IncludedOpenTicketType.java
index 51afa05..c3cc557 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/IncludedOpenTicketType.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/IncludedOpenTicketType.java
@@ -50,7 +50,7 @@ public class IncludedOpenTicketType extends Object {
@Asn1Optional public String productOwnerIA5;
@FieldOrder(order = 2)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
@FieldOrder(order = 3)
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/OpenTicketData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/OpenTicketData.java
index 29047b3..6f90f6f 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/OpenTicketData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/OpenTicketData.java
@@ -59,7 +59,7 @@ public class OpenTicketData extends Object {
@Asn1Optional public String productOwnerIA5;
@FieldOrder(order = 4)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
@FieldOrder(order = 5)
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/PassData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/PassData.java
index 63f9292..74e8e4d 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/PassData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/PassData.java
@@ -71,7 +71,7 @@ public class PassData extends Object {
/** The product id num. */
@FieldOrder(order = 4)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
/** The product id IA 5. */
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ReservationData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ReservationData.java
index ecf1d5a..b1b2be4 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ReservationData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ReservationData.java
@@ -69,7 +69,7 @@ public class ReservationData extends Object {
@Asn1Optional public String productOwnerIA5;
@FieldOrder(order = 7)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
@FieldOrder(order = 8)
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/StationPassageData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/StationPassageData.java
index 36dc6bf..f04a835 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/StationPassageData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/StationPassageData.java
@@ -58,7 +58,7 @@ public class StationPassageData extends Object {
@Asn1Optional public String productOwnerIA5;
@FieldOrder(order = 4)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
@FieldOrder(order = 5)
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/VoucherData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/VoucherData.java
index 6b1d5e1..521f32a 100644
--- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/VoucherData.java
+++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/VoucherData.java
@@ -55,7 +55,7 @@ public class VoucherData extends Object {
@Asn1Optional public String productOwnerIA5;
@FieldOrder(order = 4)
- @IntRange(minValue=1,maxValue=32000)
+ @IntRange(minValue=0,maxValue=32000)
@Asn1Optional public Long productIdNum;
@FieldOrder(order = 5)