001    // License: GPL. For details, see LICENSE file.
002    package org.openstreetmap.josm.corrector;
003    
004    import org.openstreetmap.josm.data.osm.Relation;
005    import org.openstreetmap.josm.data.osm.RelationMember;
006    
007    public 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    }