Class Equal

All Implemented Interfaces:
AttributeConstraint, Constraint, Serializable, Cloneable

public class Equal extends Compare
Constraint to check if belonging attribute is equal to a specific value.
Since:
4.0.17
See Also:
  • Constructor Details

    • Equal

      public Equal(@NotNull @NotNull String attributeName, Parameter parameter)
      Creates a new Equal constraint for the attribute specified by given attributeName and parameter.
      Since:
      4.0.17
      See Also:
    • Equal

      public Equal(@NotNull @NotNull String attributeName, Object value)
      Creates a new Equal constraint for the attribute specified by given attributeName and with the given value.
      Since:
      4.0.17
  • Method Details