@Nullable
    public Geocache getParentGeocache() {
        if (StringUtils.isNotBlank(geocode) && parentCache == null) {
            // lazy load - only load parent cache if needed to improve performance
            parentCache = DataStore.loadCache(geocode, LoadFlags.LOAD_CACHE_OR_DB);
        }

        return parentCache;
    }
Return an unique waypoint id.

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