All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.rutledgepaulv.qbuilders.properties.virtual.EquitableProperty Maven / Gradle / Ivy

There is a newer version: 1.6
Show newest version
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);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy