Subversion Repositories SmartDukaan

Rev

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

Rev 21720 Rev 21924
Line 61... Line 61...
61
	}
61
	}
62
	public void setApiId(int apiId) {
62
	public void setApiId(int apiId) {
63
		this.apiId = apiId;
63
		this.apiId = apiId;
64
	}
64
	}
65
 
65
 
-
 
66
	
-
 
67
	@Override
-
 
68
	public int hashCode() {
-
 
69
		final int prime = 31;
-
 
70
		int result = 1;
-
 
71
		result = prime * result + apiId;
-
 
72
		result = prime * result + id;
-
 
73
		result = prime * result + roleId;
-
 
74
		return result;
-
 
75
	}
-
 
76
 
-
 
77
	@Override
-
 
78
	public boolean equals(Object obj) {
-
 
79
		if (this == obj)
-
 
80
			return true;
-
 
81
		if (obj == null)
-
 
82
			return false;
-
 
83
		if (getClass() != obj.getClass())
-
 
84
			return false;
-
 
85
		RoleApi other = (RoleApi) obj;
-
 
86
		if (apiId != other.apiId)
-
 
87
			return false;
-
 
88
		if (id != other.id)
-
 
89
			return false;
-
 
90
		if (roleId != other.roleId)
-
 
91
			return false;
-
 
92
		return true;
-
 
93
	}
-
 
94
 
66
	@Override
95
	@Override
67
	public String toString() {
96
	public String toString() {
68
		return "RoleApi [id=" + id + ", roleId=" + roleId + ", apiId=" + apiId + "]";
97
		return "RoleApi [id=" + id + ", roleId=" + roleId + ", apiId=" + apiId + "]";
69
	}
98
	}
70
	
99
	
71
	
-
 
72
 
-
 
73
	
-
 
74
}
100
}
75
101