4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
SecSuggestion.java
Go to the documentation of this file.
1 /*
2  * Project: Server for annotations sharing
3  * Author: Ing. Jaroslav Dytrych idytrych@fit.vutbr.cz
4  * File: SecSuggestion.java
5  * Description: Interface for Suggestion and Alternative.
6  */
7 
8 /**
9  * @file SecSuggestion.java
10  *
11  * @brief Interface for Suggestion and Alternative.
12  */
13 
14 package cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative;
15 
16 import java.util.List;
17 
18 /**
19  * Interface for Suggestion and Alternative.
20  *
21  * @brief Interface for Suggestion and Alternative.
22  *
23  * @author Marek Kopecký
24  */
25 public interface SecSuggestion {
26 
27  /**
28  * Gets list of suggested fragments
29  *
30  * @return Returns list of suggested fragments
31  */
32  public List getFragments();
33 
34  /**
35  * Adds fragment to the list of suggested fragments
36  *
37  * @param fragment Suggested fragment
38  */
39  public void addSecFragment(SecFragment fragment);
40 
41  /**
42  * Sets SEC API Entity Identifier
43  *
44  * @param SAEntityIdentifier SEC API Entity Identifier
45  */
46  public void setSAEntityIdentifier(String SAEntityIdentifier);
47 
48 } // public interface SecSuggestion
Interface for SuggestionFragment and AlternativeFragment.