public static class FloatConstraint.Constraint
extends java.lang.Object
FloatConstraint.| Constructor and Description |
|---|
FloatConstraint.Constraint(java.lang.Class<?> type,
java.lang.String propertyName,
double min,
double max,
double[] allowed,
double[] disallowed) |
FloatConstraint.Constraint(java.lang.Class<?> type,
java.lang.String propertyName,
FloatConstraint ann) |
public FloatConstraint.Constraint(java.lang.Class<?> type,
java.lang.String propertyName,
FloatConstraint ann)
type - type of object that contains the constrained propertypropertyName - name of property with constraintann - specific annotation that binds to this constraint classpublic FloatConstraint.Constraint(java.lang.Class<?> type,
java.lang.String propertyName,
double min,
double max,
double[] allowed,
double[] 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.