@Test public final void testGetNoValueSnak() { NoValueSnak o1 = new NoValueSnakImpl(factory.getPropertyIdValue("P42", "foo")); NoValueSnak o2 = factory.getNoValueSnak(factory.getPropertyIdValue("P42", "foo")); assertEquals(o1, o2); }
@Override public NoValueSnak getNoValueSnak(PropertyIdValue propertyId) { return new NoValueSnakImpl( propertyId.getId(), propertyId.getSiteIri()); }
DataObjectFactoryImpl implements DataObjectFactory { @Override public NoValueSnak getNoValueSnak(PropertyIdValue propertyId) { return new NoValueSnakImpl( propertyId.getId(), propertyId.getSiteIri()); } }
DataObjectFactoryImpl implements DataObjectFactory { @Override public NoValueSnak getNoValueSnak(PropertyIdValue propertyId) { return new NoValueSnakImpl( propertyId.getId(), propertyId.getSiteIri()); }  }
DataObjectFactoryImpl implements DataObjectFactory { @Override public NoValueSnak getNoValueSnak(PropertyIdValue propertyId) { return new NoValueSnakImpl( propertyId.getId(), propertyId.getSiteIri()); }  @Override ItemIdValue getItemIdValue(String id, String siteIri); @Override PropertyIdValue getPropertyIdValue(String id, String siteIri); @Override LexemeIdValue getLexemeIdValue(String id, String siteIri); @Override FormIdValue getFormIdValue(String id, String siteIri); @Override SenseIdValue getSenseIdValue(String id, String siteIri); @Override MediaInfoIdValue getMediaInfoIdValue(String id, String siteIri); @Override DatatypeIdValue getDatatypeIdValue(String id); @Override TimeValue getTimeValue(long year, byte month, byte day, byte hour,
			byte minute, byte second, byte precision, int beforeTolerance,
			int afterTolerance, int timezoneOffset, String calendarModel); @Override GlobeCoordinatesValue getGlobeCoordinatesValue(double latitude,
			double longitude, double precision, String globeIri); @Override StringValue getStringValue(String string); @Override MonolingualTextValue getMonolingualTextValue(String text,
			String languageCode); @Override QuantityValue getQuantityValue(BigDecimal numericValue); @Override QuantityValue getQuantityValue(BigDecimal numericValue,
			BigDecimal lowerBound, BigDecimal upperBound); @Override QuantityValue getQuantityValue(BigDecimal numericValue, String unit); @Override QuantityValue getQuantityValue(BigDecimal numericValue,
			BigDecimal lowerBound, BigDecimal upperBound, String unit); @Override ValueSnak getValueSnak(PropertyIdValue propertyId, Value value); @Override SomeValueSnak getSomeValueSnak(PropertyIdValue propertyId); @Override NoValueSnak getNoValueSnak(PropertyIdValue propertyId); @Override SnakGroup getSnakGroup(List<? extends Snak> snaks); @Override Claim getClaim(EntityIdValue subject, Snak mainSnak,
			List<SnakGroup> qualifiers); @Override Reference getReference(List<SnakGroup> snakGroups); @Override Statement getStatement(Claim claim,
			List<Reference> references, StatementRank rank,
			String statementId); @Override Statement getStatement(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers,
			List<Reference> references, StatementRank rank, String statementId); @Override StatementGroup getStatementGroup(List<Statement> statements); @Override SiteLink getSiteLink(String title, String siteKey,
			List<ItemIdValue> badges); @Override PropertyDocument getPropertyDocument(PropertyIdValue propertyId,
			List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statementGroups, DatatypeIdValue datatypeId,
			long revisionId); @Override ItemDocument getItemDocument(ItemIdValue itemIdValue,
			List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statementGroups,
			Map<String, SiteLink> siteLinks, long revisionId); @Override LexemeDocument getLexemeDocument(LexemeIdValue lexemeIdValue,
			ItemIdValue lexicalCategory,
			ItemIdValue language,
			List<MonolingualTextValue> lemmas,
			List<StatementGroup> statementGroups,
			List<FormDocument> forms,
			List<SenseDocument> senses,
			long revisionId); @Override FormDocument getFormDocument(FormIdValue formIdValue,
			List<MonolingualTextValue> representations,
			List<ItemIdValue> grammaticalFeatures,
			List<StatementGroup> statementGroups,
			long revisionId); @Override SenseDocument getSenseDocument(SenseIdValue senseIdValue,
										List<MonolingualTextValue> glosses,
										List<StatementGroup> statementGroups,
										long revisionId); @Override MediaInfoDocument getMediaInfoDocument(MediaInfoIdValue mediaInfoIdValue,
										List<MonolingualTextValue> labels,
										List<StatementGroup> statementGroups,
										long revisionId); }
