/** * Converts the soap model instance into a normal model instance. * * @param soapModel the soap model instance to convert * @return the normal model instance */ public static Team toModel(TeamSoap soapModel) { if (soapModel == null) { return null; } Team model = new TeamImpl(); model.setMvccVersion(soapModel.getMvccVersion()); model.setTeamId(soapModel.getTeamId()); model.setCompanyId(soapModel.getCompanyId()); model.setUserId(soapModel.getUserId()); model.setUserName(soapModel.getUserName()); model.setCreateDate(soapModel.getCreateDate()); model.setModifiedDate(soapModel.getModifiedDate()); model.setGroupId(soapModel.getGroupId()); model.setName(soapModel.getName()); model.setDescription(soapModel.getDescription()); return model; }