Class VersionedDataUpdate
Object
VersionedDataUpdate
- Direct Known Subclasses:
AttributeSubscriptionUpdate
,ItemVersionUpdate
,VersionedForestUpdate
Base class for versioned updates.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DataVersion
Returns the version associated with this update.boolean
isEmpty()
Returns true if the update is "empty", that is, the caller may keep the state, because it is up-to-date.boolean
isFull()
Returns true if the update is "full", that is, the caller may drop the current state and replace it fully with the state from this update.boolean
Returns true if the update is "incremental", that is, the caller may get the up-to-date state by applying a diff, contained in this update, to the previous state they have.
-
Constructor Details
-
VersionedDataUpdate
-
-
Method Details
-
getVersion
Returns the version associated with this update. -
isFull
public boolean isFull()Returns true if the update is "full", that is, the caller may drop the current state and replace it fully with the state from this update. -
isEmpty
public boolean isEmpty()Returns true if the update is "empty", that is, the caller may keep the state, because it is up-to-date. -
isIncremental
public boolean isIncremental()Returns true if the update is "incremental", that is, the caller may get the up-to-date state by applying a diff, contained in this update, to the previous state they have.
-