4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
P2EntityAdditionalTrix.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: P2EntityAdditionalTrix.java
5  * Description: Class that represents entity additional attribute trix triple.
6  */
7 
8 /**
9  * @file P2EntityAdditionalTrix.java
10  *
11  * @brief Class that represents entity additional attribute trix triple.
12  */
13 
14 package cz.vutbr.fit.knot.annotations.comet.protocolV2_0.P2Trix;
15 
16 
17 /**
18  * Class that represents entity additional attribute trix triple.
19  *
20  * @brief Class that represents entity additional attribute trix triple.
21  */
22 public class P2EntityAdditionalTrix {
23 
24  /** Uri of entity to which this additional attribute belongs */
25  private String entityUri;
26 
27  /** Name of entity additional attribute */
28  private String entityAttributeName;
29 
30  /** Uri of type of attribute */
31  private String typeUri;
32 
33  /** Value of attribute */
34  private String value;
35 
36  /**
37  * Gets URI of entity to which this additional attribute belongs
38  * @return URI of entity to which this additional attribute belongs
39  */
40  public String getEntityUri(){
41  return entityUri;
42  }
43 
44  /**
45  * Sets URI of entity to which this additional attribute belongs
46  * @param entityUri URI of entity to which this additional attribute belongs
47  */
48  public void setEntityUri(String entityUri){
49  this.entityUri = entityUri;
50  }
51 
52  /**
53  * Gets name of entity additional attribute
54  * @return The name of entity additional attribute
55  */
56  public String getEntityAttributeName() {
57  return entityAttributeName;
58  }
59 
60  /**
61  * Sets name of entity additional attribute
62  * @param entityAttributeName The name of entity additional attribute
63  */
65  this.entityAttributeName = entityAttributeName;
66  }
67 
68  /**
69  * Gets URI of type of attribute
70  * @return Uri of type of attribute
71  */
72  public String getTypeUri(){
73  return typeUri;
74  }
75 
76  /**
77  * Sets Uri of type of attribute
78  * @param typeUri Uri of type of attribute
79  */
80  public void setTypeUri(String typeUri){
81  this.typeUri = typeUri;
82  }
83 
84  /**
85  * Gets value of attribute in String form
86  * @return The value attribute in String form
87  */
88  public String getValue() {
89  return value;
90  }
91 
92  /**
93  * Sets value of attribute in String form
94  * @param value The value of attribute to set
95  */
96  public void setValue(String value) {
97  this.value = value;
98  }
99 
100 }
Class that represents entity additional attribute trix triple.