4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
AltLinkedAttribute.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: AltLinkedAttribute.java
5  * Description: Class representing attribute of type AnnotationLink for purpose of alternative
6  */
7 package cz.vutbr.fit.knot.annotations.modules.suggestionManager.alternative;
8 
10 import javax.persistence.Transient;
11 
12 /**
13  * @file AltLinkedAttribute.java
14  *
15  * @brief Class representing attribute of type AnnotationLink for purpose of alternative
16  */
17 
18 /**
19  * Class representing attribute of type AnnotationLink for purpose of alternative
20  *
21  * @brief Class representing attribute of type AnnotationLink for purpose of alternative
22  */
24 
25  /** Temporary id for links between alternatives */
26  @Transient
27  private String tmpId = null;
28 
29  /**
30  * Constructor
31  */
32  public AltLinkedAttribute() {
33  }
34 
35  /**
36  * Constructor
37  *
38  * @param sba Instance of base attribute
39  */
41  super(sba);
42  }
43 
44  /**
45  * Gets tmpId of suggestion
46  *
47  * @return Returns tmpId of suggestion
48  */
49  public String getTmpId() {
50  return this.tmpId;
51  }
52 
53  /**
54  * Sets tmpId of suggestion
55  *
56  * @param tmpId New tmpId of suggestion.
57  */
58  public void setTmpId(String tmpId) {
59  this.tmpId = tmpId;
60  }
61 } // public class AltLinkedAttribute
Class representing attribute of type AnnotationLink for purpose of alternative.