4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
SecFragment.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: SecFragment.java
5  * Description: Interface for SuggestionFragment and AlternativeFragment.
6  */
7 
8 /**
9  * @file SecFragment.java
10  *
11  * @brief Interface for SuggestionFragment and AlternativeFragment.
12  */
13 
14 package cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative;
15 
16 
17 /**
18  * Interface for SuggestionFragment and AlternativeFragment.
19  *
20  * @brief Interface for SuggestionFragment and AlternativeFragment.
21  *
22  * @author Marek Kopecký
23  */
24 public interface SecFragment {
25 
26  /**
27  * Gets refSecSuggestion
28  * @return refSecSuggestion
29  */
31 
32  /**
33  * Gets offset
34  * @return offset
35  */
36  public Integer getOffset();
37 
38  /**
39  * Gets length
40  * @return length
41  */
42  public Integer getLength();
43 
44  /**
45  * Gets annotated text
46  * @return annotated text
47  */
48  public String getAnnotatedText();
49 
50  /**
51  * Sets refSecSuggestion
52  * @param value new refSecSuggestion
53  */
54  public void setRefSecSuggestion(SecSuggestion value);
55 
56 } // public interface SecFragment
Interface for SuggestionFragment and AlternativeFragment.