diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-04-12 19:25:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 19:25:09 +0200 |
commit | c3d1c3ec323c1321b1e81bfbfed38f022c66a207 (patch) | |
tree | f163bda9d7fad6fe354c2e8b9fa53980c86d2eab /src/main/java/org/uic/barcode/ticket/api/asn/omv2/IncludedOpenTicketType.java | |
parent | Merge pull request #20 from UnionInternationalCheminsdeFer/fix_train_link (diff) | |
parent | included open ticket test (diff) | |
download | UIC-barcode-c3d1c3ec323c1321b1e81bfbfed38f022c66a207.tar UIC-barcode-c3d1c3ec323c1321b1e81bfbfed38f022c66a207.tar.gz UIC-barcode-c3d1c3ec323c1321b1e81bfbfed38f022c66a207.tar.bz2 UIC-barcode-c3d1c3ec323c1321b1e81bfbfed38f022c66a207.tar.lz UIC-barcode-c3d1c3ec323c1321b1e81bfbfed38f022c66a207.tar.xz UIC-barcode-c3d1c3ec323c1321b1e81bfbfed38f022c66a207.tar.zst UIC-barcode-c3d1c3ec323c1321b1e81bfbfed38f022c66a207.zip |
Diffstat (limited to '')
-rw-r--r-- | src/main/java/org/uic/barcode/ticket/api/asn/omv2/IncludedOpenTicketType.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/IncludedOpenTicketType.java b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/IncludedOpenTicketType.java index cef0b02..35a9c73 100644 --- a/src/main/java/org/uic/barcode/ticket/api/asn/omv2/IncludedOpenTicketType.java +++ b/src/main/java/org/uic/barcode/ticket/api/asn/omv2/IncludedOpenTicketType.java @@ -27,12 +27,16 @@ import org.uic.barcode.asn1.datatypes.Asn1Default; import org.uic.barcode.asn1.datatypes.Asn1Optional;
import org.uic.barcode.asn1.datatypes.CharacterRestriction;
import org.uic.barcode.asn1.datatypes.FieldOrder;
+import org.uic.barcode.asn1.datatypes.HasExtensionMarker;
import org.uic.barcode.asn1.datatypes.IntRange;
import org.uic.barcode.asn1.datatypes.RestrictedString;
+import org.uic.barcode.asn1.datatypes.Sequence;
import org.uic.barcode.asn1.datatypes.SizeRange;
import org.uic.barcode.asn1.datatypesimpl.SequenceOfStringIA5;
import org.uic.barcode.ticket.api.utils.DateTimeUtils;
+@Sequence
+@HasExtensionMarker
public class IncludedOpenTicketType extends Object {
public IncludedOpenTicketType() {
}
@@ -68,6 +72,7 @@ public class IncludedOpenTicketType extends Object { @FieldOrder(order = 8)
@IntRange(minValue=-1,maxValue=700)
+ @Asn1Default(value = "0")
@Asn1Optional public Long validFromDay;
@FieldOrder(order = 9)
@@ -79,7 +84,8 @@ public class IncludedOpenTicketType extends Object { @Asn1Optional public Long validFromUTCOffset;
@FieldOrder(order = 11)
- @IntRange(minValue=0,maxValue=370)
+ @IntRange(minValue=-1,maxValue=370)
+ @Asn1Default(value = "0")
@Asn1Optional public Long validUntilDay;
@FieldOrder(order = 12)
@@ -91,7 +97,6 @@ public class IncludedOpenTicketType extends Object { @Asn1Optional public Long validUntilUTCOffset;
@FieldOrder(order = 14)
- @Asn1Default(value="second")
@Asn1Optional public TravelClassType classCode;
@FieldOrder(order = 15)
|