FileDocCategorySizeDatePackage
SearchModelEvent.javaAPI DocExample627Tue Oct 22 21:03:22 BST 2002com.oreilly.javaxp.junit

SearchModelEvent.java

package com.oreilly.javaxp.junit;

import java.util.EventObject;
import java.util.List;

/**
 * @author Eric M. Burke
 * @version $Id: SearchModelEvent.java,v 1.1 2002/10/23 02:03:23 jepc Exp $
 */
public class SearchModelEvent extends EventObject {
    private List searchResult;

    public SearchModelEvent(SearchModel searchModel, List searchResult) {
        super(searchModel);
        this.searchResult = searchResult;
    }

    public SearchModel getSearchModel() {
        return (SearchModel) getSource();
    }

    public List getSearchResult() {
        return this.searchResult;
    }
}