|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
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)
Validator
validate
in class Validator
value
- Object
representing the value to validateprotected boolean isValid(java.lang.Object value)
Validator
isValid
in class Validator
value
- value to validatetrue
if the value is valid, otherwise .public Validator[] getValidators()
public boolean isRequired()
Validator
isRequired
in class Validator
true
if this value is required, otherwise .
|
Oracle Role Manager Java API Reference 10g (10.1.4) E12031-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |