|
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.CompositeValidator
public class CompositeValidator
A validator that can contain other validators.
| Constructor Summary | |
|---|---|
CompositeValidator(Validator[] validators)Creates a CompositeValidator. |
|
| Method Summary | |
|---|---|
Validator[] |
getValidators()Gets the validators that constitute this composite validator. |
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. |
java.lang.String |
validate(java.lang.Object value)Validates the value based on the constraint represented by this validator. |
| Methods inherited from class oracle.iam.rm.server_api.model.Validator |
|---|
getViolationMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeValidator(Validator[] validators)
CompositeValidator.
validators - array of validators that constitute this composite validator.| Method Detail |
|---|
public java.lang.String validate(java.lang.Object value)
Validatorvalidate in class Validatorvalue - Object representing the value to validateprotected boolean isValid(java.lang.Object value)
ValidatorisValid in class Validatorvalue - value to validatetrue if the value is valid, otherwise .public Validator[] getValidators()
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 | |||||||||