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