net.sf.minuteProject.architecture.validation.model
Class AbstractModelValidator
java.lang.Object
net.sf.minuteProject.architecture.validation.model.AbstractModelValidator
public class AbstractModelValidator
- extends Object
Method Summary |
protected ValidationModelError |
validateMaxLength(String fieldName,
int fieldLength,
int acceptedLength)
|
protected ValidationModelError |
validateMaxLength(String fieldName,
long fieldLength,
long acceptedLength)
|
protected ValidationModelError |
validateMaxLength(String fieldName,
String fieldValue,
int acceptedLength)
|
protected ValidationModelError |
validatePresence(String fieldName,
Object fieldValue,
boolean isTobePresent)
|
protected ValidationModelError |
validatePresence(String fieldName,
String fieldValue,
boolean isTobePresent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractModelValidator
public AbstractModelValidator()
validateMaxLength
protected ValidationModelError validateMaxLength(String fieldName,
String fieldValue,
int acceptedLength)
validateMaxLength
protected ValidationModelError validateMaxLength(String fieldName,
int fieldLength,
int acceptedLength)
validateMaxLength
protected ValidationModelError validateMaxLength(String fieldName,
long fieldLength,
long acceptedLength)
validatePresence
protected ValidationModelError validatePresence(String fieldName,
Object fieldValue,
boolean isTobePresent)
validatePresence
protected ValidationModelError validatePresence(String fieldName,
String fieldValue,
boolean isTobePresent)
Copyright © 2013. All Rights Reserved.