|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.validator.constraints.impl.SizeValidatorForArraysOfPrimitives
org.hibernate.validator.constraints.impl.SizeValidatorForArraysOfLong
public class SizeValidatorForArraysOfLong
| Field Summary |
|---|
| Fields inherited from class org.hibernate.validator.constraints.impl.SizeValidatorForArraysOfPrimitives |
|---|
max, min |
| Constructor Summary | |
|---|---|
SizeValidatorForArraysOfLong()
|
|
| Method Summary | |
|---|---|
boolean |
isValid(long[] array,
javax.validation.ConstraintValidatorContext constraintValidatorContext)
Checks the number of entries in an array. |
| Methods inherited from class org.hibernate.validator.constraints.impl.SizeValidatorForArraysOfPrimitives |
|---|
initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.validation.ConstraintValidator |
|---|
initialize |
| Constructor Detail |
|---|
public SizeValidatorForArraysOfLong()
| Method Detail |
|---|
public boolean isValid(long[] array,
javax.validation.ConstraintValidatorContext constraintValidatorContext)
isValid in interface javax.validation.ConstraintValidator<javax.validation.constraints.Size,long[]>array - The array to validate.constraintValidatorContext - context in which the constraint is evaluated.
true if the array is null or the number of entries in
array is between the specified min and max values (inclusive),
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||