test_class.declarator: mapper = new DatamodelMapper("http://example.com/entity/")
test_class.modifier: private final
test_class.original_string: private final ObjectMapper mapper = new DatamodelMapper("http://example.com/entity/");
test_class.type: ObjectMapper
test_class.var_name: mapper
test_class.declarator: lid = new LexemeIdValueImpl("L42", "http://example.com/entity/")
test_class.modifier: private final
test_class.original_string: private final LexemeIdValue lid = new LexemeIdValueImpl("L42", "http://example.com/entity/");
test_class.type: LexemeIdValue
test_class.var_name: lid
test_class.declarator: lexCat = new ItemIdValueImpl("Q1", "http://example.com/entity/")
test_class.modifier: private final
test_class.original_string: private final ItemIdValue lexCat = new ItemIdValueImpl("Q1", "http://example.com/entity/");
test_class.type: ItemIdValue
test_class.var_name: lexCat
test_class.declarator: language = new ItemIdValueImpl("Q2", "http://example.com/entity/")
test_class.modifier: private final
test_class.original_string: private final ItemIdValue language = new ItemIdValueImpl("Q2", "http://example.com/entity/");
test_class.type: ItemIdValue
test_class.var_name: language
test_class.declarator: s = new StatementImpl("MyId", StatementRank.NORMAL,
  			new SomeValueSnakImpl(new PropertyIdValueImpl("P42", "http://example.com/entity/")),
  			Collections.emptyList(), Collections.emptyList(), lid)
test_class.modifier: private final
test_class.original_string: private final Statement s = new StatementImpl("MyId", StatementRank.NORMAL,
  			new SomeValueSnakImpl(new PropertyIdValueImpl("P42", "http://example.com/entity/")),
  			Collections.emptyList(), Collections.emptyList(), lid);
test_class.type: Statement
test_class.var_name: s
test_class.declarator: statementGroups = Collections.singletonList(
  			new StatementGroupImpl(Collections.singletonList(s))
  	)
test_class.modifier: private final
test_class.original_string: private final List<StatementGroup> statementGroups = Collections.singletonList(
  			new StatementGroupImpl(Collections.singletonList(s))
  	);
test_class.type: List<StatementGroup>
test_class.var_name: statementGroups
test_class.declarator: lemma = new TermImpl("en", "lemma")
test_class.modifier: private final
test_class.original_string: private final MonolingualTextValue lemma = new TermImpl("en", "lemma");
test_class.type: MonolingualTextValue
test_class.var_name: lemma
test_class.declarator: lemmaList = Collections.singletonList(lemma)
test_class.modifier: private final
test_class.original_string: private final List<MonolingualTextValue> lemmaList = Collections.singletonList(lemma);
test_class.type: List<MonolingualTextValue>
test_class.var_name: lemmaList
test_class.declarator: form = new FormDocumentImpl(
  			new FormIdValueImpl("L42-F1", "http://example.com/entity/"),
  			Collections.singletonList(new TermImpl("en", "foo")),
  			Collections.emptyList(),
  			Collections.emptyList(),
  			0
  	)
test_class.modifier: private final
test_class.original_string: private final FormDocument form = new FormDocumentImpl(
  			new FormIdValueImpl("L42-F1", "http://example.com/entity/"),
  			Collections.singletonList(new TermImpl("en", "foo")),
  			Collections.emptyList(),
  			Collections.emptyList(),
  			0
  	);
test_class.type: FormDocument
test_class.var_name: form
test_class.declarator: forms = Collections.singletonList(form)
test_class.modifier: private final
test_class.original_string: private final List<FormDocument> forms = Collections.singletonList(form);
test_class.type: List<FormDocument>
test_class.var_name: forms
test_class.declarator: sense = new SenseDocumentImpl(
  			new SenseIdValueImpl("L42-S1", "http://example.com/entity/"),
  			Collections.singletonList(new TermImpl("en", "foo meaning")),
  			Collections.emptyList(),
  			0
  	)
test_class.modifier: private final
test_class.original_string: private final SenseDocument sense = new SenseDocumentImpl(
  			new SenseIdValueImpl("L42-S1", "http://example.com/entity/"),
  			Collections.singletonList(new TermImpl("en", "foo meaning")),
  			Collections.emptyList(),
  			0
  	);
