package dk.thoerup.bukkit.hoeruputils.chests; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class ChestBean { final static int LOCKED = 1; final static int SNITCHING = 2; @Id @GeneratedValue int id; String owner; String description; String world; int x; int y; int z; boolean doublechest = false; String modifyPlayers; int chestType; public int getChestType() { return chestType; } public void setChestType(int chestType) { this.chestType = chestType; } public String getOwner() { return owner; } public void setOwner(String owner) { this.owner = owner; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getWorld() { return world; } public void setWorld(String world) { this.world = world; } public int getX() { return x; } public void setX(int x) { this.x = x; } public int getY() { return y; } public void setY(int y) { this.y = y; } public int getZ() { return z; } public void setZ(int z) { this.z = z; } public boolean isDoublechest() { return doublechest; } public void setDoublechest(boolean doublechest) { this.doublechest = doublechest; } public String getModifyPlayers() { return modifyPlayers; } public void setModifyPlayers(String modifyPlayers) { this.modifyPlayers = modifyPlayers; } }