View Javadoc

1   /***
2    * 
3    */
4   package hu.elte.tribus.model;
5   
6   import javax.persistence.Column;
7   import javax.persistence.Entity;
8   import javax.persistence.Id;
9   
10  /***
11   * @author kocka
12   *
13   */
14  @Entity(name="preference")
15  public class Preference {
16  	@Id
17  	@Column(name="id")
18  	private String key;
19  	@Column
20  	private String value;
21  	public String getKey() {
22  		return key;
23  	}
24  	public void setKey(String key) {
25  		this.key = key;
26  	}
27  	public String getValue() {
28  		return value;
29  	}
30  	public void setValue(String value) {
31  		this.value = value;
32  	}
33  }