java.lang.Object
io.ebean.event.changelog.BeanChange
A bean insert, update or delete change sent as part of a ChangeSet.
-
Constructor Summary
ConstructorDescriptionConstructor for JSON tools.BeanChange
(String table, Object tenantId, Object id, ChangeType event, String data) Construct with change as JSON.BeanChange
(String type, Object tenantId, Object id, ChangeType event, String data, String oldData) Construct with change as JSON. -
Method Summary
Modifier and TypeMethodDescriptiongetData()
Return the change data in JSON form.getEvent()
Return the change type (INSERT, UPDATE or DELETE).long
Return the event time in epoch millis.getId()
Return the object id.Return the old data in JSON form.Return the tenant id.getType()
Return the object type (typically table name).toString()
-
Constructor Details
-
Method Details
-
toString
-
getType
Return the object type (typically table name). -
getTenantId
Return the tenant id. -
getId
Return the object id. -
getEvent
Return the change type (INSERT, UPDATE or DELETE). -
getEventTime
public long getEventTime()Return the event time in epoch millis. -
getData
Return the change data in JSON form. -
getOldData
Return the old data in JSON form.
-