java.lang.Object
io.ebean.Version<T>
Wraps a version of a @History bean.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBean()
Return the bean instance for this version.getDiff()
Return the map of differences from this bean to the prior version.getEnd()
Return the effective end date time of this version.getStart()
Return the effective start date time of this version.void
Set the bean instance for this version.void
Set the map of differences from this bean to the prior version.void
Set the effective end date time of this version.void
Set the effective start date time of this version.toString()
-
Field Details
-
bean
The version of the bean. -
start
The effective start date time of this version. -
end
The effective end date time of this version. -
diff
The map of changed properties.
-
-
Constructor Details
-
Version
Construct with bean and an effective date time range. -
Version
public Version()Default constructor - useful for JSON tools such as Jackson.
-
-
Method Details
-
getBean
Return the bean instance for this version. -
setBean
Set the bean instance for this version. -
getStart
Return the effective start date time of this version. -
setStart
Set the effective start date time of this version. -
getEnd
Return the effective end date time of this version. -
setEnd
Set the effective end date time of this version. -
setDiff
Set the map of differences from this bean to the prior version. -
getDiff
Return the map of differences from this bean to the prior version. -
toString
-