if(event.isOccupied())
vevent.getProperties().add(new Transp("OPAQUE"));
else
vevent.getProperties().add(new Transp("TRANSPARENT"));
vevent.getProperties().add(new Summary(event.getTitle()));
vevent.getProperties().add(new Created(new DateTime(event.getCreateDate())));
vevent.getProperties().add(new DtStamp(new DateTime(event.getModifyDate())));
vevent.getProperties().add(new LastModified(new DateTime(event.getModifyDate())));
vevent.getProperties().add(new Description(event.getDescription()));
vevent.getProperties().add(new Uid(event.getId().toString() + "@opencustomer"));
vevent.getProperties().add(new XProperty("X-OC-ID",event.getId().toString()));