@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        CabImpl other = (CabImpl) obj;
        if (cabId != other.cabId)
            return false;
        if (cabPosition == null) {
            if (other.cabPosition != null)
                return false;
        } else if (!cabPosition.equals(other.cabPosition))
            return false;
        if (isAvailable != other.isAvailable)
            return false;
        return true;
    }