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() |
public java.lang.String toString()
toString
in class java.lang.Object
public Document getDocument()
Specifies the changed document.
public ChangeType getChangeType()
Specifies the change type.
public long getChangeTimestamp()
Specifies the unix timestamp of the change.
public void setDocument(Document document)
Specifies the changed document.
document
- the document.public void setChangeType(ChangeType changeType)
Specifies the change type.
changeType
- the type of the change.public void setChangeTimestamp(long changeTimestamp)
Specifies the unix timestamp of the change.
changeTimestamp
- the unix timestamp of the change.