Enum Class Event._Fields

java.lang.Object
java.lang.Enum<Event._Fields>
dev.vality.damsel.payment_processing.Event._Fields
All Implemented Interfaces:
Serializable, Comparable<Event._Fields>, Constable, org.apache.thrift.TFieldIdEnum
Enclosing class:
Event

public static enum Event._Fields extends Enum<Event._Fields> implements org.apache.thrift.TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
  • Enum Constant Details

    • ID

      public static final Event._Fields ID
      Идентификатор события. Монотонно возрастающее целочисленное значение, таким образом на множестве событий задаётся отношение полного порядка (total order).
    • CREATED_AT

      public static final Event._Fields CREATED_AT
      Время создания события.
    • SOURCE

      public static final Event._Fields SOURCE
      Идентификатор бизнес-объекта, источника события.
    • PAYLOAD

      public static final Event._Fields PAYLOAD
      Содержание события, состоящее из списка (возможно пустого) изменений состояния бизнес-объекта, источника события.
    • SEQUENCE

      public static final Event._Fields SEQUENCE
      Идентификатор события в рамках одной машины. Монотонно возрастающее целочисленное значение.
  • Method Details

    • values

      public static Event._Fields[] 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 Event._Fields 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
    • findByThriftId

      public static Event._Fields findByThriftId(int fieldId)
      Find the _Fields constant that matches fieldId, or null if its not found.
    • findByThriftIdOrThrow

      public static Event._Fields findByThriftIdOrThrow(int fieldId)
      Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
    • findByName

      public static Event._Fields findByName(String name)
      Find the _Fields constant that matches name, or null if its not found.
    • getThriftFieldId

      public short getThriftFieldId()
      Specified by:
      getThriftFieldId in interface org.apache.thrift.TFieldIdEnum
    • getFieldName

      public String getFieldName()
      Specified by:
      getFieldName in interface org.apache.thrift.TFieldIdEnum