public class ChangedItem
extends java.lang.Object
implements java.io.Serializable
Represents affected item during collection modification.
Constructor and Description |
---|
ChangedItem() |
Modifier and Type | Method and Description |
---|---|
long |
getChangeTimestamp()
Specifies the unix timestamp of the change.
|
ChangeType |
getChangeType()
Specifies the change type.
|
Document |
getDocument()
Specifies the changed document.
|
void |
setChangeTimestamp(long changeTimestamp)
Specifies the unix timestamp of the change.
|
void |
setChangeType(ChangeType changeType)
Specifies the change type.
|
void |
setDocument(Document document)
Specifies the changed document.
|
java.lang.String |
toString() |
@Generated(value="lombok") public java.lang.String toString()
toString
in class java.lang.Object
@Generated(value="lombok") public Document getDocument()
Specifies the changed document.
@Generated(value="lombok") public ChangeType getChangeType()
Specifies the change type.
@Generated(value="lombok") public long getChangeTimestamp()
Specifies the unix timestamp of the change.
@Generated(value="lombok") public void setDocument(Document document)
Specifies the changed document.
document
- the document.@Generated(value="lombok") public void setChangeType(ChangeType changeType)
Specifies the change type.
changeType
- the type of the change.@Generated(value="lombok") public void setChangeTimestamp(long changeTimestamp)
Specifies the unix timestamp of the change.
changeTimestamp
- the unix timestamp of the change.