|
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.EnumeratedValueValidator
public class EnumeratedValueValidator
A validator that constrains the possible values to a defined set.
| Nested Class Summary | |
|---|---|
static class |
EnumeratedValueValidator.NameValuePairA key/value pair representing the values supported by the validator. |
| Constructor Summary | |
|---|---|
EnumeratedValueValidator(java.lang.String violationMessage, EnumeratedValueValidator.NameValuePair[] values)Creates an EnumeratedValueValidator. |
|
| Method Summary | |
|---|---|
EnumeratedValueValidator.NameValuePair[] |
getValues()Gets the values that are supported by this validator. |
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 EnumeratedValueValidator(java.lang.String violationMessage,
EnumeratedValueValidator.NameValuePair[] values)
EnumeratedValueValidator.
violationMessage - message to use if the validation failsvalues - values that are supported by this validator| Method Detail |
|---|
protected boolean isValid(java.lang.Object value)
ValidatorisValid in class Validatorvalue - value to validatetrue if the value is valid, otherwise .public EnumeratedValueValidator.NameValuePair[] getValues()
|
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 | |||||||||