Package org.openrefine.wikibase.updates
Interface StatementEntityEdit
-
- All Superinterfaces:
EntityEdit
- All Known Implementing Classes:
ItemEdit
,LabeledStatementEntityEdit
,MediaInfoEdit
,TermedStatementEntityEdit
public interface StatementEntityEdit extends EntityEdit
A candidate edit on an entity which can bear statements.- Author:
- Antonin Delpeuch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default List<org.wikidata.wdtk.datamodel.interfaces.Statement>
getAddedStatements()
default List<org.wikidata.wdtk.datamodel.interfaces.Statement>
getDeletedStatements()
List<StatementEdit>
getStatementEdits()
Edits made to statementsList<StatementGroupEdit>
getStatementGroupEdits()
Groups added statements inStatementGroupEdit
objects.-
Methods inherited from interface org.openrefine.wikibase.updates.EntityEdit
getContributingRowIds, getEntityId, isEmpty, isNew, isNull, merge, requiresFetchingExistingState, toEntityUpdate, toNewEntity
-
-
-
-
Method Detail
-
getStatementEdits
List<StatementEdit> getStatementEdits()
Edits made to statements
-
getStatementGroupEdits
List<StatementGroupEdit> getStatementGroupEdits()
Groups added statements inStatementGroupEdit
objects.
-
getAddedStatements
default List<org.wikidata.wdtk.datamodel.interfaces.Statement> getAddedStatements()
- Returns:
- the statements which should be added or merged with the existing ones on the item.
-
getDeletedStatements
default List<org.wikidata.wdtk.datamodel.interfaces.Statement> getDeletedStatements()
- Returns:
- the statements which should be deleted from the item.
-
-