Triangle \mathrm{ABC} has integer side lengths and perimeter 7. Determine all possible lengths of side \mathrm{AB}.