Interface Update
-
public interface UpdateUpdate operation passed inUpdateEventChannel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectgetAttribute(String name)Return an attribute of this update operation.ChangeLoggetChanges()Return the local changes of this update operation.List<EventState>getEvents()Return the collection of events this update operation will generate.longgetTimestamp()Returns the timestamp whe this update occurred.StringgetUserData()Returns the user data associated with this update.voidsetAttribute(String name, Object value)Set an attribute of this update operation.
-
-
-
Method Detail
-
setAttribute
void setAttribute(String name, Object value)
Set an attribute of this update operation. Can be used to remember some setting for a later notification.- Parameters:
name- attribute namevalue- attribute value
-
getAttribute
Object getAttribute(String name)
Return an attribute of this update operation.- Parameters:
name- attribute name- Returns:
- attribute value or
null
-
getChanges
ChangeLog getChanges()
Return the local changes of this update operation.- Returns:
- local changes
-
getEvents
List<EventState> getEvents()
Return the collection of events this update operation will generate.- Returns:
- collection of
EventStates
-
getTimestamp
long getTimestamp()
Returns the timestamp whe this update occurred.- Returns:
- the timestamp whe this update occurred.
-
getUserData
String getUserData()
Returns the user data associated with this update.- Returns:
- the user data associated with this update.
-
-