public Invite getInvite(int num) throws ServiceException { return (Invite)(mInvites.get(num));
public Invite getInvite(InviteInfo id) throws ServiceException { for (Iterator iter = mInvites.iterator(); iter.hasNext();) { Invite inv = (Invite)iter.next(); InviteInfo inf = new InviteInfo(inv); if (inf.compareTo(id) == 0) { return inv; } } return null;
    public Invite getInvite(int num) throws ServiceException {        return (Invite)(mInvites.get(num));    }