|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.validator.Validator
com.ibm.tws.objects.model.validator.ModelValidator
This is a base class for all model validators, and includes common methods that can be used by different subclasses.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
protected |
ModelValidator(java.util.Locale locale)
Creates a new ModelValidator, using the specified locale for error messages. |
Method Summary | |
---|---|
protected void |
checkResolutionData(ResolutionData resolutionData)
Checks rules related to resolution data. |
protected void |
checkTimeRestrictions(java.lang.String objectName,
TimeRestrictions timeRestrictions)
Checks rules related to time restrictions. |
Methods inherited from class com.ibm.tws.objects.validator.Validator |
---|
checkAlphabetic, checkAlphaNumeric, checkComparison, checkComparison, checkComparison, checkConstraint, checkConstraint, checkFilter, checkInstanceOf, checkInternetAddress, checkLength, checkListFilter, checkNotAllowedChars, checkNotAllowedStart, checkNotNull, checkNotNull, checkNotNull, checkNotNull, checkNotNull, checkNumeric, checkRange, checkRange, checkRange, checkStartWithAlphabetic, checkStartWithAlphaNumeric, checkStartWithNumeric, checkValue, checkValue, checkValue, getLength, getLocale, getLocalizedField, getLocalizedValue, getObjectName, setObjectName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
protected ModelValidator(java.util.Locale locale)
locale
- The locale requested for error messages.Method Detail |
protected void checkResolutionData(ResolutionData resolutionData) throws ValidatorException
resolutionData
- The resolution data to be validated.
ValidatorException
- A rule has been violated.protected void checkTimeRestrictions(java.lang.String objectName, TimeRestrictions timeRestrictions) throws ValidatorException
objectName
- The name of the object that is being validated.timeRestrictions
- The time restrictions to be validated.
ValidatorException
- A rule has been violated.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |