Enum Class RecordV2Delta.Change.Type

java.lang.Object
java.lang.Enum<RecordV2Delta.Change.Type>
com.pushtechnology.diffusion.datatype.recordv2.RecordV2Delta.Change.Type
All Implemented Interfaces:
Serializable, Comparable<RecordV2Delta.Change.Type>, Constable
Enclosing interface:
RecordV2Delta.Change

public static enum RecordV2Delta.Change.Type extends Enum<RecordV2Delta.Change.Type>
Indicates the type of change.
  • Enum Constant Details

    • FIELD_CHANGED

      public static final RecordV2Delta.Change.Type FIELD_CHANGED
      The change indicates that a field had its value changed.

      This could be a field that has had its value changed or a new field that has been added at the end of a variable length record.

      The change will contain name and index details of both the record and the field.

    • FIELDS_ADDED

      public static final RecordV2Delta.Change.Type FIELDS_ADDED
      The change indicates that one or more field values have been added.

      This will only occur when variable multiplicity fields are used within records.

      The change will contain name and index of the record and the name and index of the first field added.

    • FIELDS_REMOVED

      public static final RecordV2Delta.Change.Type FIELDS_REMOVED
      The change indicates that a field value has been removed.

      This will only occur when variable multiplicity fields are used within records.

      The change will contain name and index details of the record and the name and index of the first field removed.

    • RECORDS_ADDED

      public static final RecordV2Delta.Change.Type RECORDS_ADDED
      The change indicates that one or more records have been added.

      This will only occur when variable multiplicity records are in use.

      The change will contain only the record name and the index of the first record added.

    • RECORDS_REMOVED

      public static final RecordV2Delta.Change.Type RECORDS_REMOVED
      The change indicates that one or more records have been removed.

      This will only occur when variable multiplicity records are in use.

      The change will contain only the record name and the index of the first record removed.

  • Method Details

    • values

      public static RecordV2Delta.Change.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RecordV2Delta.Change.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null