Ignore:
Timestamp:
2018-09-30T14:56:36+02:00 (6 years ago)
Author:
Don-vip
Message:

see #12726 - add new getters in {Change,Sequence}Command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/ChangeCommand.java

    r13173 r14283  
    9090    }
    9191
     92    /**
     93     * Returns the original OSM primitive to modify. It belongs to a dataset.
     94     * @return the original OSM primitive to modify
     95     * @since 14283
     96     */
     97    public final OsmPrimitive getOsmPrimitive() {
     98        return osm;
     99    }
     100
     101    /**
     102     * Returns the new OSM primitive.
     103     * @return the new OSM primitive
     104     * @since 14283
     105     */
     106    public final OsmPrimitive getNewOsmPrimitive() {
     107        return newOsm;
     108    }
     109
    92110    @Override
    93111    public int hashCode() {
Note: See TracChangeset for help on using the changeset viewer.