Interface StatementUpdate
- All Known Implementing Classes:
StatementUpdateImpl
public interface StatementUpdate
Collection of statement changes.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final StatementUpdate
Empty update that does not alter or add any statements. -
Method Summary
-
Field Details
-
EMPTY
Empty update that does not alter or add any statements.
-
-
Method Details
-
isEmpty
boolean isEmpty()Checks whether the update is empty. Empty update will not change or remove any statements.- Returns:
true
if the update is empty,false
otherwise
-
getAdded
Returns statements added to the entity in this update.- Returns:
- list of added statements
-
getReplaced
Returns entity statements modified in this update.- Returns:
- modified statements indexed by statement ID
-
getRemoved
Returns IDs of statements removed from the entity in this update.- Returns:
- list of IDs of removed statements
-