Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.javatools.db
Class DBObjectFilter.IDFilter<T extends DBObject>

java.lang.Object
  extended by oracle.javatools.db.DBObjectFilter.IDFilter<T>
All Implemented Interfaces:
DBObjectFilter<T>
Enclosing interface:
DBObjectFilter<T extends DBObject>

public static class DBObjectFilter.IDFilter<T extends DBObject>
extends java.lang.Object
implements DBObjectFilter<T>

DBObjectFilter implementation that accepts objects with a given ID, optionally performing a strict comparison.


Nested Class Summary
 
Nested classes/interfaces inherited from interface oracle.javatools.db.DBObjectFilter
DBObjectFilter.IDFilter<T extends DBObject>
 
Constructor Summary
DBObjectFilter.IDFilter(DBObjectID id, boolean strict)
          Create a new filter to compare object IDs with the given ID using a strict or unstrict compare.
 
Method Summary
 boolean accept(T obj)
          Returns true if the given DBObject is accepted by the rules of this filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBObjectFilter.IDFilter

public DBObjectFilter.IDFilter(DBObjectID id,
                               boolean strict)
Create a new filter to compare object IDs with the given ID using a strict or unstrict compare.

Parameters:
id - the master ID we will compare with
strict - whether to perform a strict comparison.
Method Detail

accept

public boolean accept(T obj)
Description copied from interface: DBObjectFilter
Returns true if the given DBObject is accepted by the rules of this filter.

Specified by:
accept in interface DBObjectFilter<T extends DBObject>

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

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