Uses of Class
org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
Package
Description
Package for mostly static helper code to work with data objects.
-
Uses of ReferenceBuilder in org.wikidata.wdtk.datamodel.helpers
Modifier and TypeMethodDescriptionprotected ReferenceBuilder
ReferenceBuilder.getThis()
static ReferenceBuilder
ReferenceBuilder.newInstance()
Starts the construction of aReference
.ReferenceBuilder.withNoValue
(PropertyIdValue propertyIdValue) Adds aNoValueSnak
with the given property to the constructed reference.ReferenceBuilder.withPropertyValue
(PropertyIdValue propertyIdValue, Value value) Adds the given property and value to the constructed reference.ReferenceBuilder.withSomeValue
(PropertyIdValue propertyIdValue) Adds aSomeValueSnak
with the given property to the constructed reference.