public enum ChangeType extends java.lang.Enum<ChangeType>
ImportItem
.Enum Constant and Description |
---|
Deleted
Item has been deleted.
|
None
Item is unchanged.
|
Renamed
Item has been renamed.
|
Updated
Item is new or has been updated.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
The change type as is connectivity framework ID number.
|
static ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeType None
This value should only be used as return value from the
ImportConnector.checkItem
method.
It is invalid in all other contexts.
public static final ChangeType Updated
public static final ChangeType Deleted
public static final ChangeType Renamed
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()