protected LFConditionRule toUnwrappedModel(LFConditionRule lfConditionRule) {
if (lfConditionRule instanceof LFConditionRuleImpl) {
return lfConditionRule;
}
LFConditionRuleImpl lfConditionRuleImpl = new LFConditionRuleImpl();
lfConditionRuleImpl.setNew(lfConditionRule.isNew());
lfConditionRuleImpl.setPrimaryKey(lfConditionRule.getPrimaryKey());
lfConditionRuleImpl.setId(lfConditionRule.getId());
lfConditionRuleImpl.setSequencingID(lfConditionRule.getSequencingID());
lfConditionRuleImpl.setCombination(lfConditionRule.getCombination());
lfConditionRuleImpl.setRuleType(lfConditionRule.getRuleType());
lfConditionRuleImpl.setAction(lfConditionRule.getAction());
return lfConditionRuleImpl;
}