Object Translator

com.informix.ormapper
Class OPredicate

java.lang.Object
  |
  +--com.informix.ormapper.OPredicate

public class OPredicate
extends java.lang.Object

External: This class provides helper methods to construct predicate strings for collection objects.


Constructor Summary
OPredicate()
           
 
Method Summary
 void addAndClause(java.lang.String clause)
          Adds an AND clause to the predicate.
 void addOrClause(java.lang.String clause)
          Adds an OR clause to the predicate.
 java.lang.String toString()
          Converts the predicate to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OPredicate

public OPredicate()
Method Detail

addAndClause

public void addAndClause(java.lang.String clause)
Adds an AND clause to the predicate.
Parameters:
clause - an AND clause string.

addOrClause

public void addOrClause(java.lang.String clause)
Adds an OR clause to the predicate.
Parameters:
clause - an OR clause string.

toString

public java.lang.String toString()
Converts the predicate to a string.
Overrides:
toString in class java.lang.Object
Returns:
the string that represent the predicate.

Object Translator

Copyright © 1999-2000 Informix Software, Inc.