From 7f96cbde68c325719d08282cc850e4a704b43100 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Thu, 25 Nov 2021 16:28:36 +0100 Subject: test and bug fix on countermark and viaStation --- .../java/org/uic/barcode/ticket/api/asn/omv1/CountermarkData.java | 6 +++--- .../java/org/uic/barcode/ticket/api/asn/omv1/ViaStationType.java | 2 +- .../java/org/uic/barcode/ticket/api/asn/omv2/CountermarkData.java | 6 +++--- .../java/org/uic/barcode/ticket/api/asn/omv2/ViaStationType.java | 2 +- .../java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java | 6 +++--- .../java/org/uic/barcode/ticket/api/asn/omv3/ViaStationType.java | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/main/java/org') 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 76625d4..579342e 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 @@ -72,15 +72,15 @@ public class CountermarkData extends Object { @FieldOrder(order = 8) @IntRange(minValue=1,maxValue=200) - @Asn1Optional public Long numberOfCountermark; + public Long numberOfCountermark; @FieldOrder(order = 9) @IntRange(minValue=1,maxValue=200) - @Asn1Optional public Long totalOfCountermarks; + public Long totalOfCountermarks; @FieldOrder(order = 10) @RestrictedString(CharacterRestriction.UTF8String) - @Asn1Optional public String groupName; + public String groupName; @FieldOrder(order = 11) @Asn1Default("stationUIC") diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ViaStationType.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ViaStationType.java index dfc1e56..ddabf0b 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ViaStationType.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv1/ViaStationType.java @@ -55,7 +55,7 @@ public class ViaStationType extends Object { @Asn1Optional public SequenceOfViaStationType route; @FieldOrder(order = 5) - @Asn1Optional public Boolean border = false; + public Boolean border = false; @FieldOrder(order = 6) @Asn1Optional public SequenceOfCarrierNum carriersNum; diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/CountermarkData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/CountermarkData.java index aefdc3b..4c5a961 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/CountermarkData.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/CountermarkData.java @@ -72,15 +72,15 @@ public class CountermarkData extends Object { @FieldOrder(order = 8) @IntRange(minValue=1,maxValue=200) - @Asn1Optional public Long numberOfCountermark; + public Long numberOfCountermark; @FieldOrder(order = 9) @IntRange(minValue=1,maxValue=200) - @Asn1Optional public Long totalOfCountermarks; + public Long totalOfCountermarks; @FieldOrder(order = 10) @RestrictedString(CharacterRestriction.UTF8String) - @Asn1Optional public String groupName; + public String groupName; @FieldOrder(order = 11) @Asn1Default("stationUIC") diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/ViaStationType.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/ViaStationType.java index 0e2ca6c..f7aa1bb 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/ViaStationType.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/ViaStationType.java @@ -55,7 +55,7 @@ public class ViaStationType extends Object { @Asn1Optional public SequenceOfViaStationType route; @FieldOrder(order = 5) - @Asn1Optional public Boolean border = false; + public Boolean border = false; @FieldOrder(order = 6) @Asn1Optional public SequenceOfCarrierNum carriersNum; diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java index 733ccf0..510ec6f 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/CountermarkData.java @@ -72,15 +72,15 @@ public class CountermarkData extends Object { @FieldOrder(order = 8) @IntRange(minValue=1,maxValue=200) - @Asn1Optional public Long numberOfCountermark; + public Long numberOfCountermark; @FieldOrder(order = 9) @IntRange(minValue=1,maxValue=200) - @Asn1Optional public Long totalOfCountermarks; + public Long totalOfCountermarks; @FieldOrder(order = 10) @RestrictedString(CharacterRestriction.UTF8String) - @Asn1Optional public String groupName; + String groupName; @FieldOrder(order = 11) @Asn1Default("stationUIC") diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/ViaStationType.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/ViaStationType.java index d47bd98..2d8b751 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv3/ViaStationType.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv3/ViaStationType.java @@ -55,7 +55,7 @@ public class ViaStationType extends Object { @Asn1Optional public SequenceOfViaStationType route; @FieldOrder(order = 5) - @Asn1Optional public Boolean border = false; + public Boolean border = false; @FieldOrder(order = 6) @Asn1Optional public SequenceOfCarrierNum carriersNum; -- cgit v1.2.3