org.kuali.student.r2.common.datadictionary.infc
Interface ValidCharactersConstraintInfc

All Superinterfaces:
BaseConstraintInfc, Constraint, Serializable
All Known Implementing Classes:
ValidCharactersConstraintInfo, ValidCharactersConstraintInfo.Builder

public interface ValidCharactersConstraintInfc
extends BaseConstraintInfc

Constraint that applied a regular expression to check if the characters are valid

Author:
nwright

Method Summary
 String getJsValue()
          Javascript version of the regex defined in value.
 String getValue()
          The Java based regex for valid characters There are two forms: regex:xxxxx and just: xxxx If the 2nd form then it is interpreted as a simple list of valid characters.
 
Methods inherited from interface org.kuali.student.r2.common.datadictionary.infc.BaseConstraintInfc
getIsApplyClientSide, getLabelKey
 

Method Detail

getValue

String getValue()
The Java based regex for valid characters There are two forms: regex:xxxxx and just: xxxx If the 2nd form then it is interpreted as a simple list of valid characters. Note: it is actualy converted to a regular expression by wrapping it in [].


getJsValue

String getJsValue()
Javascript version of the regex defined in value. This does not have to be set if this constraint's key maps to one of the default valid character methods contained in jQuery - (insert that list here). This must be set if there is NO default method that matches the label key and applyClientSide is true. This is completely ignored if applyClientSide is set to false.



Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.