Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


oracle.iam.rm.server_api.model
Class NonNullValidator

java.lang.Object
  extended by oracle.iam.rm.server_api.model.Validator
      extended by oracle.iam.rm.server_api.model.NonNullValidator

All Implemented Interfaces:
java.io.Serializable

public class NonNullValidator
extends Validator

A validator that validates against an object's existence.

See Also:
Serialized Form

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

NonNullValidator

public NonNullValidator(java.lang.String violationMessage)
Creates a NonNullValidator.
Parameters:
violationMessage - message to use if the validation fails

Method Detail

isValid

protected boolean isValid(java.lang.Object value)
Description copied from class: Validator
Determines whether the provided value is valid according to this validator.
Overrides:
isValid in class Validator
Parameters:
value - value to validate
Returns:
Boolean true if the value is valid, otherwise .

isRequired

public boolean isRequired()
Description copied from class: Validator
Determines whether this value is required.
Overrides:
isRequired in class Validator
Returns:
Boolean true if this value is required, otherwise .

Skip navigation links

Oracle Role Manager Java API Reference
10g (10.1.4)
E14613-01


Copyright © 2008, 2009 Oracle. All Rights Reserved.