Module io.ebean.api

Class BeanChange


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

      • 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.