Suggestion.java revision 1185
1185N/A/*
1185N/A * CDDL HEADER START
1185N/A *
1185N/A * The contents of this file are subject to the terms of the
1185N/A * Common Development and Distribution License (the "License").
1185N/A * You may not use this file except in compliance with the License.
1185N/A *
1185N/A * See LICENSE.txt included in this distribution for the specific
1185N/A * language governing permissions and limitations under the License.
1185N/A *
1185N/A * When distributing Covered Code, include this CDDL HEADER in each
1185N/A * file and include the License file at LICENSE.txt.
1185N/A * If applicable, add the following below this CDDL HEADER, with the
1185N/A * fields enclosed by brackets "[]" replaced with your own identifying
1185N/A * information: Portions Copyright [yyyy] [name of copyright owner]
1185N/A *
1185N/A * CDDL HEADER END
1185N/A */
1185N/A/*
1185N/A * Copyright (c) 2011 Jens Elkner.
1185N/A */
1185N/Apackage org.opensolaris.opengrok.web;
1185N/A
1185N/A/**
1185N/A * A simple container for search suggestions.
1185N/A * @author Jens Elkner
1185N/A * @version $Revision$
1185N/A */
1185N/Apublic class Suggestion {
1185N/A
1185N/A /** index name */
1185N/A public String name;
1185N/A /** freetext search suggestions */
1185N/A public String[] freetext;
1185N/A /** references search suggestions */
1185N/A public String[] refs;
1185N/A /** definitions search suggestions */
1185N/A public String[] defs;
1185N/A
1185N/A /**
1185N/A * Create a new suggestion.
1185N/A * @param name index name.
1185N/A */
1185N/A public Suggestion(String name) {
1185N/A this.name = name;
1185N/A }
1185N/A}