com.github.rutledgepaulv.qbuilders.properties.virtual.EquitableProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of q-builders Show documentation
Show all versions of q-builders Show documentation
A type-safe and database agnostic query building library.
package com.github.rutledgepaulv.qbuilders.properties.virtual;
import com.github.rutledgepaulv.qbuilders.builders.QBuilder;
import com.github.rutledgepaulv.qbuilders.conditions.Condition;
/**
* For properties that may or may not be equal.
*
* @param The final type of the builder.
*/
public interface EquitableProperty, S> extends ExistentialProperty {
/**
* Specifies that the value of the field must be equal to the provided value.
* @param value The value that the field must be equal to.
* @return The logically complete condition.
*/
Condition eq(S value);
/**
* Specifies that the value of the field must not be equal to the provided value.
* @param value The value that the field must not be equal to.
* @return The logically complete condition.
*/
Condition ne(S value);
}