1 package org.kuali.ole.ncip.bo;
2
3
4 import org.codehaus.jackson.annotate.JsonAutoDetect;
5 import org.codehaus.jackson.annotate.JsonIgnore;
6 import org.codehaus.jackson.annotate.JsonMethod;
7 import org.codehaus.jackson.annotate.JsonProperty;
8
9 import java.util.List;
10
11
12
13
14
15
16
17
18 @JsonAutoDetect(JsonMethod.FIELD)
19 public class OLELookupUser {
20
21 @JsonProperty("code")
22 private String code;
23
24 @JsonProperty("message")
25 private String message;
26
27 @JsonProperty("patronId")
28 private String patronId;
29
30 @JsonProperty("patronName")
31 private OlePatronNameBo patronName;
32
33 @JsonProperty("patronEmail")
34 private OlePatronEmailBo patronEmail;
35
36 @JsonProperty("patronAddress")
37 private OlePatronAddressBo patronAddress;
38
39 @JsonProperty("patronPhone")
40 private OlePatronPhoneBo patronPhone;
41
42 @JsonProperty("oleUserPrivileges")
43 private List<OLEUserPrivilege> oleUserPrivileges;
44
45 @JsonProperty("oleHolds")
46 private OLEHolds oleHolds;
47
48 @JsonProperty("oleCheckedOutItems")
49 private OLECheckedOutItems oleCheckedOutItems;
50
51 @JsonProperty("oleItemFines")
52 private OLEItemFines oleItemFines;
53
54
55 @JsonIgnore
56 private boolean validPatron;
57
58
59 public String getCode() {
60 return code;
61 }
62
63 public void setCode(String code) {
64 this.code = code;
65 }
66
67 public String getMessage() {
68 return message;
69 }
70
71 public void setMessage(String message) {
72 this.message = message;
73 }
74
75 public String getPatronId() {
76 return patronId;
77 }
78
79 public void setPatronId(String patronId) {
80 this.patronId = patronId;
81 }
82
83 public OlePatronNameBo getPatronName() {
84 return patronName;
85 }
86
87 public void setPatronName(OlePatronNameBo patronName) {
88 this.patronName = patronName;
89 }
90
91 public OlePatronEmailBo getPatronEmail() {
92 return patronEmail;
93 }
94
95 public void setPatronEmail(OlePatronEmailBo patronEmail) {
96 this.patronEmail = patronEmail;
97 }
98
99 public OlePatronAddressBo getPatronAddress() {
100 return patronAddress;
101 }
102
103 public void setPatronAddress(OlePatronAddressBo patronAddress) {
104 this.patronAddress = patronAddress;
105 }
106
107 public OlePatronPhoneBo getPatronPhone() {
108 return patronPhone;
109 }
110
111 public void setPatronPhone(OlePatronPhoneBo patronPhone) {
112 this.patronPhone = patronPhone;
113 }
114
115 public List<OLEUserPrivilege> getOleUserPrivileges() {
116 return oleUserPrivileges;
117 }
118
119 public void setOleUserPrivileges(List<OLEUserPrivilege> oleUserPrivileges) {
120 this.oleUserPrivileges = oleUserPrivileges;
121 }
122
123 public OLEHolds getOleHolds() {
124 return oleHolds;
125 }
126
127 public void setOleHolds(OLEHolds oleHolds) {
128 this.oleHolds = oleHolds;
129 }
130
131 public OLECheckedOutItems getOleCheckedOutItems() {
132 return oleCheckedOutItems;
133 }
134
135 public void setOleCheckedOutItems(OLECheckedOutItems oleCheckedOutItems) {
136 this.oleCheckedOutItems = oleCheckedOutItems;
137 }
138
139 public OLEItemFines getOleItemFines() {
140 return oleItemFines;
141 }
142
143 public void setOleItemFines(OLEItemFines oleItemFines) {
144 this.oleItemFines = oleItemFines;
145 }
146
147 public boolean isValidPatron() {
148 return validPatron;
149 }
150
151 public void setValidPatron(boolean isValidPatron) {
152 this.validPatron = isValidPatron;
153 }
154 }