LFPackageScopeRule lfPackageScopeRule) {
if (lfPackageScopeRule instanceof LFPackageScopeRuleImpl) {
return lfPackageScopeRule;
}
LFPackageScopeRuleImpl lfPackageScopeRuleImpl = new LFPackageScopeRuleImpl();
lfPackageScopeRuleImpl.setNew(lfPackageScopeRule.isNew());
lfPackageScopeRuleImpl.setPrimaryKey(lfPackageScopeRule.getPrimaryKey());
lfPackageScopeRuleImpl.setId(lfPackageScopeRule.getId());
lfPackageScopeRuleImpl.setPackageID(lfPackageScopeRule.getPackageID());
lfPackageScopeRuleImpl.setScope(lfPackageScopeRule.getScope());
lfPackageScopeRuleImpl.setScopeID(lfPackageScopeRule.getScopeID());
lfPackageScopeRuleImpl.setVisibility(lfPackageScopeRule.getVisibility());
lfPackageScopeRuleImpl.setIsDefault(lfPackageScopeRule.getIsDefault());
return lfPackageScopeRuleImpl;
}