/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/SnitchingChestBean.java
ViewVC logotype

Contents of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/SnitchingChestBean.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1773 - (show annotations) (download)
Thu Apr 5 12:37:13 2012 UTC (12 years, 1 month ago) by torben
File size: 1013 byte(s)
add persistance to SnitchingChest
1 package dk.thoerup.bukkit.hoeruputils;
2
3
4 import javax.persistence.Entity;
5 import javax.persistence.GeneratedValue;
6 import javax.persistence.Id;
7
8
9
10 @Entity
11 public class SnitchingChestBean {
12 @Id
13 @GeneratedValue
14 int id;
15
16 String owner;
17 String description;
18
19 String world;
20 int x;
21 int y;
22 int z;
23
24
25
26
27 public String getOwner() {
28 return owner;
29 }
30 public void setOwner(String owner) {
31 this.owner = owner;
32 }
33 public String getDescription() {
34 return description;
35 }
36 public void setDescription(String description) {
37 this.description = description;
38 }
39
40 public int getId() {
41 return id;
42 }
43
44 public void setId(int id) {
45 this.id = id;
46 }
47
48 public String getWorld() {
49 return world;
50 }
51
52 public void setWorld(String world) {
53 this.world = world;
54 }
55
56 public int getX() {
57 return x;
58 }
59
60 public void setX(int x) {
61 this.x = x;
62 }
63
64 public int getY() {
65 return y;
66 }
67
68 public void setY(int y) {
69 this.y = y;
70 }
71
72 public int getZ() {
73 return z;
74 }
75
76 public void setZ(int z) {
77 this.z = z;
78 }
79
80
81 }

  ViewVC Help
Powered by ViewVC 1.1.20