|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.student.common.ui.client.validator.DataModelValidator
public class DataModelValidator
Constructor Summary | |
---|---|
DataModelValidator()
|
Method Summary | |
---|---|
void |
doValidateString(String s,
QueryPath element,
Metadata meta,
List<ValidationResultInfo> results)
|
DateParser |
getDateParser()
|
protected String |
getValidationMessage(String msgKey)
|
void |
setDateParser(DateParser dateParser)
|
List<ValidationResultInfo> |
validate(DataModel model)
Use to validate the entire DataModel structure against constraints defined in the metadata. |
List<ValidationResultInfo> |
validate(FieldDescriptor fd,
DataModel model)
Use to validated a single field within the data model against constraints defined in the metadata |
List<ValidationResultInfo> |
validateForMetadata(Metadata metadata,
DataModel model)
Use to validate the entire DataModel structure against constraints defined in the metadata for the given metadata |
List<ValidationResultInfo> |
validateNextState(DataModel model)
Use to validate the entire DataModel structure against constraints defined in the metadata for the current state and the "next" state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataModelValidator()
Method Detail |
---|
public DateParser getDateParser()
public void setDateParser(DateParser dateParser)
dateParser
- the dateParser to setpublic List<ValidationResultInfo> validate(DataModel model)
model
-
public List<ValidationResultInfo> validateNextState(DataModel model)
model
-
public List<ValidationResultInfo> validateForMetadata(Metadata metadata, DataModel model)
metadata
- model
-
public List<ValidationResultInfo> validate(FieldDescriptor fd, DataModel model)
fd
- model
-
protected String getValidationMessage(String msgKey)
public void doValidateString(String s, QueryPath element, Metadata meta, List<ValidationResultInfo> results)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |