@Override
	public boolean equals(Object obj) {
		if (obj == this)
			return true;
		if(!(obj instanceof Transaction))
			return false;
		Transaction t = (Transaction) obj;
		return (tid == t.getTid());
	}