test_class.type: SenseDocument
test_class.var_name: sense
test_class.declarator: senses = Collections.singletonList(sense)
test_class.modifier: private final
test_class.original_string: private final List<SenseDocument> senses = Collections.singletonList(sense);
test_class.type: List<SenseDocument>
test_class.var_name: senses
test_class.declarator: ld1 = new LexemeDocumentImpl(lid, lexCat, language, lemmaList, statementGroups, forms, senses, 1234)
test_class.modifier: private final
test_class.original_string: private final LexemeDocument ld1 = new LexemeDocumentImpl(lid, lexCat, language, lemmaList, statementGroups, forms, senses, 1234);
test_class.type: LexemeDocument
test_class.var_name: ld1
test_class.declarator: ld2 = new LexemeDocumentImpl(lid, lexCat, language, lemmaList, statementGroups, forms, senses, 1234)
test_class.modifier: private final
test_class.original_string: private final LexemeDocument ld2 = new LexemeDocumentImpl(lid, lexCat, language, lemmaList, statementGroups, forms, senses, 1234);
test_class.type: LexemeDocument
test_class.var_name: ld2
test_class.declarator: JSON_LEXEME = "{\"type\":\"lexeme\",\"id\":\"L42\",\"lexicalCategory\":\"Q1\",\"language\":\"Q2\",\"lemmas\":{\"en\":{\"language\":\"en\",\"value\":\"lemma\"}},\"claims\":{\"P42\":[{\"rank\":\"normal\",\"id\":\"MyId\",\"mainsnak\":{\"property\":\"P42\",\"snaktype\":\"somevalue\"},\"type\":\"statement\"}]},\"forms\":[{\"type\":\"form\",\"id\":\"L42-F1\",\"representations\":{\"en\":{\"language\":\"en\",\"value\":\"foo\"}},\"grammaticalFeatures\":[],\"claims\":{}}],\"senses\":[{\"type\":\"sense\",\"id\":\"L42-S1\",\"glosses\":{\"en\":{\"language\":\"en\",\"value\":\"foo meaning\"}},\"claims\":{}}],\"lastrevid\":1234}"
test_class.modifier: private final
test_class.original_string: private final String JSON_LEXEME = "{\"type\":\"lexeme\",\"id\":\"L42\",\"lexicalCategory\":\"Q1\",\"language\":\"Q2\",\"lemmas\":{\"en\":{\"language\":\"en\",\"value\":\"lemma\"}},\"claims\":{\"P42\":[{\"rank\":\"normal\",\"id\":\"MyId\",\"mainsnak\":{\"property\":\"P42\",\"snaktype\":\"somevalue\"},\"type\":\"statement\"}]},\"forms\":[{\"type\":\"form\",\"id\":\"L42-F1\",\"representations\":{\"en\":{\"language\":\"en\",\"value\":\"foo\"}},\"grammaticalFeatures\":[],\"claims\":{}}],\"senses\":[{\"type\":\"sense\",\"id\":\"L42-S1\",\"glosses\":{\"en\":{\"language\":\"en\",\"value\":\"foo meaning\"}},\"claims\":{}}],\"lastrevid\":1234}";
test_class.type: String
test_class.var_name: JSON_LEXEME
test_class.file: wdtk-datamodel/src/test/java/org/wikidata/wdtk/datamodel/implementation/LexemeDocumentImplTest.java
test_class.identifier: LexemeDocumentImplTest
test_case.body: @Test
  	public void testWithSense() {
  		SenseDocument newSense = ld1.createSense(Collections.singletonList(new TermImpl("en", "add1")));
  		assertEquals(lid, newSense.getEntityId().getLexemeId());
  		assertEquals(ld1.getSenses().size() + 1, ld1.withSense(newSense).getSenses().size());
  		assertEquals(newSense, ld1.withSense(newSense).getSense(newSense.getEntityId()));
  	}
