Content Manager OnDemand V8.5 WEK APIs

com.ibm.edms.od
Class ODNamedQueryCriteria

java.lang.Object
  extended by com.ibm.edms.od.ODNamedQueryCriteria
All Implemented Interfaces:
java.io.Serializable

public class ODNamedQueryCriteria
extends java.lang.Object
implements java.io.Serializable

A class representing the criteria of an OnDemand Named Query. This class contains search criteria details that are stored in a Named Query.


WARNING:
It is required that access to all ODWEK objects only be done in a single threaded environment.

(c) Copyright IBM Corp. 1993, 2003. All Rights Reserved

See Also:
Serialized Form

Method Summary
 java.lang.String getName()
          Get the criteria name.
 int getOperator()
          Get the search operand.
 java.lang.String[] getSearchValues()
          Get the search values specified for this criteria.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getOperator

public int getOperator()
Get the search operand. All of the operand types are represented in ODConstant.

Returns:
int The current search operand.
See Also:
ODConstant.OPEqual, ODConstant.OPNotEqual, ODConstant.OPLessThan, ODConstant.OPLessThanEqual, ODConstant.OPGreaterThan, ODConstant.OPGreaterThanEqual, ODConstant.OPIn, ODConstant.OPNotIn, ODConstant.OPLike, ODConstant.OPNotLike, ODConstant.OPBetween, ODConstant.OPNotBetween

getSearchValues

public java.lang.String[] getSearchValues()
Get the search values specified for this criteria.

Returns:
Array containing current set of search values.
The array will contain multiple values for the between and not between search operators, otherwise for all other Search Operators, a single value will be displayed with ' ' specified for the 2nd value.

getName

public java.lang.String getName()
Get the criteria name.

Returns:
String the criteria name.

CM OnDemand V8.5 WEK Java APIs

(c)Copyright International Business Machines Corporation 2001, 2013. IBM Corp. All rights reserved.