test_class.declarator: Q1 = Datamodel.makeWikidataItemIdValue("Q1")
test_class.modifier: final static
test_class.original_string: final static ItemIdValue Q1 = Datamodel.makeWikidataItemIdValue("Q1");
test_class.type: ItemIdValue
test_class.var_name: Q1
test_class.file: wdtk-wikibaseapi/src/test/java/org/wikidata/wdtk/wikibaseapi/TermStatementUpdateTest.java
test_class.identifier: TermStatementUpdateTest
test_case.body: @Test
  	public void testAddIdenticalDescription() {
  		MonolingualTextValue label = Datamodel.makeMonolingualTextValue("strudel aux pommes", "fr");
  		MonolingualTextValue description = Datamodel.makeMonolingualTextValue("délicieuse pâtisserie aux pommes", "fr");
  		ItemDocument currentDocument = ItemDocumentBuilder.forItemId(Q1)
  				.withLabel(label)
  				.withDescription(description)
  				.build();
  		TermStatementUpdate su = makeUpdate(currentDocument,
  				Collections.emptyList(),
  				Collections.singletonList(description),
  				Collections.emptyList(),
  				Collections.emptyList());
  		
  		assertEquals("{}", su.getJsonUpdateString());
  		assertTrue(su.isEmptyEdit());
  	}
