public static Guestbook toModel(GuestbookSoap soapModel) {
if (soapModel == null) {
return null;
}
Guestbook model = new GuestbookImpl();
model.setUuid(soapModel.getUuid());
model.setGuestbookId(soapModel.getGuestbookId());
model.setGroupId(soapModel.getGroupId());
model.setCompanyId(soapModel.getCompanyId());
model.setUserId(soapModel.getUserId());
model.setUserName(soapModel.getUserName());
model.setCreateDate(soapModel.getCreateDate());
model.setModifiedDate(soapModel.getModifiedDate());
model.setName(soapModel.getName());
return model;
}