Enum ChangeType

java.lang.Object
java.lang.Enum<ChangeType>
ag.smaser.trip.cfw.ChangeType
All Implemented Interfaces:
Serializable, Comparable<ChangeType>, java.lang.constant.Constable

public enum ChangeType extends Enum<ChangeType>
Change type for an ImportItem.
  • Enum Constant Details

    • None

      public static final ChangeType 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

      public static final ChangeType Updated
      Item is new or has been updated.
    • Deleted

      public static final ChangeType Deleted
      Item has been deleted.
    • Renamed

      public static final ChangeType Renamed
      Item has been renamed.
  • Method Details

    • values

      public static ChangeType[] 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

      public static ChangeType 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 name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
      The change type as is connectivity framework ID number.
      Returns:
      Connectivty framework change code