Extension SDK 9.0.5

oracle.jdeveloper.cm.ds.db
Interface DBObjectValidator

All Known Implementing Classes:
AbstractValidator

public interface DBObjectValidator

A DBObjectValidator is responsible for validating a specific type of DBObject instance.

Since:
9.0.5

Method Summary
 void validateObject(DBObject object)
          Determines whether the specified DBObject is valid.
 void validateObject(DBObject original, DBObject updated)
          Determines whether the specified updated DBObject is valid.
 

Method Detail

validateObject

public void validateObject(DBObject object)
                    throws ValidationException
Determines whether the specified DBObject is valid.

Parameters:
object - the DBObject to validate
Throws:
ValidationException - if the object is not valid.

validateObject

public void validateObject(DBObject original,
                           DBObject updated)
                    throws ValidationException
Determines whether the specified updated DBObject is valid.

Throws:
ValidationException - if the object is not valid.

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.