@Override public void setModelAttributes(Map<String, Object> attributes) { Long empNotifyEmailId = (Long) attributes.get("empNotifyEmailId"); if (empNotifyEmailId != null) { setEmpNotifyEmailId(empNotifyEmailId); } Long empId = (Long) attributes.get("empId"); if (empId != null) { setEmpId(empId); } String notifyType = (String) attributes.get("notifyType"); if (notifyType != null) { setNotifyType(notifyType); } String status = (String) attributes.get("status"); if (status != null) { setStatus(status); } }
@Override public Object clone() { EmpNotifyEmailClp clone = new EmpNotifyEmailClp(); clone.setEmpNotifyEmailId(getEmpNotifyEmailId()); clone.setEmpId(getEmpId()); clone.setNotifyType(getNotifyType()); clone.setStatus(getStatus()); return clone; }