Ignore:
Timestamp:
2018-05-14T01:43:54+02:00 (7 years ago)
Author:
Don-vip
Message:

add OsmData interface, abstraction of DataSet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/OsmPrimitive.java

    r13669 r13764  
    471471    }
    472472
    473     /**
    474      * Replies true, if this primitive is preserved from filtering.
    475      * @return {@code true} if this object has the "preserved" flag enabled
    476      * @since 13309
    477      */
     473    @Override
    478474    public boolean isPreserved() {
    479475        return (flags & FLAG_PRESERVED) != 0;
     
    990986    }
    991987
    992     /**
    993      * Gets a list of all primitives in the current dataset that reference this primitive.
    994      * @return The referrers
    995      */
     988    @Override
    996989    public final List<OsmPrimitive> getReferrers() {
    997990        return getReferrers(false);
     
    12131206
    12141207    /**
    1215      * Fetch the bounding box of the primitive
    1216      * @return Bounding box of the object
    1217      */
    1218     public abstract BBox getBBox();
    1219 
    1220     /**
    12211208     * Called by Dataset to update cached position information of primitive (bbox, cached EarthNorth, ...)
    12221209     */
Note: See TracChangeset for help on using the changeset viewer.