Subversion Repositories SmartDukaan

Rev

Rev 24083 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 24083 Rev 26342
Line 9... Line 9...
9
	List<String> rejectedImeis;
9
	List<String> rejectedImeis;
10
	String updatedStatus;
10
	String updatedStatus;
11
	public String getUpdatedStatus() {
11
	public String getUpdatedStatus() {
12
		return updatedStatus;
12
		return updatedStatus;
13
	}
13
	}
-
 
14
	private String rejectionReason;
14
	public void setUpdatedStatus(String updatedStatus) {
15
	public void setUpdatedStatus(String updatedStatus) {
15
		this.updatedStatus = updatedStatus;
16
		this.updatedStatus = updatedStatus;
16
	}
17
	}
17
	List<String> updatedImeis;
18
	List<String> updatedImeis;
18
	
19
	
Line 44... Line 45...
44
		return rejectedImeis;
45
		return rejectedImeis;
45
	}
46
	}
46
	public void setRejectedImeis(List<String> rejectedImeis) {
47
	public void setRejectedImeis(List<String> rejectedImeis) {
47
		this.rejectedImeis = rejectedImeis;
48
		this.rejectedImeis = rejectedImeis;
48
	}
49
	}
-
 
50
	
-
 
51
	@Override
-
 
52
	public int hashCode() {
-
 
53
		final int prime = 31;
-
 
54
		int result = 1;
-
 
55
		result = prime * result + ((approvedImeis == null) ? 0 : approvedImeis.hashCode());
-
 
56
		result = prime * result + ((pendingImeis == null) ? 0 : pendingImeis.hashCode());
-
 
57
		result = prime * result + priceDropId;
-
 
58
		result = prime * result + ((rejectedImeis == null) ? 0 : rejectedImeis.hashCode());
-
 
59
		result = prime * result + ((rejectionReason == null) ? 0 : rejectionReason.hashCode());
-
 
60
		result = prime * result + ((updatedImeis == null) ? 0 : updatedImeis.hashCode());
-
 
61
		result = prime * result + ((updatedStatus == null) ? 0 : updatedStatus.hashCode());
-
 
62
		return result;
-
 
63
	}
-
 
64
	@Override
-
 
65
	public boolean equals(Object obj) {
-
 
66
		if (this == obj)
-
 
67
			return true;
-
 
68
		if (obj == null)
-
 
69
			return false;
-
 
70
		if (getClass() != obj.getClass())
-
 
71
			return false;
-
 
72
		PriceDropImeisModel other = (PriceDropImeisModel) obj;
-
 
73
		if (approvedImeis == null) {
-
 
74
			if (other.approvedImeis != null)
-
 
75
				return false;
-
 
76
		} else if (!approvedImeis.equals(other.approvedImeis))
-
 
77
			return false;
-
 
78
		if (pendingImeis == null) {
-
 
79
			if (other.pendingImeis != null)
-
 
80
				return false;
-
 
81
		} else if (!pendingImeis.equals(other.pendingImeis))
-
 
82
			return false;
-
 
83
		if (priceDropId != other.priceDropId)
-
 
84
			return false;
-
 
85
		if (rejectedImeis == null) {
-
 
86
			if (other.rejectedImeis != null)
-
 
87
				return false;
-
 
88
		} else if (!rejectedImeis.equals(other.rejectedImeis))
-
 
89
			return false;
-
 
90
		if (rejectionReason == null) {
-
 
91
			if (other.rejectionReason != null)
-
 
92
				return false;
-
 
93
		} else if (!rejectionReason.equals(other.rejectionReason))
-
 
94
			return false;
-
 
95
		if (updatedImeis == null) {
-
 
96
			if (other.updatedImeis != null)
-
 
97
				return false;
-
 
98
		} else if (!updatedImeis.equals(other.updatedImeis))
-
 
99
			return false;
-
 
100
		if (updatedStatus == null) {
-
 
101
			if (other.updatedStatus != null)
-
 
102
				return false;
-
 
103
		} else if (!updatedStatus.equals(other.updatedStatus))
-
 
104
			return false;
-
 
105
		return true;
-
 
106
	}
49
	@Override
107
	@Override
50
	public String toString() {
108
	public String toString() {
51
		return "PriceDropImeisModel [priceDropId=" + priceDropId + ", pendingImeis=" + pendingImeis + ", approvedImeis="
109
		return "PriceDropImeisModel [priceDropId=" + priceDropId + ", pendingImeis=" + pendingImeis + ", approvedImeis="
52
				+ approvedImeis + ", rejectedImeis=" + rejectedImeis + ", updatedStatus=" + updatedStatus
110
				+ approvedImeis + ", rejectedImeis=" + rejectedImeis + ", updatedStatus=" + updatedStatus
53
				+ ", updatedImeis=" + updatedImeis + "]";
111
				+ ", rejectionReason=" + rejectionReason + ", updatedImeis=" + updatedImeis + "]";
-
 
112
	}
-
 
113
	public String getRejectionReason() {
-
 
114
		return rejectionReason;
-
 
115
	}
-
 
116
	public void setRejectionReason(String rejectionReason) {
-
 
117
		this.rejectionReason = rejectionReason;
54
	}
118
	}
55
	
119
	
56
	
120
	
57
	
121
	
58
	
122