Package com.arangodb.entity
Class DocumentUpdateEntity<T>
- java.lang.Object
-
- com.arangodb.entity.DocumentEntity
-
- com.arangodb.entity.DocumentUpdateEntity<T>
-
- Type Parameters:
T
-
public final class DocumentUpdateEntity<T> extends DocumentEntity
- Author:
- Mark Vollmary
- See Also:
- API Documentation
-
-
Constructor Summary
Constructors Constructor Description DocumentUpdateEntity()
-
-
-
Method Detail
-
getOldRev
public String getOldRev()
-
getNew
public T getNew()
- Returns:
- If the query parameter returnNew is true, then the complete new document is returned.
-
setNew
public void setNew(T newDocument)
-
getOld
public T getOld()
- Returns:
- If the query parameter returnOld is true, then the complete previous revision of the document is returned.
-
setOld
public void setOld(T oldDocument)
-
-