DataObjectFactoryImpl implements DataObjectFactory { @Override public NoValueSnak getNoValueSnak(PropertyIdValue propertyId) { return new NoValueSnakImpl( propertyId.getId(), propertyId.getSiteIri()); }  @Override ItemIdValue getItemIdValue(String id, String siteIri); @Override PropertyIdValue getPropertyIdValue(String id, String siteIri); @Override LexemeIdValue getLexemeIdValue(String id, String siteIri); @Override FormIdValue getFormIdValue(String id, String siteIri); @Override SenseIdValue getSenseIdValue(String id, String siteIri); @Override MediaInfoIdValue getMediaInfoIdValue(String id, String siteIri); @Override DatatypeIdValue getDatatypeIdValue(String id); @Override TimeValue getTimeValue(long year, byte month, byte day, byte hour,
			byte minute, byte second, byte precision, int beforeTolerance,
			int afterTolerance, int timezoneOffset, String calendarModel); @Override GlobeCoordinatesValue getGlobeCoordinatesValue(double latitude,
			double longitude, double precision, String globeIri); @Override StringValue getStringValue(String string); @Override MonolingualTextValue getMonolingualTextValue(String text,
			String languageCode); @Override QuantityValue getQuantityValue(BigDecimal numericValue); @Override QuantityValue getQuantityValue(BigDecimal numericValue,
			BigDecimal lowerBound, BigDecimal upperBound); @Override QuantityValue getQuantityValue(BigDecimal numericValue, String unit); @Override QuantityValue getQuantityValue(BigDecimal numericValue,
			BigDecimal lowerBound, BigDecimal upperBound, String unit); @Override ValueSnak getValueSnak(PropertyIdValue propertyId, Value value); @Override SomeValueSnak getSomeValueSnak(PropertyIdValue propertyId); @Override NoValueSnak getNoValueSnak(PropertyIdValue propertyId); @Override SnakGroup getSnakGroup(List<? extends Snak> snaks); @Override Claim getClaim(EntityIdValue subject, Snak mainSnak,
			List<SnakGroup> qualifiers); @Override Reference getReference(List<SnakGroup> snakGroups); @Override Statement getStatement(Claim claim,
			List<Reference> references, StatementRank rank,
			String statementId); @Override Statement getStatement(EntityIdValue subject, Snak mainSnak, List<SnakGroup> qualifiers,
			List<Reference> references, StatementRank rank, String statementId); @Override StatementGroup getStatementGroup(List<Statement> statements); @Override SiteLink getSiteLink(String title, String siteKey,
			List<ItemIdValue> badges); @Override PropertyDocument getPropertyDocument(PropertyIdValue propertyId,
			List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statementGroups, DatatypeIdValue datatypeId,
			long revisionId); @Override ItemDocument getItemDocument(ItemIdValue itemIdValue,
			List<MonolingualTextValue> labels,
			List<MonolingualTextValue> descriptions,
			List<MonolingualTextValue> aliases,
			List<StatementGroup> statementGroups,
			Map<String, SiteLink> siteLinks, long revisionId); @Override LexemeDocument getLexemeDocument(LexemeIdValue lexemeIdValue,
			ItemIdValue lexicalCategory,
			ItemIdValue language,
			List<MonolingualTextValue> lemmas,
			List<StatementGroup> statementGroups,
			List<FormDocument> forms,
			List<SenseDocument> senses,
			long revisionId); @Override FormDocument getFormDocument(FormIdValue formIdValue,
			List<MonolingualTextValue> representations,
			List<ItemIdValue> grammaticalFeatures,
			List<StatementGroup> statementGroups,
			long revisionId); @Override SenseDocument getSenseDocument(SenseIdValue senseIdValue,
										List<MonolingualTextValue> glosses,
										List<StatementGroup> statementGroups,
										long revisionId); @Override MediaInfoDocument getMediaInfoDocument(MediaInfoIdValue mediaInfoIdValue,
										List<MonolingualTextValue> labels,
										List<StatementGroup> statementGroups,
										long revisionId);  }