Uses of Class
org.wikidata.wdtk.datamodel.helpers.ReferenceBuilder
Packages that use ReferenceBuilder
Package
Description
Package for mostly static helper code to work with data objects.
-
Uses of ReferenceBuilder in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return ReferenceBuilderModifier and TypeMethodDescriptionprotected ReferenceBuilderReferenceBuilder.getThis()static ReferenceBuilderReferenceBuilder.newInstance()Starts the construction of aReference.ReferenceBuilder.withNoValue(PropertyIdValue propertyIdValue) Adds aNoValueSnakwith 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 aSomeValueSnakwith the given property to the constructed reference.