com.ibm.commerce.foundation.server.util.oagis

Class SearchParameters

  • java.lang.Object
    • com.ibm.commerce.foundation.server.util.oagis.SearchParameters
  • All Implemented Interfaces:
    java.lang.Cloneable


    public class SearchParameters
    extends java.lang.Object
    implements java.lang.Cloneable
    Stores the parameters of the XPath search() function.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int AND
      Constant for the logical AND operator.
      static int OR
      Constant for the logical OR operator.
    • Constructor Summary

      Constructors 
      Constructor and Description
      SearchParameters() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object clone()
      Returns a clone of this object.
      int getLogicalOperator()
      Get the logical operator between the search parameters.
      java.util.List getSearchParameters()
      Return the search parameters.
      void setLogicalOperator(int operator)
      Set the logical operator used between the search parameters.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SearchParameters

        public SearchParameters()
    • Method Detail

      • clone

        public java.lang.Object clone()
        Returns a clone of this object. Modifications made to the returned clone do not affect this object.
        Overrides:
        clone in class java.lang.Object
        Returns:
        a clone of this object.
        See Also:
        Cloneable
      • getSearchParameters

        public final java.util.List getSearchParameters()
        Return the search parameters.
        Returns:
        list of the RelationalExpression objects.
      • getLogicalOperator

        public int getLogicalOperator()
        Get the logical operator between the search parameters.
        Returns:
        SearchParameters.AND or SearchParameters.OR
      • setLogicalOperator

        public void setLogicalOperator(int operator)
        Set the logical operator used between the search parameters.
        Parameters:
        operator - The logical operator: SearchParameters.AND or SearchParameters.OR