public static Entry toModel(EntrySoap soapModel) {
if (soapModel == null) {
return null;
}
Entry model = new EntryImpl();
model.setUuid(soapModel.getUuid());
model.setEntryId(soapModel.getEntryId());
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());
model.setEmail(soapModel.getEmail());
model.setMessage(soapModel.getMessage());
model.setGuestbookId(soapModel.getGuestbookId());
return model;
}