public class FieldExpressionImpl implements FieldExpression
Default implementation of interface FieldExpression
.
interface FieldExpression
public FieldExpressionImpl(@NotNull FieldInfo fieldInfo, @NotNull java.lang.Object value, @NotNull Operator operator, boolean negated)
Default implementation of interface FieldExpression
.
fieldInfo
- Returns field information.value
- Returns value to compare with the field valueoperator
- Returns the enum Operator
used to compare the value
with the field valuenegated
- Whether the expression is negated.interface FieldExpression
@NotNull public FieldInfo getFieldInfo()
Returns field information.
@NotNull public java.lang.Object getValue()
Returns value to compare with the field value
@NotNull public Operator getOperator()
Returns the
enum Operator
used to compare the value
with the field value
enum Operator
,
value
public boolean getNegated()
Whether the expression is negated.
@NotNull public FieldInfo component1()
Returns field information.
@NotNull public java.lang.Object component2()
Returns value to compare with the field value
@NotNull public Operator component3()
Returns the
enum Operator
used to compare the value
with the field value
enum Operator
,
value
public boolean component4()
Whether the expression is negated.
@NotNull public FieldExpressionImpl copy(@NotNull FieldInfo fieldInfo, @NotNull java.lang.Object value, @NotNull Operator operator, boolean negated)
Default implementation of interface FieldExpression
.
interface FieldExpression
@NotNull public java.lang.String toString()
Default implementation of interface FieldExpression
.
interface FieldExpression
public int hashCode()
Default implementation of interface FieldExpression
.
interface FieldExpression
public boolean equals(@Nullable java.lang.Object p)
Default implementation of interface FieldExpression
.
interface FieldExpression