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: sid = new SenseIdValueImpl("L42-S1", "http://example.com/entity/")
test_class.modifier: private final
test_class.original_string: private final SenseIdValue sid = new SenseIdValueImpl("L42-S1", "http://example.com/entity/");
test_class.type: SenseIdValue
test_class.var_name: sid
test_class.declarator: s = new StatementImpl("MyId", StatementRank.NORMAL,
  			new SomeValueSnakImpl(new PropertyIdValueImpl("P42", "http://example.com/entity/")),
  			Collections.emptyList(), Collections.emptyList(), sid)
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(), sid);
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: rep = new TermImpl("en", "rep")
test_class.modifier: private final
test_class.original_string: private final MonolingualTextValue rep = new TermImpl("en", "rep");
test_class.type: MonolingualTextValue
test_class.var_name: rep
test_class.declarator: repList = Collections.singletonList(rep)
test_class.modifier: private final
test_class.original_string: private final List<MonolingualTextValue> repList = Collections.singletonList(rep);
test_class.type: List<MonolingualTextValue>
test_class.var_name: repList
test_class.declarator: sd1 = new SenseDocumentImpl(sid, repList, statementGroups, 1234)
test_class.modifier: private final
test_class.original_string: private final SenseDocument sd1 = new SenseDocumentImpl(sid, repList, statementGroups, 1234);
test_class.type: SenseDocument
test_class.var_name: sd1
test_class.declarator: sd2 = new SenseDocumentImpl(sid, repList, statementGroups, 1234)
test_class.modifier: private final
test_class.original_string: private final SenseDocument sd2 = new SenseDocumentImpl(sid, repList, statementGroups, 1234);
test_class.type: SenseDocument
test_class.var_name: sd2
test_class.declarator: JSON_SENSE = "{\"type\":\"sense\",\"id\":\"L42-S1\",\"glosses\":{\"en\":{\"language\":\"en\",\"value\":\"rep\"}},\"claims\":{\"P42\":[{\"rank\":\"normal\",\"id\":\"MyId\",\"mainsnak\":{\"property\":\"P42\",\"snaktype\":\"somevalue\"},\"type\":\"statement\"}]},\"lastrevid\":1234}"
test_class.modifier: private final
test_class.original_string: private final String JSON_SENSE = "{\"type\":\"sense\",\"id\":\"L42-S1\",\"glosses\":{\"en\":{\"language\":\"en\",\"value\":\"rep\"}},\"claims\":{\"P42\":[{\"rank\":\"normal\",\"id\":\"MyId\",\"mainsnak\":{\"property\":\"P42\",\"snaktype\":\"somevalue\"},\"type\":\"statement\"}]},\"lastrevid\":1234}";
test_class.type: String
test_class.var_name: JSON_SENSE
test_class.file: wdtk-datamodel/src/test/java/org/wikidata/wdtk/datamodel/implementation/SenseDocumentImplTest.java
test_class.identifier: SenseDocumentImplTest
test_case.body: @Test
  	public void testAddStatement() {
  		Statement fresh = new StatementImpl("MyFreshId", StatementRank.NORMAL,
  				new SomeValueSnakImpl(new PropertyIdValueImpl("P29", "http://example.com/entity/")),
  				Collections.emptyList(), Collections.emptyList(), sid);
  		Claim claim = fresh.getClaim();
  		assertFalse(sd1.hasStatementValue(
  				claim.getMainSnak().getPropertyId(),
  				claim.getValue()));
  		SenseDocument withStatement = sd1.withStatement(fresh);
  		assertTrue(withStatement.hasStatementValue(
  				claim.getMainSnak().getPropertyId(),
  				claim.getValue()));
  	}
test_case.class_method_signature: SenseDocumentImplTest.testAddStatement()
test_case.full_signature: @Test public void testAddStatement()
test_case.identifier: testAddStatement
test_case.invocations: emptyList emptyList getClaim assertFalse hasStatementValue getPropertyId getMainSnak getValue withStatement assertTrue hasStatementValue getPropertyId getMainSnak getValue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAddStatement()
focal_class.declarator: glosses
focal_class.modifier: private final
focal_class.original_string: private final Map<String,MonolingualTextValue> glosses;
focal_class.type: Map<String,MonolingualTextValue>
focal_class.var_name: glosses
focal_class.file: wdtk-datamodel/src/main/java/org/wikidata/wdtk/datamodel/implementation/SenseDocumentImpl.java
focal_class.identifier: SenseDocumentImpl
focal_class.interfaces: implements SenseDocument
focal_class.class_method_signature: SenseDocumentImpl.SenseDocumentImpl(
  			SenseIdValue id,
  			List<MonolingualTextValue> glosses,
  			List<StatementGroup> statements,
  			long revisionId)
focal_class.full_signature:   SenseDocumentImpl(
  			SenseIdValue id,
  			List<MonolingualTextValue> glosses,
  			List<StatementGroup> statements,
  			long revisionId)
focal_class.identifier: SenseDocumentImpl
focal_class.parameters: (
  			SenseIdValue id,
  			List<MonolingualTextValue> glosses,
  			List<StatementGroup> statements,
  			long revisionId)
focal_class.signature:  SenseDocumentImpl(
  			SenseIdValue id,
  			List<MonolingualTextValue> glosses,
  			List<StatementGroup> statements,
  			long revisionId)
