LFPackageComment lfPackageComment) {
if (lfPackageComment instanceof LFPackageCommentImpl) {
return lfPackageComment;
}
LFPackageCommentImpl lfPackageCommentImpl = new LFPackageCommentImpl();
lfPackageCommentImpl.setNew(lfPackageComment.isNew());
lfPackageCommentImpl.setPrimaryKey(lfPackageComment.getPrimaryKey());
lfPackageCommentImpl.setId(lfPackageComment.getId());
lfPackageCommentImpl.setSocialPackageID(lfPackageComment.getSocialPackageID());
lfPackageCommentImpl.setAuthorID(lfPackageComment.getAuthorID());
lfPackageCommentImpl.setComment(lfPackageComment.getComment());
lfPackageCommentImpl.setPublishDate(lfPackageComment.getPublishDate());
return lfPackageCommentImpl;
}