public class RelationMemberConflictDecision extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private RelationMemberConflictDecisionType |
decision |
private OsmPrimitive |
originalPrimitive |
private int |
pos |
private Relation |
relation |
private java.lang.String |
role |
Constructor and Description |
---|
RelationMemberConflictDecision(Relation relation,
int pos) |
Modifier and Type | Method and Description |
---|---|
void |
decide(RelationMemberConflictDecisionType decision) |
boolean |
equals(java.lang.Object obj) |
RelationMemberConflictDecisionType |
getDecision() |
OsmPrimitive |
getOriginalPrimitive() |
int |
getPos() |
Relation |
getRelation() |
java.lang.String |
getRole() |
int |
hashCode() |
boolean |
isDecided() |
boolean |
matches(Relation relation,
int pos) |
void |
setRole(java.lang.String role) |
private int pos
private OsmPrimitive originalPrimitive
private java.lang.String role
private RelationMemberConflictDecisionType decision
public RelationMemberConflictDecision(Relation relation, int pos) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public Relation getRelation()
public int getPos()
public OsmPrimitive getOriginalPrimitive()
public java.lang.String getRole()
public RelationMemberConflictDecisionType getDecision()
public void setRole(java.lang.String role)
public void decide(RelationMemberConflictDecisionType decision)
public boolean isDecided()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object