@Test public void fieldsAreCorrect() { assertEquals(mi1.getEntityId(), mid); assertEquals(mi1.getLabels(), Collections.singletonMap(label.getLanguageCode(), label)); assertEquals(mi1.getStatementGroups(), statementGroups); }
@JsonIgnore @Override public MediaInfoIdValue getEntityId() { return new MediaInfoIdValueImpl(this.entityId, this.siteIri); }
MediaInfoDocumentImpl extends LabeledStatementDocumentImpl implements MediaInfoDocument { @JsonIgnore @Override public MediaInfoIdValue getEntityId() { return new MediaInfoIdValueImpl(this.entityId, this.siteIri); } }
MediaInfoDocumentImpl extends LabeledStatementDocumentImpl implements MediaInfoDocument { @JsonIgnore @Override public MediaInfoIdValue getEntityId() { return new MediaInfoIdValueImpl(this.entityId, this.siteIri); } MediaInfoDocumentImpl(
			MediaInfoIdValue id,
			List<MonolingualTextValue> labels,
			List<StatementGroup> statements,
			long revisionId); @JsonCreator  MediaInfoDocumentImpl(
			@JsonProperty("id") String jsonId,
			@JsonProperty("labels") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> labels,
			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
			@JsonProperty("statements") Map<String, List<StatementImpl.PreStatement>> statements,
			@JsonProperty("lastrevid") long revisionId,
			@JacksonInject("siteIri") String siteIri); protected  MediaInfoDocumentImpl(
			MediaInfoIdValue subject,
			Map<String, MonolingualTextValue> labels,
			Map<String, List<Statement>> claims,
			long revisionId); }
MediaInfoDocumentImpl extends LabeledStatementDocumentImpl implements MediaInfoDocument { @JsonIgnore @Override public MediaInfoIdValue getEntityId() { return new MediaInfoIdValueImpl(this.entityId, this.siteIri); } MediaInfoDocumentImpl(
			MediaInfoIdValue id,
			List<MonolingualTextValue> labels,
			List<StatementGroup> statements,
			long revisionId); @JsonCreator  MediaInfoDocumentImpl(
			@JsonProperty("id") String jsonId,
			@JsonProperty("labels") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> labels,
			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
			@JsonProperty("statements") Map<String, List<StatementImpl.PreStatement>> statements,
			@JsonProperty("lastrevid") long revisionId,
			@JacksonInject("siteIri") String siteIri); protected  MediaInfoDocumentImpl(
			MediaInfoIdValue subject,
			Map<String, MonolingualTextValue> labels,
			Map<String, List<Statement>> claims,
			long revisionId); @JsonIgnore @Override MediaInfoIdValue getEntityId(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override MediaInfoDocument withRevisionId(long newRevisionId); @Override MediaInfoDocument withLabel(MonolingualTextValue newLabel); @Override MediaInfoDocument withStatement(Statement statement); @Override MediaInfoDocument withoutStatementIds(Set<String> statementIds); }
MediaInfoDocumentImpl extends LabeledStatementDocumentImpl implements MediaInfoDocument { @JsonIgnore @Override public MediaInfoIdValue getEntityId() { return new MediaInfoIdValueImpl(this.entityId, this.siteIri); } MediaInfoDocumentImpl(
			MediaInfoIdValue id,
			List<MonolingualTextValue> labels,
			List<StatementGroup> statements,
			long revisionId); @JsonCreator  MediaInfoDocumentImpl(
			@JsonProperty("id") String jsonId,
			@JsonProperty("labels") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> labels,
			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
			@JsonProperty("statements") Map<String, List<StatementImpl.PreStatement>> statements,
			@JsonProperty("lastrevid") long revisionId,
			@JacksonInject("siteIri") String siteIri); protected  MediaInfoDocumentImpl(
			MediaInfoIdValue subject,
			Map<String, MonolingualTextValue> labels,
			Map<String, List<Statement>> claims,
			long revisionId); @JsonIgnore @Override MediaInfoIdValue getEntityId(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override MediaInfoDocument withRevisionId(long newRevisionId); @Override MediaInfoDocument withLabel(MonolingualTextValue newLabel); @Override MediaInfoDocument withStatement(Statement statement); @Override MediaInfoDocument withoutStatementIds(Set<String> statementIds);  }