|
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.NonNullValidator
public class NonNullValidator
A validator that validates against an object's existence.
| Constructor Summary | |
|---|---|
NonNullValidator(java.lang.String violationMessage)Creates a NonNullValidator. |
|
| Method Summary | |
|---|---|
boolean |
isRequired()Determines whether this value is required. |
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, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NonNullValidator(java.lang.String violationMessage)
NonNullValidator.
violationMessage - message to use if the validation fails| Method Detail |
|---|
protected boolean isValid(java.lang.Object value)
ValidatorisValid in class Validatorvalue - value to validatetrue if the value is valid, otherwise .public boolean isRequired()
ValidatorisRequired in class Validatortrue if this value is required, otherwise .
|
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 | |||||||||