public void run() {
Session session = this.getSession();
Database db = session.getDatabase("", "log.nsf");
try {
DatabaseSchema schema = new DatabaseSchema();
DocumentDefinition eventDef = new DocumentDefinition();
eventDef.setName("Events");
ItemDefinition eventAddinNameDef = new ItemDefinition();
eventAddinNameDef.setName("EventAddinName");
eventAddinNameDef.setType(StringType.class);