test_case.class_method_signature: LexemeDocumentImplTest.testWithSense()
test_case.full_signature: @Test public void testWithSense()
test_case.identifier: testWithSense
test_case.invocations: createSense singletonList assertEquals getLexemeId getEntityId assertEquals size getSenses size getSenses withSense assertEquals getSense withSense getEntityId
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testWithSense()
focal_class.declarator: lexicalCategory
focal_class.modifier: private final
focal_class.original_string: private final ItemIdValue lexicalCategory;
focal_class.type: ItemIdValue
focal_class.var_name: lexicalCategory
focal_class.declarator: language
focal_class.modifier: private final
focal_class.original_string: private final ItemIdValue language;
focal_class.type: ItemIdValue
focal_class.var_name: language
focal_class.declarator: lemmas
focal_class.modifier: private final
focal_class.original_string: private final Map<String,MonolingualTextValue> lemmas;
focal_class.type: Map<String,MonolingualTextValue>
focal_class.var_name: lemmas
focal_class.declarator: forms
focal_class.modifier: private final
focal_class.original_string: private final List<FormDocument> forms;
focal_class.type: List<FormDocument>
focal_class.var_name: forms
focal_class.declarator: senses
focal_class.modifier: private final
focal_class.original_string: private final List<SenseDocument> senses;
focal_class.type: List<SenseDocument>
focal_class.var_name: senses
focal_class.declarator: nextFormId
focal_class.modifier: private
focal_class.original_string: private int nextFormId;
focal_class.type: int
focal_class.var_name: nextFormId
focal_class.declarator: nextSenseId
focal_class.modifier: private
focal_class.original_string: private int nextSenseId;
focal_class.type: int
focal_class.var_name: nextSenseId
focal_class.declarator: CHILD_ID_PATTERN = Pattern.compile("^L\\d+-[FS]([1-9]\\d*)$")
focal_class.modifier: private static final
focal_class.original_string: private static final Pattern CHILD_ID_PATTERN = Pattern.compile("^L\\d+-[FS]([1-9]\\d*)$");
focal_class.type: Pattern
focal_class.var_name: CHILD_ID_PATTERN
focal_class.file: wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/implementation/LexemeDocumentImpl.java
focal_class.identifier: LexemeDocumentImpl
focal_class.interfaces: implements LexemeDocument
focal_class.class_method_signature: LexemeDocumentImpl.LexemeDocumentImpl(
  			LexemeIdValue id,
  			ItemIdValue lexicalCategory,
  			ItemIdValue language,
  			List<MonolingualTextValue> lemmas,
  			List<StatementGroup> statements,
  			List<FormDocument> forms,
  			List<SenseDocument> senses,
  			long revisionId)
focal_class.full_signature:   LexemeDocumentImpl(
  			LexemeIdValue id,
  			ItemIdValue lexicalCategory,
  			ItemIdValue language,
  			List<MonolingualTextValue> lemmas,
  			List<StatementGroup> statements,
  			List<FormDocument> forms,
  			List<SenseDocument> senses,
  			long revisionId)
focal_class.identifier: LexemeDocumentImpl
focal_class.parameters: (
  			LexemeIdValue id,
  			ItemIdValue lexicalCategory,
  			ItemIdValue language,
  			List<MonolingualTextValue> lemmas,
  			List<StatementGroup> statements,
  			List<FormDocument> forms,
  			List<SenseDocument> senses,
  			long revisionId)
focal_class.signature:  LexemeDocumentImpl(
  			LexemeIdValue id,
  			ItemIdValue lexicalCategory,
  			ItemIdValue language,
  			List<MonolingualTextValue> lemmas,
  			List<StatementGroup> statements,
  			List<FormDocument> forms,
  			List<SenseDocument> senses,
  			long revisionId)
focal_class.class_method_signature: LexemeDocumentImpl.LexemeDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("lexicalCategory") String lexicalCategory,
  			@JsonProperty("language") String language,
  			@JsonProperty("lemmas") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> lemmas,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("forms") @JsonDeserialize(contentAs=FormDocumentImpl.class) List<FormDocument> forms,
  			@JsonProperty("senses") @JsonDeserialize(contentAs=SenseDocumentImpl.class) List<SenseDocument> senses,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.full_signature: @JsonCreator  LexemeDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("lexicalCategory") String lexicalCategory,
  			@JsonProperty("language") String language,
  			@JsonProperty("lemmas") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> lemmas,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("forms") @JsonDeserialize(contentAs=FormDocumentImpl.class) List<FormDocument> forms,
  			@JsonProperty("senses") @JsonDeserialize(contentAs=SenseDocumentImpl.class) List<SenseDocument> senses,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.identifier: LexemeDocumentImpl
