Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.RuntimeCollective.webapps
Class SearchResults  view SearchResults download SearchResults.java

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byjava.util.Vector
              extended bycom.RuntimeCollective.webapps.SearchResults
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable

public class SearchResults
extends java.util.Vector
implements java.io.Serializable

A wrapper for holding a vector of search results.

Version:
$Id: SearchResults.java,v 1.7 2003/09/30 15:13:04 joe Exp $

Nested Class Summary
 
Nested classes inherited from class java.util.AbstractList
 
Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
SearchResults()
           
 
Method Summary
 java.util.List getEntityBeanList()
          FR: No you don't need to specify a type.
 com.RuntimeCollective.webapps.bean.SearchResult getResult(int index)
          Alternative `get' method that returns object as a SearchResult.
static java.util.Collection toFullObjectCollection(SearchResults sr, java.lang.String type)
          Converts a SearchResults into a Collection containing the full objects found in the search.
 java.lang.String toString()
          Returns a string representation of this Vector in the form "[element0, element1, ...
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.util.AbstractCollection
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

SearchResults

public SearchResults()
Method Detail

getResult

public com.RuntimeCollective.webapps.bean.SearchResult getResult(int index)
Alternative `get' method that returns object as a SearchResult.


toString

public java.lang.String toString()
Description copied from class: java.util.Vector
Returns a string representation of this Vector in the form "[element0, element1, ... elementN]".


toFullObjectCollection

public static java.util.Collection toFullObjectCollection(SearchResults sr,
                                                          java.lang.String type)
Converts a SearchResults into a Collection containing the full objects found in the search.


getEntityBeanList

public java.util.List getEntityBeanList()
FR: No you don't need to specify a type.