153154155156157158159
public void storeToDatabase() { List<RPObject> list = new LinkedList<RPObject>(); for (RPObject object : objects.values()) { list.add((RPObject) object.clone()); } DBCommandQueue.get().enqueue(new StoreZoneCommand(this, list)); }