001package org.kuali.ole.ncip.bo; 002 003 004import org.codehaus.jackson.annotate.JsonAutoDetect; 005import org.codehaus.jackson.annotate.JsonIgnore; 006import org.codehaus.jackson.annotate.JsonMethod; 007import org.codehaus.jackson.annotate.JsonProperty; 008 009import java.util.List; 010 011/** 012 * Created with IntelliJ IDEA. 013 * User: maheswarang 014 * Date: 7/21/13 015 * Time: 3:14 PM 016 * To change this template use File | Settings | File Templates. 017 */ 018@JsonAutoDetect(JsonMethod.FIELD) 019public class OLELookupUser { 020 021 @JsonProperty("code") 022 private String code; 023 024 @JsonProperty("message") 025 private String message; 026 027 @JsonProperty("patronId") 028 private String patronId; 029 030 @JsonProperty("patronName") 031 private OlePatronNameBo patronName; 032 033 @JsonProperty("patronEmail") 034 private OlePatronEmailBo patronEmail; 035 036 @JsonProperty("patronAddress") 037 private OlePatronAddressBo patronAddress; 038 039 @JsonProperty("patronPhone") 040 private OlePatronPhoneBo patronPhone; 041 042 @JsonProperty("oleUserPrivileges") 043 private List<OLEUserPrivilege> oleUserPrivileges; 044 045 @JsonProperty("oleHolds") 046 private OLEHolds oleHolds; 047 048 @JsonProperty("oleCheckedOutItems") 049 private OLECheckedOutItems oleCheckedOutItems; 050 051 @JsonProperty("oleItemFines") 052 private OLEItemFines oleItemFines; 053 054 /*This following fields are only for SIP2*/ 055 @JsonIgnore 056 private boolean validPatron; 057 /*This above fields are only for SIP2*/ 058 059 public String getCode() { 060 return code; 061 } 062 063 public void setCode(String code) { 064 this.code = code; 065 } 066 067 public String getMessage() { 068 return message; 069 } 070 071 public void setMessage(String message) { 072 this.message = message; 073 } 074 075 public String getPatronId() { 076 return patronId; 077 } 078 079 public void setPatronId(String patronId) { 080 this.patronId = patronId; 081 } 082 083 public OlePatronNameBo getPatronName() { 084 return patronName; 085 } 086 087 public void setPatronName(OlePatronNameBo patronName) { 088 this.patronName = patronName; 089 } 090 091 public OlePatronEmailBo getPatronEmail() { 092 return patronEmail; 093 } 094 095 public void setPatronEmail(OlePatronEmailBo patronEmail) { 096 this.patronEmail = patronEmail; 097 } 098 099 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}