focal_class.class_method_signature: SenseDocumentImpl.SenseDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("glosses") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> glosses,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.full_signature: @JsonCreator  SenseDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("glosses") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> glosses,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.identifier: SenseDocumentImpl
focal_class.modifiers: @JsonCreator
focal_class.parameters: (
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("glosses") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> glosses,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.signature:  SenseDocumentImpl(
  			@JsonProperty("id") String jsonId,
  			@JsonProperty("glosses") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> glosses,
  			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
  			@JsonProperty("lastrevid") long revisionId,
  			@JacksonInject("siteIri") String siteIri)
focal_class.class_method_signature: SenseDocumentImpl.SenseDocumentImpl(
  			SenseIdValue subject,
  			Map<String, MonolingualTextValue> glosses,
  			Map<String, List<Statement>> claims,
  			long revisionId)
focal_class.full_signature: private  SenseDocumentImpl(
  			SenseIdValue subject,
  			Map<String, MonolingualTextValue> glosses,
  			Map<String, List<Statement>> claims,
  			long revisionId)
focal_class.identifier: SenseDocumentImpl
focal_class.modifiers: private
focal_class.parameters: (
  			SenseIdValue subject,
  			Map<String, MonolingualTextValue> glosses,
  			Map<String, List<Statement>> claims,
  			long revisionId)
focal_class.signature:  SenseDocumentImpl(
  			SenseIdValue subject,
  			Map<String, MonolingualTextValue> glosses,
  			Map<String, List<Statement>> claims,
  			long revisionId)
focal_class.class_method_signature: SenseDocumentImpl.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: SenseDocumentImpl.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: SenseDocumentImpl.getEntityId()
focal_class.full_signature: @JsonIgnore @Override public SenseIdValue getEntityId()
focal_class.identifier: getEntityId
focal_class.modifiers: @JsonIgnore @Override public
focal_class.parameters: ()
focal_class.return: SenseIdValue
focal_class.signature: SenseIdValue getEntityId()
focal_class.class_method_signature: SenseDocumentImpl.getType()
focal_class.full_signature: @JsonProperty("type") String getType()
focal_class.identifier: getType
focal_class.modifiers: @JsonProperty("type")
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getType()
focal_class.class_method_signature: SenseDocumentImpl.getGlosses()
focal_class.full_signature: @JsonProperty("glosses") @Override public Map<String, MonolingualTextValue> getGlosses()
focal_class.identifier: getGlosses
focal_class.modifiers: @JsonProperty("glosses") @Override public
focal_class.parameters: ()
focal_class.return: Map<String, MonolingualTextValue>
focal_class.signature: Map<String, MonolingualTextValue> getGlosses()
focal_class.class_method_signature: SenseDocumentImpl.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: SenseDocumentImpl.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: SenseDocumentImpl.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: SenseDocumentImpl.withRevisionId(long newRevisionId)
focal_class.full_signature: @Override public SenseDocument withRevisionId(long newRevisionId)
focal_class.identifier: withRevisionId
focal_class.modifiers: @Override public
focal_class.parameters: (long newRevisionId)
focal_class.return: SenseDocument
focal_class.signature: SenseDocument withRevisionId(long newRevisionId)
focal_class.class_method_signature: SenseDocumentImpl.withGloss(MonolingualTextValue gloss)
focal_class.full_signature: @Override public SenseDocument withGloss(MonolingualTextValue gloss)
focal_class.identifier: withGloss
focal_class.modifiers: @Override public
focal_class.parameters: (MonolingualTextValue gloss)
focal_class.return: SenseDocument
focal_class.signature: SenseDocument withGloss(MonolingualTextValue gloss)
focal_class.class_method_signature: SenseDocumentImpl.withStatement(Statement statement)
focal_class.full_signature: @Override public SenseDocument withStatement(Statement statement)
focal_class.identifier: withStatement
focal_class.modifiers: @Override public
focal_class.parameters: (Statement statement)
focal_class.return: SenseDocument
focal_class.signature: SenseDocument withStatement(Statement statement)
focal_class.class_method_signature: SenseDocumentImpl.withoutStatementIds(Set<String> statementIds)
focal_class.full_signature: @Override public SenseDocument withoutStatementIds(Set<String> statementIds)
focal_class.identifier: withoutStatementIds
focal_class.modifiers: @Override public
focal_class.parameters: (Set<String> statementIds)
focal_class.return: SenseDocument
focal_class.signature: SenseDocument withoutStatementIds(Set<String> statementIds)
focal_class.superclass: extends StatementDocumentImpl
focal_method.body: @Override
  	public SenseDocument withStatement(Statement statement) {
  		return new SenseDocumentImpl(getEntityId(),
  				glosses,
  				addStatementToGroups(statement, claims),
  				revisionId);
  	}
focal_method.class_method_signature: SenseDocumentImpl.withStatement(Statement statement)
focal_method.full_signature: @Override public SenseDocument withStatement(Statement statement)
focal_method.identifier: withStatement
focal_method.invocations: getEntityId addStatementToGroups
focal_method.modifiers: @Override public
focal_method.parameters: (Statement statement)
focal_method.return: SenseDocument
focal_method.signature: SenseDocument withStatement(Statement statement)