|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springjutsu.validation.rules.ValidationTemplateReference
public class ValidationTemplateReference
A java representation of an XML template-ref Template references will be unwrapped into rule sets during initialization of the ValidationRulesContainer in order to save on processing time down the road.
| Field Summary | |
|---|---|
protected String |
basePath
The base path representing the object to be validated by the template. |
protected List<String> |
formConstraints
A list of form mappings, if provided, the rule will only execute when the specified form(s) is/are loaded. |
protected String |
templateName
The name of the validation template to reference. |
| Constructor Summary | |
|---|---|
ValidationTemplateReference(String basePath,
String templateName)
Default constructor. |
|
| Method Summary | |
|---|---|
String |
getBasePath()
|
List<String> |
getFormConstraints()
|
String |
getTemplateName()
|
void |
setBasePath(String basePath)
|
void |
setFormConstraints(List<String> formConstraints)
|
void |
setTemplateName(String templateName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String basePath
protected String templateName
protected List<String> formConstraints
| Constructor Detail |
|---|
public ValidationTemplateReference(String basePath,
String templateName)
basePath - The Base path.templateName - The template name referenced.| Method Detail |
|---|
public String getBasePath()
public void setBasePath(String basePath)
basePath - the basePath to setpublic String getTemplateName()
public void setTemplateName(String templateName)
templateName - the templateName to setpublic List<String> getFormConstraints()
public void setFormConstraints(List<String> formConstraints)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||