public boolean equals(Object o)
  {
    if (!(o instanceof ResourceAccess))
      return false;
    ResourceAccess lr = (ResourceAccess)o;
    return lr.resourceId == resourceId && lr.serverId == serverId;
  }