public class StringeeChange
extends Object
Represents a state change of Conversation, Message.
Public Constructors | |
---|---|
StringeeChange(Type changeType, StringeeObject object)
Creates a new StringeeChange instance with the type of change and Stringee object. |
Public methods | |
---|---|
Type |
getChangeType()
Returns the type of change. |
void |
setChangeType(Type changeType)
Set the type of change. |
StringeeObject.Type |
getObjectType()
Returns the type of Stringee object. |
void |
setObjectType(StringeeObject.Type objectType)
Set the type of Stringee object. |
StringeeObject |
getObject()
Returns the Stringee object. |
void |
setObject(StringeeObject object)
Set the Stringee object. |
StringeeChange(Type changeType, StringeeObject object)
Creates a new StringeeChange instance with the type of change and Stringee object.
Parameters | |
---|---|
changeType |
The type of change. |
object |
The Stringee object. |
Type getChangeType()
Returns the type of change: INSERT, UPDATE, DELETE.
void setChangeType(Type changeType)
Set the type of change.
StringeeObject.Type getObjectType()
Returns the type of Stringee object: CONVERSATION, MESSAGE.
void setObjectType(StringeeObject.Type objectType)()
Set the type of Stringee object.
StringeeObject getObject()
Returns the Stringee object.
void setObject(StringeeObject object)
Set the Stringee object.