public Station getStation() { if (isBeforeFirst() || isAfterLast()) return null; Station station = new Station(); station.setId(getLong(getColumnIndex(COLUMN_ID))); station.setStateName(getString(getColumnIndex(COLUMN_STATE_NAME))); station.setStationId(getString(getColumnIndex(COLUMN_STATION_ID))); station.setName(getString(getColumnIndex(COLUMN_NAME))); return station; }