Interface LengthConstraint
- All Superinterfaces:
Constraint,DataTypeConstraint,Serializable
- All Known Implementing Classes:
SimpleConstraint
Constraint that restricts the length of a string to some predefined maximum and/or minimum
- Since:
- 1.1
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionDetermines the maximum size of the fieldDetermines the minimum size of the fieldMethods inherited from interface org.kuali.rice.krad.datadictionary.validation.constraint.DataTypeConstraint
getDataType
-
Method Details
-
getMaxLength
Integer getMaxLength()Determines the maximum size of the fieldThe maximum size is used for data entry, data edit and display purposes.
- Returns:
- Integer specifying maximum length of field
-
getMinLength
Integer getMinLength()Determines the minimum size of the fieldThe minimum size is used for data entry, data edit and display purposes.
- Returns:
- Integer specifying minimum length of field
-