Enum RelationMemberConflictDecisionType
- java.lang.Object
-
- java.lang.Enum<RelationMemberConflictDecisionType>
-
- org.openstreetmap.josm.gui.conflict.tags.RelationMemberConflictDecisionType
-
- All Implemented Interfaces:
Serializable
,Comparable<RelationMemberConflictDecisionType>
public enum RelationMemberConflictDecisionType extends Enum<RelationMemberConflictDecisionType>
This represents the decision a user can make regarding a relation conflict
-
-
Constructor Summary
Constructors Modifier Constructor Description private
RelationMemberConflictDecisionType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) String
getLabelText()
(package private) String
getLabelToolTipText()
static RelationMemberConflictDecisionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RelationMemberConflictDecisionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEEP
public static final RelationMemberConflictDecisionType KEEP
keep the respective relation member for the target primitive (the target node in a node merge operation or the target way in a combine way operation)
-
REMOVE
public static final RelationMemberConflictDecisionType REMOVE
remove the respective relation member
-
UNDECIDED
public static final RelationMemberConflictDecisionType UNDECIDED
not yet decided
-
-
Constructor Detail
-
RelationMemberConflictDecisionType
private RelationMemberConflictDecisionType()
-
-
Method Detail
-
values
public static RelationMemberConflictDecisionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RelationMemberConflictDecisionType c : RelationMemberConflictDecisionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RelationMemberConflictDecisionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLabelText
String getLabelText()
-
getLabelToolTipText
String getLabelToolTipText()
-
-