From 91118d7e2a848a903895b55adfdec0d12618b504 Mon Sep 17 00:00:00 2001 From: CGantert345 <57003061+CGantert345@users.noreply.github.com> Date: Mon, 16 Nov 2020 14:13:16 +0100 Subject: bug fix element order in openTicketData renamed package staticHeader.ticketLayout to staticFrame.ticketLayout --- src/org/uic/ticket/api/asn/omv1/OpenTicketData.java | 8 ++++---- src/org/uic/ticket/api/asn/omv2/OpenTicketData.java | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/org/uic/ticket') diff --git a/src/org/uic/ticket/api/asn/omv1/OpenTicketData.java b/src/org/uic/ticket/api/asn/omv1/OpenTicketData.java index 67bf1ac..8c759db 100644 --- a/src/org/uic/ticket/api/asn/omv1/OpenTicketData.java +++ b/src/org/uic/ticket/api/asn/omv1/OpenTicketData.java @@ -40,13 +40,13 @@ import net.gcdc.asn1.datatypesimpl.SequenceOfStringIA5; public class OpenTicketData extends Object { public OpenTicketData() { } - + @FieldOrder(order = 0) - @RestrictedString(CharacterRestriction.IA5String) - @Asn1Optional public String referenceIA5; + @Asn1Optional public Asn1BigInteger referenceNum; @FieldOrder(order = 1) - @Asn1Optional public Asn1BigInteger referenceNum; + @RestrictedString(CharacterRestriction.IA5String) + @Asn1Optional public String referenceIA5; @FieldOrder(order = 2) @IntRange(minValue=1,maxValue=32000) diff --git a/src/org/uic/ticket/api/asn/omv2/OpenTicketData.java b/src/org/uic/ticket/api/asn/omv2/OpenTicketData.java index a2e126b..ac817b4 100644 --- a/src/org/uic/ticket/api/asn/omv2/OpenTicketData.java +++ b/src/org/uic/ticket/api/asn/omv2/OpenTicketData.java @@ -42,11 +42,11 @@ public class OpenTicketData extends Object { } @FieldOrder(order = 0) - @RestrictedString(CharacterRestriction.IA5String) - @Asn1Optional public String referenceIA5; + @Asn1Optional public Asn1BigInteger referenceNum; @FieldOrder(order = 1) - @Asn1Optional public Asn1BigInteger referenceNum; + @RestrictedString(CharacterRestriction.IA5String) + @Asn1Optional public String referenceIA5; @FieldOrder(order = 2) @IntRange(minValue=1,maxValue=32000) -- cgit v1.2.3