public static class ValidCharactersConstraintInfo.Builder extends Object implements ValidCharactersConstraintInfc
Constructor and Description |
---|
ValidCharactersConstraintInfo.Builder() |
ValidCharactersConstraintInfo.Builder(ValidCharactersConstraintInfc vcc) |
Modifier and Type | Method and Description |
---|---|
ValidCharactersConstraintInfo |
build() |
Boolean |
getIsApplyClientSide()
If this is true, the constraint should be applied on the client
side when the user interacts with a field - if this constraint
can be interpreted for client side use.
|
String |
getJsValue()
Javascript version of the regex defined in value.
|
String |
getLabelKey()
LabelKey should be a single word key.
|
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.
|
ValidCharactersConstraintInfo.Builder |
setApplyClientSide(Boolean applyClientSide) |
ValidCharactersConstraintInfo.Builder |
setJsValue(String jsValue) |
ValidCharactersConstraintInfo.Builder |
setLabelKey(String labelKey) |
ValidCharactersConstraintInfo.Builder |
setValue(String value) |
public ValidCharactersConstraintInfo.Builder()
public ValidCharactersConstraintInfo.Builder(ValidCharactersConstraintInfc vcc)
public ValidCharactersConstraintInfo build()
public String getJsValue()
ValidCharactersConstraintInfc
getJsValue
in interface ValidCharactersConstraintInfc
public String getValue()
ValidCharactersConstraintInfc
getValue
in interface ValidCharactersConstraintInfc
public ValidCharactersConstraintInfo.Builder setJsValue(String jsValue)
public ValidCharactersConstraintInfo.Builder setValue(String value)
public Boolean getIsApplyClientSide()
BaseConstraintInfc
getIsApplyClientSide
in interface BaseConstraintInfc
public String getLabelKey()
BaseConstraintInfc
getLabelKey
in interface BaseConstraintInfc
public ValidCharactersConstraintInfo.Builder setApplyClientSide(Boolean applyClientSide)
public ValidCharactersConstraintInfo.Builder setLabelKey(String labelKey)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.