@Override
	public boolean equals(Object other)
	{
		if (other == null)
		{
			return false;
		}
		if (other instanceof Account)
		{
			Account otherA = (Account) other;
			for (AccountsField f : AccountsField.values())
			{
				if (this.hasField(f) == otherA.hasField(f) && this.hasField(f))
				{
					this.getField(f).equals(otherA.getField(f));
				}
				else if (this.hasField(f) || otherA.hasField(f))
				{
					return false;
				}
			}
		}
		else
		{
			return false;
		}
		return true;
	}