/** * Adds a {@link SomeValueSnak} qualifier with the given property to the * constructed statement. * * @param propertyIdValue * the property of the qualifier * @return builder object to continue construction */ public StatementBuilder withQualifierSomeValue( PropertyIdValue propertyIdValue) { withQualifier(factory.getSomeValueSnak(propertyIdValue)); return getThis(); }
/** * Adds a {@link SomeValueSnak} qualifier with the given property to the * constructed statement. * * @param propertyIdValue * the property of the qualifier * @return builder object to continue construction */ public StatementBuilder withQualifierSomeValue( PropertyIdValue propertyIdValue) { withQualifier(factory.getSomeValueSnak(propertyIdValue)); return getThis(); }
/** * Adds a qualifier with the given property and value to the constructed * statement. * * @param propertyIdValue * the property of the qualifier * @param value * the value of the qualifier * @return builder object to continue construction */ public StatementBuilder withQualifierValue(PropertyIdValue propertyIdValue, Value value) { withQualifier(factory.getValueSnak(propertyIdValue, value)); return getThis(); }
/** * Adds a qualifier with the given property and value to the constructed * statement. * * @param propertyIdValue * the property of the qualifier * @param value * the value of the qualifier * @return builder object to continue construction */ public StatementBuilder withQualifierValue(PropertyIdValue propertyIdValue, Value value) { withQualifier(factory.getValueSnak(propertyIdValue, value)); return getThis(); }
/** * Adds a {@link NoValueSnak} qualifier with the given property to the * constructed statement. * <p> * Note that it might not be meaningful to use {@link NoValueSnak} in a * qualifier. It is usually implicitly assumed that all qualifiers that are * not given have no value for a particular statement. Otherwise one would * need large numbers of {@link NoValueSnak} qualifiers for every statement! * * @param propertyIdValue * the property of the qualifier * @return builder object to continue construction */ public StatementBuilder withQualifierNoValue(PropertyIdValue propertyIdValue) { withQualifier(factory.getNoValueSnak(propertyIdValue)); return getThis(); }
/** * Adds a {@link NoValueSnak} qualifier with the given property to the * constructed statement. * <p> * Note that it might not be meaningful to use {@link NoValueSnak} in a * qualifier. It is usually implicitly assumed that all qualifiers that are * not given have no value for a particular statement. Otherwise one would * need large numbers of {@link NoValueSnak} qualifiers for every statement! * * @param propertyIdValue * the property of the qualifier * @return builder object to continue construction */ public StatementBuilder withQualifierNoValue(PropertyIdValue propertyIdValue) { withQualifier(factory.getNoValueSnak(propertyIdValue)); return getThis(); }