|
Oracle Role Manager Java API Reference 10g (10.1.4) E14613-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.iam.rm.server_api.model.Validator
oracle.iam.rm.server_api.model.StringLengthValidator
public class StringLengthValidator
A validator that validates against a string's length.
| Constructor Summary | |
|---|---|
StringLengthValidator(java.lang.String violationMessage, int minLength, int maxLength)Creates a StringLengthValidator. |
|
| Method Summary | |
|---|---|
int |
getMaxLength()Gets the maximum length of the string. |
int |
getMinLength()Gets the minimum length of the string. |
protected boolean |
isValid(java.lang.Object value)Determines whether the provided value is valid according to this validator. |
| Methods inherited from class oracle.iam.rm.server_api.model.Validator |
|---|
getViolationMessage, isRequired, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringLengthValidator(java.lang.String violationMessage,
int minLength,
int maxLength)
StringLengthValidator.
violationMessage - message to use if the validation failsminLength - minimum length of the stringmaxLength - maximum length of the string| Method Detail |
|---|
protected boolean isValid(java.lang.Object value)
ValidatorisValid in class Validatorvalue - value to validatetrue if the value is valid, otherwise .public int getMinLength()
int representing the minimum length of the string.public int getMaxLength()
int representing the maximum length of the string.
|
Oracle Role Manager Java API Reference 10g (10.1.4) E14613-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||