/** * Constrain a collection valued property by size * * @param propertyName The name of the collection property * @param size The size to use in comparison * * @return The Criterion * * @see SizeExpression */ @SuppressWarnings("UnusedDeclaration") public static Criterion sizeGe(String propertyName, int size) { return new SizeExpression( propertyName, size, "<=" ); }
/** * Constrain a collection valued property by size * * @param propertyName The name of the collection property * @param size The size to use in comparison * * @return The Criterion * * @see SizeExpression */ public static Criterion sizeEq(String propertyName, int size) { return new SizeExpression( propertyName, size, "=" ); }
/** * Constrain a collection valued property by size * * @param propertyName The name of the collection property * @param size The size to use in comparison * * @return The Criterion * * @see SizeExpression */ @SuppressWarnings("UnusedDeclaration") public static Criterion sizeNe(String propertyName, int size) { return new SizeExpression( propertyName, size, "<>" ); }
/** * Constrain a collection valued property by size * * @param propertyName The name of the collection property * @param size The size to use in comparison * * @return The Criterion * * @see SizeExpression */ @SuppressWarnings("UnusedDeclaration") public static Criterion sizeLe(String propertyName, int size) { return new SizeExpression( propertyName, size, ">=" ); }
/** * Constrain a collection valued property by size * * @param propertyName The name of the collection property * @param size The size to use in comparison * * @return The Criterion * * @see SizeExpression */ @SuppressWarnings("UnusedDeclaration") public static Criterion sizeGt(String propertyName, int size) { return new SizeExpression( propertyName, size, "<" ); }
/** * Constrain a collection valued property by size * * @param propertyName The name of the collection property * @param size The size to use in comparison * * @return The Criterion * * @see SizeExpression */ @SuppressWarnings("UnusedDeclaration") public static Criterion sizeLt(String propertyName, int size) { return new SizeExpression( propertyName, size, ">" ); }
/** * Constrain a collection valued property by size */ public static Criterion sizeLe(String propertyName, int size) { return new SizeExpression(propertyName, size, ">="); }
/** * Constrain a collection valued property by size */ public static Criterion sizeNe(String propertyName, int size) { return new SizeExpression(propertyName, size, "<>"); }
/** * Constrain a collection valued property by size */ public static Criterion sizeEq(String propertyName, int size) { return new SizeExpression(propertyName, size, "="); }
/** * Constrain a collection valued property by size */ public static Criterion sizeNe(String propertyName, int size) { return new SizeExpression(propertyName, size, "<>"); }
/** * Constrain a collection valued property by size */ public static Criterion sizeEq(String propertyName, int size) { return new SizeExpression(propertyName, size); }
/** * Constrain a collection valued property by size */ public static Criterion sizeGt(String propertyName, int size) { return new SizeExpression(propertyName, size, "<"); }
/** * Constrain a collection valued property by size */ public static Criterion sizeLt(String propertyName, int size) { return new SizeExpression(propertyName, size, ">"); }
/** * Constrain a collection valued property by size */ public static Criterion sizeLe(String propertyName, int size) { return new SizeExpression(propertyName, size, ">="); }
/** * Constrain a collection valued property by size */ public static Criterion sizeLt(String propertyName, int size) { return new SizeExpression(propertyName, size, ">"); }
/** * Constrain a collection valued property by size */ public static Criterion sizeGe(String propertyName, int size) { return new SizeExpression(propertyName, size, "<="); }
/** * Constrain a collection valued property by size */ public static Criterion sizeEq(String propertyName, int size) { return new SizeExpression(propertyName, size, "="); }
/** * Constrain a collection valued property by size */ public static Criterion sizeGt(String propertyName, int size) { return new SizeExpression(propertyName, size, "<"); }
/** * Constrain a collection valued property by size */ public static Criterion sizeLt(String propertyName, int size) { return new SizeExpression(propertyName, size, ">"); }
/** * Constrain a collection valued property by size */ public static Criterion sizeEq(String propertyName, int size) { return new SizeExpression(propertyName, size, "="); }