LFCertificateCourse lfCertificateCourse) {
if (lfCertificateCourse instanceof LFCertificateCourseImpl) {
return lfCertificateCourse;
}
LFCertificateCourseImpl lfCertificateCourseImpl = new LFCertificateCourseImpl();
lfCertificateCourseImpl.setNew(lfCertificateCourse.isNew());
lfCertificateCourseImpl.setPrimaryKey(lfCertificateCourse.getPrimaryKey());
lfCertificateCourseImpl.setCertificateID(lfCertificateCourse.getCertificateID());
lfCertificateCourseImpl.setCourseID(lfCertificateCourse.getCourseID());
lfCertificateCourseImpl.setArrangementIndex(lfCertificateCourse.getArrangementIndex());
lfCertificateCourseImpl.setPeriodType(lfCertificateCourse.getPeriodType());
lfCertificateCourseImpl.setPeriod(lfCertificateCourse.getPeriod());
return lfCertificateCourseImpl;
}