ilog.rules.studio.model.search.xom

Class IlrXOMSearchData



  • public class IlrXOMSearchData
    extends IlrSearchData
    The data object for the XOM search engine. It represents a XOM search query.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int UNLIMITED_RESULTS
      Constant that indicates that search results should not be limited.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IlrXOMSearchData(java.lang.String pattern, java.lang.String type, boolean caseSensitive)
      The definition of a parameterized search over the classes in the XOM.
      IlrXOMSearchData(java.lang.String pattern, java.lang.String type, boolean caseSensitive, int maxCount)
      Definition of a parameterized search over the classes in the XOM.
    • Field Detail

      • UNLIMITED_RESULTS

        public static int UNLIMITED_RESULTS
        Constant that indicates that search results should not be limited.
    • Constructor Detail

      • IlrXOMSearchData

        public IlrXOMSearchData(java.lang.String pattern,
                        java.lang.String type,
                        boolean caseSensitive)
        The definition of a parameterized search over the classes in the XOM.
        Parameters:
        pattern - The glob to be used for the search.
        type - The search type. See IlrXOMSearchEngine.XOM_CLASSES_TYPE and IlrXOMSearchEngine.XOM_PACKAGES_TYPE).
        caseSensitive - Set to true for a case sensitive search.
      • IlrXOMSearchData

        public IlrXOMSearchData(java.lang.String pattern,
                        java.lang.String type,
                        boolean caseSensitive,
                        int maxCount)
        Definition of a parameterized search over the classes in the XOM.
        Parameters:
        pattern - The glob to be used for the search.
        type - The type of the search. See IlrXOMSearchEngine.XOM_CLASSES_TYPE and IlrXOMSearchEngine.XOM_PACKAGES_TYPE).
        caseSensitive - Set to true for a case sensitive search.
    • Method Detail

      • getMaxCount

        public int getMaxCount()
        The maximum number of search results to return or UNLIMITED_RESULTS.
        Returns:
        The maximum number of search results to return.
      • getClassName

        public java.lang.String getClassName()
        The regular expression for the class name. This is used for the search.
        Returns:
        The regular expression for the class name.
      • getPackageName

        public java.lang.String getPackageName()
        The regular expression for the package name. This is used for the search.
        Returns:
        The regular expression for the package name.
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class IlrSearchData

© Copyright IBM Corp. 1987, 2017