Package io.ebean
Class Version<T>
java.lang.Object
io.ebean.Version<T>
Wraps a version of a @History bean.
-
Constructor Summary
Constructors -
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.voidSet the bean instance for this version.voidSet the map of differences from this bean to the prior version.voidSet the effective end date time of this version.voidSet the effective start date time of this version.toString()
-
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
-