Datamodel { public static SenseIdValue makeSenseIdValue(String id, String siteIri) { return factory.getSenseIdValue(id, siteIri); }  static ItemIdValue makeItemIdValue(String id, String siteIri); static ItemIdValue makeWikidataItemIdValue(String id); static PropertyIdValue makePropertyIdValue(String id, String siteIri); static PropertyIdValue makeWikidataPropertyIdValue(String id); static LexemeIdValue makeLexemeIdValue(String id, String siteIri); static LexemeIdValue makeWikidataLexemeIdValue(String id); static FormIdValue makeFormIdValue(String id, String siteIri); static FormIdValue makeWikidataFormIdValue(String id); static SenseIdValue makeSenseIdValue(String id, String siteIri); static SenseIdValue makeWikidataSenseIdValue(String id); static MediaInfoIdValue makeMediaInfoIdValue(String id, String siteIri); static MediaInfoIdValue makeWikimediaCommonsMediaInfoIdValue(String id); static DatatypeIdValue makeDatatypeIdValue(String id); static TimeValue makeTimeValue(long year, byte month, byte day,
			byte hour, byte minute, byte second, byte precision,
			int beforeTolerance, int afterTolerance, int timezoneOffset,
			String calendarModel); static TimeValue makeTimeValue(long year, byte month, byte day,
			byte hour, byte minute, byte second, int timezoneOffset,
			String calendarModel); static TimeValue makeTimeValue(long year, byte month, byte day,
			String calendarModel); static GlobeCoordinatesValue makeGlobeCoordinatesValue(
			double latitude, double longitude, double precision, String globeIri); static StringValue makeStringValue(String string); static MonolingualTextValue makeMonolingualTextValue(String text,
			String languageCode); @Deprecated static QuantityValue makeQuantityValue(BigDecimal numericValue,
			BigDecimal lowerBound, BigDecimal upperBound, String unit); static QuantityValue makeQuantityValue(BigDecimal numericValue,
			BigDecimal lowerBound, BigDecimal upperBound, ItemIdValue unit); @Deprecated static QuantityValue makeQuantityValue(BigDecimal numericValue, String unit); static QuantityValue makeQuantityValue(BigDecimal numericValue, ItemIdValue unit); static QuantityValue makeQuantityValue(BigDecimal numericValue,
			BigDecimal lowerBound, BigDecimal upperBound); static QuantityValue makeQuantityValue(BigDecimal numericValue); static QuantityValue makeQuantityValue(long numericValue,
			long lowerBound, long upperBound); static ValueSnak makeValueSnak(PropertyIdValue propertyId,
			Value value); static SomeValueSnak makeSomeValueSnak(PropertyIdValue propertyId); static NoValueSnak makeNoValueSnak(PropertyIdValue propertyId); static SnakGroup makeSnakGroup(List<? extends Snak> snaks); static Claim makeClaim(EntityIdValue subject, Snak mainSnak,
			List<SnakGroup> qualifiers); static Reference makeReference(List<SnakGroup> snakGroups); static Statement makeStatement(EntityIdValue subject, Snak mainSnak,
										  List<SnakGroup> qualifiers, List<Reference> references,
										  StatementRank rank, String statementId); static Statement makeStatement(Claim claim,
			List<Reference> references, StatementRank rank,
			String statementId); static StatementGroup makeStatementGroup(List<Statement> statements); static SiteLink makeSiteLink(String title, String siteKey,
			List<ItemIdValue> badges); static SiteLink makeSiteLink(String title, String siteKey); static PropertyDocument makePropertyDocument(PropertyIdValue propertyId, DatatypeIdValue datatypeId); @Deprecated static PropertyDocument makePropertyDocument(
			PropertyIdValue propertyId, List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases, DatatypeIdValue datatypeId); static PropertyDocument makePropertyDocument(
			PropertyIdValue propertyId, List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statementGroups, DatatypeIdValue datatypeId); static PropertyDocument makePropertyDocument(
			PropertyIdValue propertyId, List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statementGroups, DatatypeIdValue datatypeId,
			long revisionId); static ItemDocument makeItemDocument(ItemIdValue itemIdValue); static ItemDocument makeItemDocument(ItemIdValue itemIdValue,
			List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statementGroups,
			Map<String, SiteLink> siteLinks); static ItemDocument makeItemDocument(ItemIdValue itemIdValue,
			List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statementGroups,
			Map<String, SiteLink> siteLinks, long revisionId); static LexemeDocument makeLexemeDocument(LexemeIdValue lexemeIdValue,
			ItemIdValue lexicalCategory, ItemIdValue language, List<MonolingualTextValue> lemmas); static LexemeDocument makeLexemeDocument(LexemeIdValue lexemeIdValue,
			ItemIdValue lexicalCategory,
			ItemIdValue language,
			List<MonolingualTextValue> lemmas,
			List<StatementGroup> statementGroups,
			List<FormDocument> forms,
			List<SenseDocument> senses); static FormDocument makeFormDocument(FormIdValue formIdValue,
			List<MonolingualTextValue> representations,
			List<ItemIdValue> grammaticalFeatures,
			List<StatementGroup> statementGroups); static SenseDocument makeSenseDocument(SenseIdValue senseIdValue,
												List<MonolingualTextValue> glosses,
												List<StatementGroup> statementGroups); static MediaInfoDocument makeMediaInfoDocument(MediaInfoIdValue mediaInfoIdValue); static MediaInfoDocument makeMediaInfoDocument(MediaInfoIdValue mediaInfoIdValue,
												List<MonolingualTextValue> labels,
												List<StatementGroup> statementGroups); static final public String SITE_WIKIDATA; static final public String SITE_WIKIMEDIA_COMMONS; }
@Test public final void testGetSenseId() { SenseIdValue o1 = Datamodel.makeSenseIdValue("L42-S1", "foo"); SenseIdValue o2 = factory.getSenseIdValue("L42-S1", "foo"); assertEquals(o1, o2); }