From b2b1ccfc41495353dbbf211abc3ae8da2967a05f Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Thu, 25 May 2023 13:32:43 +0200 Subject: fix on productId in version 1 FCB --- .../org/uic/barcode/ticket/api/asn/omv1/CarCarriageReservationData.java | 2 +- src/main/java/org/uic/barcode/ticket/api/asn/omv1/CountermarkData.java | 2 +- src/main/java/org/uic/barcode/ticket/api/asn/omv1/FIPTicketData.java | 2 +- .../org/uic/barcode/ticket/api/asn/omv1/IncludedOpenTicketType.java | 2 +- src/main/java/org/uic/barcode/ticket/api/asn/omv1/OpenTicketData.java | 2 +- .../java/org/uic/barcode/ticket/api/asn/omv1/ParkingGroundData.java | 2 +- src/main/java/org/uic/barcode/ticket/api/asn/omv1/PassData.java | 2 +- src/main/java/org/uic/barcode/ticket/api/asn/omv1/ReservationData.java | 2 +- .../java/org/uic/barcode/ticket/api/asn/omv1/StationPassageData.java | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/main/java/org/uic') 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/ParkingGroundData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ParkingGroundData.java index 53cb4c0..daddc7b 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ParkingGroundData.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ParkingGroundData.java @@ -59,7 +59,7 @@ public class ParkingGroundData extends Object { @Asn1Optional public Long toParkingDate; @FieldOrder(order = 5) - @IntRange(minValue=1,maxValue=32000) + @IntRange(minValue=0,maxValue=32000) @Asn1Optional public Long productOwnerNum; @FieldOrder(order = 6) 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) -- cgit v1.2.3