Module io.ebean.api

Class BeanChange

java.lang.Object
io.ebean.event.changelog.BeanChange

public class BeanChange extends Object
A bean insert, update or delete change sent as part of a ChangeSet.
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public String getType()
      Return the object type (typically table name).
    • getTenantId

      public Object getTenantId()
      Return the tenant id.
    • getId

      public Object getId()
      Return the object id.
    • getEvent

      public ChangeType getEvent()
      Return the change type (INSERT, UPDATE or DELETE).
    • getEventTime

      public long getEventTime()
      Return the event time in epoch millis.
    • getData

      public String getData()
      Return the change data in JSON form.
    • getOldData

      public String getOldData()
      Return the old data in JSON form.