Package ag.smaser.trip.cfw
Enum ChangeType
- All Implemented Interfaces:
Serializable
,Comparable<ChangeType>
,java.lang.constant.Constable
Change type for an
ImportItem
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
The change type as is connectivity framework ID number.static ChangeType
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.
-
Enum Constant Details
-
None
Item is unchanged.This value should only be used as return value from the
ImportConnector.checkItem
method. It is invalid in all other contexts. -
Updated
Item is new or has been updated. -
Deleted
Item has been deleted. -
Renamed
Item has been renamed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getCode
public int getCode()The change type as is connectivity framework ID number.- Returns:
- Connectivty framework change code
-