001package org.kuali.ole.ncip.bo; 002 003import org.codehaus.jackson.annotate.JsonAutoDetect; 004import org.codehaus.jackson.annotate.JsonIgnore; 005import org.codehaus.jackson.annotate.JsonMethod; 006import org.codehaus.jackson.annotate.JsonProperty; 007 008/** 009 * Created with IntelliJ IDEA. 010 * User: sheiksalahudeenm 011 * Date: 9/3/13 012 * Time: 8:01 PM 013 * To change this template use File | Settings | File Templates. 014 */ 015@JsonAutoDetect(JsonMethod.FIELD) 016public class OLEPlaceRequest { 017 018 @JsonProperty("code") 019 private String code; 020 021 @JsonProperty("message") 022 private String message; 023 024 @JsonProperty("requestId") 025 private String requestId; 026 027 @JsonProperty("queuePosition") 028 private String queuePosition; 029 030 @JsonProperty("availableDate") 031 private String availableDate; 032 033 /*This following fields are only for SIP2*/ 034 @JsonIgnore 035 private String expirationDate; 036 /*This above fields are only for SIP2*/ 037 038 /*This following field is only for overriding concept.*/ 039 @JsonIgnore 040 private boolean blockOverride=false; 041 /*This above field is only for overriding concept.*/ 042 043 public boolean isBlockOverride() { 044 return blockOverride; 045 } 046 047 public void setBlockOverride(boolean blockOverride) { 048 this.blockOverride = blockOverride; 049 } 050 051 public String getCode() { 052 return code; 053 } 054 055 public void setCode(String code) { 056 this.code = code; 057 } 058 059 public String getMessage() { 060 return message; 061 } 062 063 public void setMessage(String message) { 064 this.message = message; 065 } 066 067 public String getRequestId() { 068 return requestId; 069 } 070 071 public void setRequestId(String requestId) { 072 this.requestId = requestId; 073 } 074 075 public String getQueuePosition() { 076 return queuePosition; 077 } 078 079 public void setQueuePosition(String queuePosition) { 080 this.queuePosition = queuePosition; 081 } 082 083 public String getAvailableDate() { 084 return availableDate; 085 } 086 087 public void setAvailableDate(String availableDate) { 088 this.availableDate = availableDate; 089 } 090 091 public String getExpirationDate() { 092 return expirationDate; 093 } 094 095 public void setExpirationDate(String expirationDate) { 096 this.expirationDate = expirationDate; 097 } 098}