PropertySearch.java :  » JBoss » jboss-seam-2.2.0 » org » jboss » seam » wiki » core » search » Java Open Source

Java Open Source » JBoss » jboss seam 2.2.0 
jboss seam 2.2.0 » org » jboss » seam » wiki » core » search » PropertySearch.java
package org.jboss.seam.wiki.core.search;

import org.jboss.seam.wiki.core.search.metamodel.SearchableProperty;

import java.util.Map;
import java.util.HashMap;

/**
 * A value holder for UI binding.
 * <p>
 * Bound to the dynamic search mask user interface and used to transport user input values
 * into the search engine backend.
 *
 * @author Christian Bauer
 */
public class PropertySearch {

    private Map<String, Object> terms = new HashMap<String, Object>();
    private SearchableProperty property;

    public PropertySearch(SearchableProperty property) {
        this.property = property;
    }

    public Map<String, Object> getTerms() {
        return terms;
    }

    public void setTerms(Map<String, Object> terms) {
        this.terms = terms;
    }

    public SearchableProperty getProperty() {
        return property;
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.