summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorAlex Stasewitsch <alex.stasewitsch@amcon.de>2023-05-04 13:07:26 +0200
committerAlex Stasewitsch <alex.stasewitsch@amcon.de>2023-05-04 13:30:14 +0200
commit4dde061c3538dc46f1a9345b10ca46cc23dda1be (patch)
tree8490460b349fbc688078b00d1a96bd56bfcd41bb /src/main/java
parentMerge pull request #60 from UnionInternationalCheminsdeFer/ssb-barcodes (diff)
downloadUIC-barcode-4dde061c3538dc46f1a9345b10ca46cc23dda1be.tar
UIC-barcode-4dde061c3538dc46f1a9345b10ca46cc23dda1be.tar.gz
UIC-barcode-4dde061c3538dc46f1a9345b10ca46cc23dda1be.tar.bz2
UIC-barcode-4dde061c3538dc46f1a9345b10ca46cc23dda1be.tar.lz
UIC-barcode-4dde061c3538dc46f1a9345b10ca46cc23dda1be.tar.xz
UIC-barcode-4dde061c3538dc46f1a9345b10ca46cc23dda1be.tar.zst
UIC-barcode-4dde061c3538dc46f1a9345b10ca46cc23dda1be.zip
Diffstat (limited to 'src/main/java')
-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)