focal_class.modifiers: @JsonCreator
focal_class.parameters: (
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("lexicalCategory") String lexicalCategory,
  			@JsonProperty("language") String language,
  			@JsonProperty("lemmas") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> lemmas,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("forms") @JsonDeserialize(contentAs=FormDocumentImpl.class) List<FormDocument> forms,
  			@JsonProperty("senses") @JsonDeserialize(contentAs=SenseDocumentImpl.class) List<SenseDocument> senses,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.signature:  LexemeDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("lexicalCategory") String lexicalCategory,
  			@JsonProperty("language") String language,
  			@JsonProperty("lemmas") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> lemmas,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("forms") @JsonDeserialize(contentAs=FormDocumentImpl.class) List<FormDocument> forms,
  			@JsonProperty("senses") @JsonDeserialize(contentAs=SenseDocumentImpl.class) List<SenseDocument> senses,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.class_method_signature: LexemeDocumentImpl.LexemeDocumentImpl(
  			LexemeIdValue id,
  			ItemIdValue lexicalCategory,
  			ItemIdValue language,
  			Map<String, MonolingualTextValue> lemmas,
  			Map<String, List<Statement>> statements,
  			List<FormDocument> forms,
  			List<SenseDocument> senses,
  			long revisionId,
  			int nextFormId,
  			int nextSenseId)
focal_class.full_signature: private  LexemeDocumentImpl(
  			LexemeIdValue id,
  			ItemIdValue lexicalCategory,
  			ItemIdValue language,
  			Map<String, MonolingualTextValue> lemmas,
  			Map<String, List<Statement>> statements,
  			List<FormDocument> forms,
  			List<SenseDocument> senses,
  			long revisionId,
  			int nextFormId,
  			int nextSenseId)
focal_class.identifier: LexemeDocumentImpl
focal_class.modifiers: private
focal_class.parameters: (
  			LexemeIdValue id,
  			ItemIdValue lexicalCategory,
  			ItemIdValue language,
  			Map<String, MonolingualTextValue> lemmas,
  			Map<String, List<Statement>> statements,
  			List<FormDocument> forms,
  			List<SenseDocument> senses,
  			long revisionId,
  			int nextFormId,
  			int nextSenseId)
focal_class.signature:  LexemeDocumentImpl(
  			LexemeIdValue id,
  			ItemIdValue lexicalCategory,
  			ItemIdValue language,
  			Map<String, MonolingualTextValue> lemmas,
  			Map<String, List<Statement>> statements,
  			List<FormDocument> forms,
  			List<SenseDocument> senses,
  			long revisionId,
  			int nextFormId,
  			int nextSenseId)
focal_class.class_method_signature: LexemeDocumentImpl.constructTermMap(List<MonolingualTextValue> terms)
focal_class.full_signature: private static Map<String, MonolingualTextValue> constructTermMap(List<MonolingualTextValue> terms)
focal_class.identifier: constructTermMap
focal_class.modifiers: private static
focal_class.parameters: (List<MonolingualTextValue> terms)
focal_class.return: Map<String, MonolingualTextValue>
focal_class.signature: Map<String, MonolingualTextValue> constructTermMap(List<MonolingualTextValue> terms)
focal_class.class_method_signature: LexemeDocumentImpl.toTerm(MonolingualTextValue term)
focal_class.full_signature: private static MonolingualTextValue toTerm(MonolingualTextValue term)
focal_class.identifier: toTerm
focal_class.modifiers: private static
focal_class.parameters: (MonolingualTextValue term)
focal_class.return: MonolingualTextValue
focal_class.signature: MonolingualTextValue toTerm(MonolingualTextValue term)
focal_class.class_method_signature: LexemeDocumentImpl.nextChildEntityId(List<? extends EntityDocument> childrenDocuments)
focal_class.full_signature: private static int nextChildEntityId(List<? extends EntityDocument> childrenDocuments)
focal_class.identifier: nextChildEntityId
focal_class.modifiers: private static
focal_class.parameters: (List<? extends EntityDocument> childrenDocuments)
focal_class.return: int
focal_class.signature: int nextChildEntityId(List<? extends EntityDocument> childrenDocuments)
focal_class.class_method_signature: LexemeDocumentImpl.getEntityId()
focal_class.full_signature: @JsonIgnore @Override public LexemeIdValue getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @JsonIgnore @Override public
focal_class.parameters: ()
focal_class.return: LexemeIdValue
focal_class.signature: LexemeIdValue getEntityId()
focal_class.class_method_signature: LexemeDocumentImpl.getLexicalCategory()
focal_class.full_signature: @JsonIgnore @Override public ItemIdValue getLexicalCategory()
focal_class.identifier: getLexicalCategory
focal_class.modifiers: @JsonIgnore @Override public
focal_class.parameters: ()
focal_class.return: ItemIdValue
focal_class.signature: ItemIdValue getLexicalCategory()
focal_class.class_method_signature: LexemeDocumentImpl.getJsonLexicalCategory()
focal_class.full_signature: @JsonProperty("lexicalCategory") String getJsonLexicalCategory()
focal_class.identifier: getJsonLexicalCategory
focal_class.modifiers: @JsonProperty("lexicalCategory")
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getJsonLexicalCategory()
focal_class.class_method_signature: LexemeDocumentImpl.getLanguage()
focal_class.full_signature: @JsonIgnore @Override public ItemIdValue getLanguage()
focal_class.identifier: getLanguage
focal_class.modifiers: @JsonIgnore @Override public
focal_class.parameters: ()
focal_class.return: ItemIdValue
focal_class.signature: ItemIdValue getLanguage()
focal_class.class_method_signature: LexemeDocumentImpl.getJsonLanguage()
focal_class.full_signature: @JsonProperty("language") String getJsonLanguage()
focal_class.identifier: getJsonLanguage
focal_class.modifiers: @JsonProperty("language")
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getJsonLanguage()
focal_class.class_method_signature: LexemeDocumentImpl.getLemmas()
focal_class.full_signature: @JsonProperty("lemmas") @Override public Map<String, MonolingualTextValue> getLemmas()
focal_class.identifier: getLemmas
focal_class.modifiers: @JsonProperty("lemmas") @Override public
focal_class.parameters: ()
focal_class.return: Map<String, MonolingualTextValue>
focal_class.signature: Map<String, MonolingualTextValue> getLemmas()
focal_class.class_method_signature: LexemeDocumentImpl.getForms()
focal_class.full_signature: @JsonProperty("forms") @Override public List<FormDocument> getForms()
focal_class.identifier: getForms
focal_class.modifiers: @JsonProperty("forms") @Override public
focal_class.parameters: ()
focal_class.return: List<FormDocument>
focal_class.signature: List<FormDocument> getForms()
focal_class.class_method_signature: LexemeDocumentImpl.getSenses()
focal_class.full_signature: @JsonProperty("senses") @Override public List<SenseDocument> getSenses()
focal_class.identifier: getSenses
focal_class.modifiers: @JsonProperty("senses") @Override public
focal_class.parameters: ()
focal_class.return: List<SenseDocument>
focal_class.signature: List<SenseDocument> getSenses()
focal_class.class_method_signature: LexemeDocumentImpl.getForm(FormIdValue formId)
focal_class.full_signature: @JsonIgnore @Override public FormDocument getForm(FormIdValue formId)
focal_class.identifier: getForm
focal_class.modifiers: @JsonIgnore @Override public
focal_class.parameters: (FormIdValue formId)
focal_class.return: FormDocument
focal_class.signature: FormDocument getForm(FormIdValue formId)
focal_class.class_method_signature: LexemeDocumentImpl.getSense(SenseIdValue senseId)
focal_class.full_signature: @JsonIgnore @Override public SenseDocument getSense(SenseIdValue senseId)
focal_class.identifier: getSense
focal_class.modifiers: @JsonIgnore @Override public
focal_class.parameters: (SenseIdValue senseId)
focal_class.return: SenseDocument
focal_class.signature: SenseDocument getSense(SenseIdValue senseId)
focal_class.class_method_signature: LexemeDocumentImpl.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: LexemeDocumentImpl.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: LexemeDocumentImpl.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: LexemeDocumentImpl.withLexicalCategory(ItemIdValue newLexicalCategory)
focal_class.full_signature: @Override public LexemeDocument withLexicalCategory(ItemIdValue newLexicalCategory)
focal_class.identifier: withLexicalCategory
focal_class.modifiers: @Override public
focal_class.parameters: (ItemIdValue newLexicalCategory)
focal_class.return: LexemeDocument
focal_class.signature: LexemeDocument withLexicalCategory(ItemIdValue newLexicalCategory)
focal_class.class_method_signature: LexemeDocumentImpl.withLanguage(ItemIdValue newLanguage)
focal_class.full_signature: @Override public LexemeDocument withLanguage(ItemIdValue newLanguage)
focal_class.identifier: withLanguage
focal_class.modifiers: @Override public
focal_class.parameters: (ItemIdValue newLanguage)
focal_class.return: LexemeDocument
focal_class.signature: LexemeDocument withLanguage(ItemIdValue newLanguage)
focal_class.class_method_signature: LexemeDocumentImpl.withLemma(MonolingualTextValue lemma)
focal_class.full_signature: @Override public LexemeDocument withLemma(MonolingualTextValue lemma)
focal_class.identifier: withLemma
focal_class.modifiers: @Override public
focal_class.parameters: (MonolingualTextValue lemma)
focal_class.return: LexemeDocument
focal_class.signature: LexemeDocument withLemma(MonolingualTextValue lemma)
focal_class.class_method_signature: LexemeDocumentImpl.withStatement(Statement statement)
focal_class.full_signature: @Override public LexemeDocument withStatement(Statement statement)
focal_class.identifier: withStatement
focal_class.modifiers: @Override public
focal_class.parameters: (Statement statement)
focal_class.return: LexemeDocument
focal_class.signature: LexemeDocument withStatement(Statement statement)
focal_class.class_method_signature: LexemeDocumentImpl.withoutStatementIds(Set<String> statementIds)
focal_class.full_signature: @Override public LexemeDocument withoutStatementIds(Set<String> statementIds)
focal_class.identifier: withoutStatementIds
focal_class.modifiers: @Override public
focal_class.parameters: (Set<String> statementIds)
focal_class.return: LexemeDocument
focal_class.signature: LexemeDocument withoutStatementIds(Set<String> statementIds)
focal_class.class_method_signature: LexemeDocumentImpl.createForm(List<MonolingualTextValue> representations)
focal_class.full_signature: @Override public FormDocument createForm(List<MonolingualTextValue> representations)
focal_class.identifier: createForm
focal_class.modifiers: @Override public
focal_class.parameters: (List<MonolingualTextValue> representations)
focal_class.return: FormDocument
focal_class.signature: FormDocument createForm(List<MonolingualTextValue> representations)
focal_class.class_method_signature: LexemeDocumentImpl.withForm(FormDocument form)
focal_class.full_signature: @Override public LexemeDocument withForm(FormDocument form)
focal_class.identifier: withForm
focal_class.modifiers: @Override public
focal_class.parameters: (FormDocument form)
focal_class.return: LexemeDocument
focal_class.signature: LexemeDocument withForm(FormDocument form)
focal_class.class_method_signature: LexemeDocumentImpl.createSense(List<MonolingualTextValue> glosses)
focal_class.full_signature: @Override public SenseDocument createSense(List<MonolingualTextValue> glosses)
focal_class.identifier: createSense
focal_class.modifiers: @Override public
focal_class.parameters: (List<MonolingualTextValue> glosses)
focal_class.return: SenseDocument
focal_class.signature: SenseDocument createSense(List<MonolingualTextValue> glosses)
focal_class.class_method_signature: LexemeDocumentImpl.withSense(SenseDocument sense)
focal_class.full_signature: @Override public LexemeDocument withSense(SenseDocument sense)
focal_class.identifier: withSense
focal_class.modifiers: @Override public
focal_class.parameters: (SenseDocument sense)
focal_class.return: LexemeDocument
focal_class.signature: LexemeDocument withSense(SenseDocument sense)
focal_class.class_method_signature: LexemeDocumentImpl.withRevisionId(long newRevisionId)
focal_class.full_signature: @Override public LexemeDocument withRevisionId(long newRevisionId)
focal_class.identifier: withRevisionId
focal_class.modifiers: @Override public
focal_class.parameters: (long newRevisionId)
focal_class.return: LexemeDocument
focal_class.signature: LexemeDocument withRevisionId(long newRevisionId)
focal_class.superclass: extends StatementDocumentImpl
focal_method.body: @Override
  	public LexemeDocument withSense(SenseDocument sense) {
  		if(!sense.getEntityId().getLexemeId().equals(getEntityId())) {
  			throw new IllegalArgumentException("The sense " + sense.getEntityId() + " does not belong to lexeme " + getEntityId());
  		}
  
  		List<SenseDocument> newSenses = new ArrayList<>(senses);
  		newSenses.add(sense);
  		return new LexemeDocumentImpl(getEntityId(), lexicalCategory,
  				language, lemmas, claims, forms, newSenses,
  				revisionId, nextFormId, nextSenseId);
  	}
focal_method.class_method_signature: LexemeDocumentImpl.withSense(SenseDocument sense)
focal_method.full_signature: @Override public LexemeDocument withSense(SenseDocument sense)
focal_method.identifier: withSense
focal_method.invocations: equals getLexemeId getEntityId getEntityId getEntityId getEntityId add getEntityId
focal_method.modifiers: @Override public
focal_method.parameters: (SenseDocument sense)
focal_method.return: LexemeDocument
focal_method.signature: LexemeDocument withSense(SenseDocument sense)