diff options
author | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-02-25 11:02:26 +0100 |
---|---|---|
committer | CGantert345 <57003061+CGantert345@users.noreply.github.com> | 2021-02-25 11:02:26 +0100 |
commit | 425bd35c736b7e1c0dbe5b3f9162e195b3be6018 (patch) | |
tree | bc4668aa125fb0a15518d464a1738c6b05e56d07 /src/org/uic/barcode/ticket/api/impl/SimpleTicketLink.java | |
parent | issuerOnLine changed from int to Integer as it is optional (diff) | |
download | UIC-barcode-1.2.tar UIC-barcode-1.2.tar.gz UIC-barcode-1.2.tar.bz2 UIC-barcode-1.2.tar.lz UIC-barcode-1.2.tar.xz UIC-barcode-1.2.tar.zst UIC-barcode-1.2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/org/uic/barcode/ticket/api/impl/SimpleTicketLink.java | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/src/org/uic/barcode/ticket/api/impl/SimpleTicketLink.java b/src/org/uic/barcode/ticket/api/impl/SimpleTicketLink.java new file mode 100644 index 0000000..22fb3b0 --- /dev/null +++ b/src/org/uic/barcode/ticket/api/impl/SimpleTicketLink.java @@ -0,0 +1,123 @@ +/*
+ *
+ */
+package org.uic.barcode.ticket.api.impl;
+
+
+import org.uic.barcode.ticket.api.spec.ILinkMode;
+import org.uic.barcode.ticket.api.spec.ITicketLink;
+import org.uic.barcode.ticket.api.spec.ITicketType;
+
+
+/**
+ * The Class SimpleTicketLink.
+ */
+public class SimpleTicketLink implements ITicketLink {
+
+ /** The reference. */
+ protected String reference;
+
+ /** The issuer. */
+ protected String issuer;
+
+ /** The issuer PNR. */
+ protected String issuerPNR;
+
+ /** The product owner. */
+ protected String productOwner;
+
+ /** The ticket type. */
+ protected ITicketType ticketType = ITicketType.openTicket;
+
+ /** The link mode. */
+ protected ILinkMode linkMode = ILinkMode.issuedTogether;
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#getReference()
+ */
+ public String getReference() {
+ return reference;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#setReference(java.lang.String)
+ */
+ public void setReference(String reference) {
+ this.reference = reference;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#getIssuer()
+ */
+ public String getIssuer() {
+ return issuer;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#setIssuer(java.lang.String)
+ */
+ public void setIssuer(String issuer) {
+ this.issuer = issuer;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#getProductOwner()
+ */
+ public String getProductOwner() {
+ return productOwner;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#setProductOwner(java.lang.String)
+ */
+ public void setProductOwner(String productOwner) {
+ this.productOwner = productOwner;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#getTicketType()
+ */
+ public ITicketType getTicketType() {
+ return ticketType;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#setTicketType(org.uic.ticket.api.asn.om.TicketType)
+ */
+ public void setTicketType(ITicketType ticketType) {
+ this.ticketType = ticketType;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#getLinkMode()
+ */
+ public ILinkMode getLinkMode() {
+ return linkMode;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#setLinkMode(org.uic.ticket.api.asn.om.LinkMode)
+ */
+ public void setLinkMode(ILinkMode linkMode) {
+ this.linkMode = linkMode;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#getIssuerPNR()
+ */
+ public String getIssuerPNR() {
+ return issuerPNR;
+ }
+
+ /* (nicht-Javadoc)
+ * @see org.uic.ticket.api.spec.ITicketLink#setIssuerPNR(java.lang.String)
+ */
+ public void setIssuerPNR(String issuerPNR) {
+ this.issuerPNR = issuerPNR;
+ }
+
+
+
+
+
+}
|