public static class IntegerConstraint.Constraint
extends java.lang.Object
IntegerConstraint
.Constructor and Description |
---|
IntegerConstraint.Constraint(java.lang.Class<?> type,
java.lang.String propertyName,
IntegerConstraint ann) |
IntegerConstraint.Constraint(java.lang.Class<?> type,
java.lang.String propertyName,
long min,
long max,
long[] allowed,
long[] disallowed) |
public IntegerConstraint.Constraint(java.lang.Class<?> type, java.lang.String propertyName, IntegerConstraint ann)
type
- type of object that contains the constrained propertypropertyName
- name of property with constraintann
- specific annotation that binds to this constraint classpublic IntegerConstraint.Constraint(java.lang.Class<?> type, java.lang.String propertyName, long min, long max, long[] allowed, long[] disallowed)
type
- type of object that contains the constrained propertypropertyName
- name of property with constraintmin
- minimum allowed valuemax
- maximum allowed valueallowed
- optional set of allowed valuesdisallowed
- optional set of disallowed valuesCopyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.