LFCertificateToUser lfCertificateToUser) {
if (lfCertificateToUser instanceof LFCertificateToUserImpl) {
return lfCertificateToUser;
}
LFCertificateToUserImpl lfCertificateToUserImpl = new LFCertificateToUserImpl();
lfCertificateToUserImpl.setNew(lfCertificateToUser.isNew());
lfCertificateToUserImpl.setPrimaryKey(lfCertificateToUser.getPrimaryKey());
lfCertificateToUserImpl.setCertificateID(lfCertificateToUser.getCertificateID());
lfCertificateToUserImpl.setUserID(lfCertificateToUser.getUserID());
lfCertificateToUserImpl.setStatus(lfCertificateToUser.getStatus());
lfCertificateToUserImpl.setAddedToUserDate(lfCertificateToUser.getAddedToUserDate());
return lfCertificateToUserImpl;
}