test_case.class_method_signature: TermStatementUpdateTest.testAddIdenticalDescription()
test_case.full_signature: @Test public void testAddIdenticalDescription()
test_case.identifier: testAddIdenticalDescription
test_case.invocations: makeMonolingualTextValue makeMonolingualTextValue build withDescription withLabel forItemId makeUpdate emptyList singletonList emptyList emptyList assertEquals getJsonUpdateString assertTrue isEmptyEdit
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddIdenticalDescription()
focal_class.declarator: logger = LoggerFactory.getLogger(TermStatementUpdate.class)
focal_class.modifier: static final
focal_class.original_string: static final Logger logger = LoggerFactory.getLogger(TermStatementUpdate.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: currentDocument
focal_class.modifier: final protected
focal_class.original_string: final protected TermedStatementDocument currentDocument;
focal_class.type: TermedStatementDocument
focal_class.var_name: currentDocument
focal_class.declarator: newLabels
focal_class.modifier: @JsonIgnore
      final
focal_class.original_string: @JsonIgnore
      final Map<String, NameWithUpdate> newLabels;
focal_class.type: Map<String, NameWithUpdate>
focal_class.var_name: newLabels
focal_class.declarator: newDescriptions
focal_class.modifier: @JsonIgnore
      final
focal_class.original_string: @JsonIgnore
      final Map<String, NameWithUpdate> newDescriptions;
focal_class.type: Map<String, NameWithUpdate>
focal_class.var_name: newDescriptions
focal_class.declarator: newAliases
focal_class.modifier: @JsonIgnore
      final
focal_class.original_string: @JsonIgnore
      final Map<String, AliasesWithUpdate> newAliases;
focal_class.type: Map<String, AliasesWithUpdate>
focal_class.var_name: newAliases
focal_class.file: wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/TermStatementUpdate.java
focal_class.identifier: TermStatementUpdate
focal_class.class_method_signature: TermStatementUpdate.TermStatementUpdate(TermedStatementDocument currentDocument,
              List<Statement> addStatements,
              List<Statement> deleteStatements,
              List<MonolingualTextValue> addLabels,
              List<MonolingualTextValue> addDescriptions,
              List<MonolingualTextValue> addAliases,
              List<MonolingualTextValue> deleteAliases)
focal_class.full_signature: public  TermStatementUpdate(TermedStatementDocument currentDocument,
              List<Statement> addStatements,
              List<Statement> deleteStatements,
              List<MonolingualTextValue> addLabels,
              List<MonolingualTextValue> addDescriptions,
              List<MonolingualTextValue> addAliases,
              List<MonolingualTextValue> deleteAliases)
focal_class.identifier: TermStatementUpdate
focal_class.modifiers: public
focal_class.parameters: (TermedStatementDocument currentDocument,
              List<Statement> addStatements,
              List<Statement> deleteStatements,
              List<MonolingualTextValue> addLabels,
              List<MonolingualTextValue> addDescriptions,
              List<MonolingualTextValue> addAliases,
              List<MonolingualTextValue> deleteAliases)
focal_class.signature:  TermStatementUpdate(TermedStatementDocument currentDocument,
              List<Statement> addStatements,
              List<Statement> deleteStatements,
              List<MonolingualTextValue> addLabels,
              List<MonolingualTextValue> addDescriptions,
              List<MonolingualTextValue> addAliases,
              List<MonolingualTextValue> deleteAliases)
focal_class.class_method_signature: TermStatementUpdate.initUpdatesFromCurrentValues(Collection<MonolingualTextValue> currentValues)
focal_class.full_signature: protected Map<String, NameWithUpdate> initUpdatesFromCurrentValues(Collection<MonolingualTextValue> currentValues)
focal_class.identifier: initUpdatesFromCurrentValues
focal_class.modifiers: protected
focal_class.parameters: (Collection<MonolingualTextValue> currentValues)
focal_class.return: Map<String, NameWithUpdate>
focal_class.signature: Map<String, NameWithUpdate> initUpdatesFromCurrentValues(Collection<MonolingualTextValue> currentValues)
focal_class.class_method_signature: TermStatementUpdate.processAliases(List<MonolingualTextValue> addAliases, List<MonolingualTextValue> deleteAliases)
focal_class.full_signature: protected void processAliases(List<MonolingualTextValue> addAliases, List<MonolingualTextValue> deleteAliases)
focal_class.identifier: processAliases
focal_class.modifiers: protected
focal_class.parameters: (List<MonolingualTextValue> addAliases, List<MonolingualTextValue> deleteAliases)
focal_class.return: void
focal_class.signature: void processAliases(List<MonolingualTextValue> addAliases, List<MonolingualTextValue> deleteAliases)
focal_class.class_method_signature: TermStatementUpdate.deleteAlias(MonolingualTextValue alias)
focal_class.full_signature: protected void deleteAlias(MonolingualTextValue alias)
focal_class.identifier: deleteAlias
focal_class.modifiers: protected
focal_class.parameters: (MonolingualTextValue alias)
focal_class.return: void
focal_class.signature: void deleteAlias(MonolingualTextValue alias)
focal_class.class_method_signature: TermStatementUpdate.addAlias(MonolingualTextValue alias)
focal_class.full_signature: protected void addAlias(MonolingualTextValue alias)
focal_class.identifier: addAlias
focal_class.modifiers: protected
focal_class.parameters: (MonolingualTextValue alias)
focal_class.return: void
focal_class.signature: void addAlias(MonolingualTextValue alias)
focal_class.class_method_signature: TermStatementUpdate.processDescriptions(List<MonolingualTextValue> descriptions)
focal_class.full_signature: protected void processDescriptions(List<MonolingualTextValue> descriptions)
focal_class.identifier: processDescriptions
focal_class.modifiers: protected
focal_class.parameters: (List<MonolingualTextValue> descriptions)
focal_class.return: void
focal_class.signature: void processDescriptions(List<MonolingualTextValue> descriptions)
focal_class.class_method_signature: TermStatementUpdate.processLabels(List<MonolingualTextValue> labels)
focal_class.full_signature: protected void processLabels(List<MonolingualTextValue> labels)
focal_class.identifier: processLabels
focal_class.modifiers: protected
focal_class.parameters: (List<MonolingualTextValue> labels)
focal_class.return: void
focal_class.signature: void processLabels(List<MonolingualTextValue> labels)
focal_class.class_method_signature: TermStatementUpdate.getLabelUpdates()
focal_class.full_signature: @JsonProperty("labels") @JsonInclude(Include.NON_EMPTY) public Map<String, TermImpl> getLabelUpdates()
focal_class.identifier: getLabelUpdates
focal_class.modifiers: @JsonProperty("labels") @JsonInclude(Include.NON_EMPTY) public
focal_class.parameters: ()
focal_class.return: Map<String, TermImpl>
focal_class.signature: Map<String, TermImpl> getLabelUpdates()
focal_class.class_method_signature: TermStatementUpdate.getDescriptionUpdates()
focal_class.full_signature: @JsonProperty("descriptions") @JsonInclude(Include.NON_EMPTY) public Map<String, TermImpl> getDescriptionUpdates()
focal_class.identifier: getDescriptionUpdates
focal_class.modifiers: @JsonProperty("descriptions") @JsonInclude(Include.NON_EMPTY) public
focal_class.parameters: ()
focal_class.return: Map<String, TermImpl>
focal_class.signature: Map<String, TermImpl> getDescriptionUpdates()
focal_class.class_method_signature: TermStatementUpdate.getAliasUpdates()
focal_class.full_signature: @JsonProperty("aliases") @JsonInclude(Include.NON_EMPTY) public Map<String, List<TermImpl>> getAliasUpdates()
focal_class.identifier: getAliasUpdates
focal_class.modifiers: @JsonProperty("aliases") @JsonInclude(Include.NON_EMPTY) public
focal_class.parameters: ()
focal_class.return: Map<String, List<TermImpl>>
focal_class.signature: Map<String, List<TermImpl>> getAliasUpdates()
focal_class.class_method_signature: TermStatementUpdate.isEmptyEdit()
focal_class.full_signature: @Override @JsonIgnore public boolean isEmptyEdit()
focal_class.identifier: isEmptyEdit
focal_class.modifiers: @Override @JsonIgnore public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmptyEdit()
focal_class.class_method_signature: TermStatementUpdate.getAddedAliases(String language)
focal_class.full_signature: public List<MonolingualTextValue> getAddedAliases(String language)
focal_class.identifier: getAddedAliases
focal_class.modifiers: public
focal_class.parameters: (String language)
focal_class.return: List<MonolingualTextValue>
focal_class.signature: List<MonolingualTextValue> getAddedAliases(String language)
focal_class.class_method_signature: TermStatementUpdate.getRemovedAliases(String language)
focal_class.full_signature: public List<MonolingualTextValue> getRemovedAliases(String language)
focal_class.identifier: getRemovedAliases
focal_class.modifiers: public
focal_class.parameters: (String language)
focal_class.return: List<MonolingualTextValue>
focal_class.signature: List<MonolingualTextValue> getRemovedAliases(String language)
focal_class.class_method_signature: TermStatementUpdate.performEdit(
  			WbEditingAction action, boolean editAsBot, String summary, List<String> tags)
focal_class.full_signature: @Override public TermedStatementDocument performEdit(
  			WbEditingAction action, boolean editAsBot, String summary, List<String> tags)
focal_class.identifier: performEdit
focal_class.modifiers: @Override public
focal_class.parameters: (
  			WbEditingAction action, boolean editAsBot, String summary, List<String> tags)
focal_class.return: TermedStatementDocument
focal_class.signature: TermedStatementDocument performEdit(
  			WbEditingAction action, boolean editAsBot, String summary, List<String> tags)
focal_class.class_method_signature: TermStatementUpdate.getMonolingualUpdatedValues(Map<String, NameWithUpdate> updates)
focal_class.full_signature: protected Map<String, TermImpl> getMonolingualUpdatedValues(Map<String, NameWithUpdate> updates)
focal_class.identifier: getMonolingualUpdatedValues
focal_class.modifiers: protected
focal_class.parameters: (Map<String, NameWithUpdate> updates)
focal_class.return: Map<String, TermImpl>
focal_class.signature: Map<String, TermImpl> getMonolingualUpdatedValues(Map<String, NameWithUpdate> updates)
focal_class.class_method_signature: TermStatementUpdate.monolingualToJackson(MonolingualTextValue monolingualTextValue)
focal_class.full_signature: protected TermImpl monolingualToJackson(MonolingualTextValue monolingualTextValue)
focal_class.identifier: monolingualToJackson
focal_class.modifiers: protected
focal_class.parameters: (MonolingualTextValue monolingualTextValue)
focal_class.return: TermImpl
focal_class.signature: TermImpl monolingualToJackson(MonolingualTextValue monolingualTextValue)
focal_class.superclass: extends StatementUpdate
focal_method.body: @Override
      @JsonIgnore
      public boolean isEmptyEdit() {
      	return (super.isEmptyEdit() && 
      			getLabelUpdates().isEmpty() &&
      			getDescriptionUpdates().isEmpty() &&
      			getAliasUpdates().isEmpty());
      }
focal_method.class_method_signature: TermStatementUpdate.isEmptyEdit()
focal_method.full_signature: @Override @JsonIgnore public boolean isEmptyEdit()
focal_method.identifier: isEmptyEdit
focal_method.invocations: isEmptyEdit isEmpty getLabelUpdates isEmpty getDescriptionUpdates isEmpty getAliasUpdates
focal_method.modifiers: @Override @JsonIgnore public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isEmptyEdit()