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 DataVersionReturns the version associated with this update.booleanisEmpty()Returns true if the update is "empty", that is, the caller may keep the state, because it is up-to-date.booleanisFull()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.booleanReturns 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. 
 -