ItemDocumentImpl extends TermedStatementDocumentImpl implements ItemDocument { @Override public ItemDocument withRevisionId(long newRevisionId) { return new ItemDocumentImpl(getItemId(), labels, descriptions, aliases, claims, sitelinks, newRevisionId); } ItemDocumentImpl(
			ItemIdValue id,
			List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statements,
			List<SiteLink> siteLinks,
			long revisionId); @JsonCreator  ItemDocumentImpl(
			@JsonProperty("id") String jsonId,
			@JsonProperty("labels") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> labels,
			@JsonProperty("descriptions") @JsonDeserialize(contentAs=TermImpl.class) Map<String, MonolingualTextValue> descriptions,
			@JsonProperty("aliases") @JsonDeserialize(using = AliasesDeserializer.class) Map<String, List<MonolingualTextValue>> aliases,
			@JsonProperty("claims") Map<String, List<StatementImpl.PreStatement>> claims,
			@JsonProperty("sitelinks") Map<String, SiteLink> sitelinks,
			@JsonProperty("lastrevid") long revisionId,
			@JacksonInject("siteIri") String siteIri); protected  ItemDocumentImpl(
			ItemIdValue subject,
			Map<String, MonolingualTextValue> labels,
			Map<String, MonolingualTextValue> descriptions,
			Map<String, List<MonolingualTextValue>> aliases,
			Map<String, List<Statement>> claims, 
			Map<String, SiteLink> siteLinks,
			long revisionId); @JsonIgnore @Override ItemIdValue getItemId(); @JsonIgnore @Override ItemIdValue getEntityId(); @JsonProperty("sitelinks") @Override Map<String, SiteLink> getSiteLinks(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override ItemDocument withRevisionId(long newRevisionId); @Override ItemDocument withLabel(MonolingualTextValue newLabel); @Override ItemDocument withDescription(MonolingualTextValue newDescription); @Override ItemDocument withAliases(String language, List<MonolingualTextValue> aliases); @Override ItemDocument withStatement(Statement statement); @Override ItemDocument withoutStatementIds(Set<String> statementIds);  }
@Test public void testWithRevisionId() { assertEquals(1235L, ir1.withRevisionId(1235L).getRevisionId()); assertEquals(ir1, ir1.withRevisionId(1325L).withRevisionId(ir1.getRevisionId())); }