@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (!(obj instanceof AbstractCarriage))
			return false;
		AbstractCarriage other = (AbstractCarriage) obj;
		if (carriageNumber == null) {
			if (other.carriageNumber != null)
				return false;
		} else if (!carriageNumber.equals(other.carriageNumber))
			return false;
		if (ID != other.ID)
			return false;
		return true;
	}