blob: 22fb3b09a42f7a4c80050d035f47f6d8503ef098 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
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;
}
}
|