public enum Modification extends Enum<Modification>
Enum Constant and Description |
---|
CHANGED
Indicates a modifcation based on a change of an element.
|
DELETED
Indicates a modification based on a deletion of an element.
|
INSERTED
Indicates a modification based on an insertion of an element.
|
NONE
Indicates no modifications.
|
Modifier and Type | Method and Description |
---|---|
Color |
getColor()
Returns the color related to the modification.
|
static Modification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Modification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Modification NONE
public static final Modification INSERTED
public static final Modification DELETED
public static final Modification CHANGED
public static Modification[] values()
for (Modification c : Modification.values()) System.out.println(c);
public static Modification valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Color getColor()
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408