001// License: GPL. For details, see LICENSE file.
002package org.openstreetmap.josm.corrector;
003
004import org.openstreetmap.josm.data.osm.Relation;
005import org.openstreetmap.josm.data.osm.RelationMember;
006
007public class RoleCorrection implements Correction {
008
009    public final Relation relation;
010    public final int position;
011    public final RelationMember member;
012    public final String newRole;
013
014    public RoleCorrection(Relation relation, int position,
015                          RelationMember member, String newRole) {
016        this.relation = relation;
017        this.position = position;
018        this.member = member;
019        this.newRole = newRole;
020    }
021}