1 |
package dk.thoerup.bukkit.hoeruputils.chests; |
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 LockedChestBean { |
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 |
boolean doublechest = false; |
25 |
|
26 |
String modifyPlayers; |
27 |
|
28 |
|
29 |
|
30 |
|
31 |
public String getOwner() { |
32 |
return owner; |
33 |
} |
34 |
public void setOwner(String owner) { |
35 |
this.owner = owner; |
36 |
} |
37 |
public String getDescription() { |
38 |
return description; |
39 |
} |
40 |
public void setDescription(String description) { |
41 |
this.description = description; |
42 |
} |
43 |
|
44 |
public int getId() { |
45 |
return id; |
46 |
} |
47 |
|
48 |
public void setId(int id) { |
49 |
this.id = id; |
50 |
} |
51 |
|
52 |
public String getWorld() { |
53 |
return world; |
54 |
} |
55 |
|
56 |
public void setWorld(String world) { |
57 |
this.world = world; |
58 |
} |
59 |
|
60 |
public int getX() { |
61 |
return x; |
62 |
} |
63 |
|
64 |
public void setX(int x) { |
65 |
this.x = x; |
66 |
} |
67 |
|
68 |
public int getY() { |
69 |
return y; |
70 |
} |
71 |
|
72 |
public void setY(int y) { |
73 |
this.y = y; |
74 |
} |
75 |
|
76 |
public int getZ() { |
77 |
return z; |
78 |
} |
79 |
|
80 |
public void setZ(int z) { |
81 |
this.z = z; |
82 |
} |
83 |
public boolean isDoublechest() { |
84 |
return doublechest; |
85 |
} |
86 |
public void setDoublechest(boolean doublechest) { |
87 |
this.doublechest = doublechest; |
88 |
} |
89 |
|
90 |
public String getModifyPlayers() { |
91 |
return modifyPlayers; |
92 |
} |
93 |
public void setModifyPlayers(String modifyPlayers) { |
94 |
this.modifyPlayers = modifyPlayers; |
95 |
} |
96 |
|
97 |
} |