@Test public void testWithRevisionId() { assertEquals(1235L, sd1.withRevisionId(1235L).getRevisionId()); assertEquals(sd1, sd1.withRevisionId(1325L).withRevisionId(sd1.getRevisionId())); }
@Override public SenseDocument withRevisionId(long newRevisionId) { return new SenseDocumentImpl(getEntityId(), glosses, claims, newRevisionId); }
SenseDocumentImpl extends StatementDocumentImpl implements SenseDocument { @Override public SenseDocument withRevisionId(long newRevisionId) { return new SenseDocumentImpl(getEntityId(), glosses, claims, newRevisionId); } }
SenseDocumentImpl extends StatementDocumentImpl implements SenseDocument { @Override public SenseDocument withRevisionId(long newRevisionId) { return new SenseDocumentImpl(getEntityId(), glosses, claims, newRevisionId); } SenseDocumentImpl(
			SenseIdValue id,
			List<MonolingualTextValue> glosses,
			List<StatementGroup> statements,
			long revisionId); @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); private  SenseDocumentImpl(
			SenseIdValue subject,
			Map<String, MonolingualTextValue> glosses,
			Map<String, List<Statement>> claims,
			long revisionId); }
SenseDocumentImpl extends StatementDocumentImpl implements SenseDocument { @Override public SenseDocument withRevisionId(long newRevisionId) { return new SenseDocumentImpl(getEntityId(), glosses, claims, newRevisionId); } SenseDocumentImpl(
			SenseIdValue id,
			List<MonolingualTextValue> glosses,
			List<StatementGroup> statements,
			long revisionId); @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); private  SenseDocumentImpl(
			SenseIdValue subject,
			Map<String, MonolingualTextValue> glosses,
			Map<String, List<Statement>> claims,
			long revisionId); @JsonIgnore @Override SenseIdValue getEntityId(); @JsonProperty("glosses") @Override Map<String, MonolingualTextValue> getGlosses(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override SenseDocument withRevisionId(long newRevisionId); @Override SenseDocument withGloss(MonolingualTextValue gloss); @Override SenseDocument withStatement(Statement statement); @Override SenseDocument withoutStatementIds(Set<String> statementIds); }
SenseDocumentImpl extends StatementDocumentImpl implements SenseDocument { @Override public SenseDocument withRevisionId(long newRevisionId) { return new SenseDocumentImpl(getEntityId(), glosses, claims, newRevisionId); } SenseDocumentImpl(
			SenseIdValue id,
			List<MonolingualTextValue> glosses,
			List<StatementGroup> statements,
			long revisionId); @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); private  SenseDocumentImpl(
			SenseIdValue subject,
			Map<String, MonolingualTextValue> glosses,
			Map<String, List<Statement>> claims,
			long revisionId); @JsonIgnore @Override SenseIdValue getEntityId(); @JsonProperty("glosses") @Override Map<String, MonolingualTextValue> getGlosses(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); @Override SenseDocument withRevisionId(long newRevisionId); @Override SenseDocument withGloss(MonolingualTextValue gloss); @Override SenseDocument withStatement(Statement statement); @Override SenseDocument withoutStatementIds(Set<String> statementIds);  }