public void setGeocode(final String geocode) {
        this.geocode = geocode == null ? "" : StringUtils.upperCase(geocode);
        this.parentCache = null;
    }
Return an unique waypoint id.

@return a non-negative id if set, -1 if unset
main/src/main/java/cgeo/geocaching/models/Waypoint.java