1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
public class C_ProjectPermissionItem extends ProjectPermissionItem {
public C_ProjectPermissionItem(int type, String grantee, Project project)
throws InvalidDataException, PSException {
super(type, grantee, project);
// TODO Auto-generated constructor stub
}
public boolean equals(C_ProjectPermissionItem cppi) throws PSException {
// TODO Auto-generated method stub
if (this.getGranteeString().compareTo(cppi.getGranteeString()) == 0
&& this.getPermission() == cppi.getPermission()
&& this.getType() == cppi.getType())
return true;
else
return false;
}
} |
Partager