protected NotFound toUnwrappedModel(NotFound notFound) {
if (notFound instanceof NotFoundImpl) {
return notFound;
}
NotFoundImpl notFoundImpl = new NotFoundImpl();
notFoundImpl.setNew(notFound.isNew());
notFoundImpl.setPrimaryKey(notFound.getPrimaryKey());
notFoundImpl.setNotFoundId(notFound.getNotFoundId());
notFoundImpl.setCompanyId(notFound.getCompanyId());
notFoundImpl.setGroupId(notFound.getGroupId());
notFoundImpl.setUserId(notFound.getUserId());
notFoundImpl.setCreateDate(notFound.getCreateDate());
notFoundImpl.setClassNameId(notFound.getClassNameId());
notFoundImpl.setKeywords(notFound.getKeywords());
return notFoundImpl;
}