protected LFSequencing toUnwrappedModel(LFSequencing lfSequencing) {
if (lfSequencing instanceof LFSequencingImpl) {
return lfSequencing;
}
LFSequencingImpl lfSequencingImpl = new LFSequencingImpl();
lfSequencingImpl.setNew(lfSequencing.isNew());
lfSequencingImpl.setPrimaryKey(lfSequencing.getPrimaryKey());
lfSequencingImpl.setId(lfSequencing.getId());
lfSequencingImpl.setPackageID(lfSequencing.getPackageID());
lfSequencingImpl.setActivityID(lfSequencing.getActivityID());
lfSequencingImpl.setSharedId(lfSequencing.getSharedId());
lfSequencingImpl.setSharedSequencingIdReference(lfSequencing.getSharedSequencingIdReference());
lfSequencingImpl.setCAttemptObjectiveProgressChild(lfSequencing.isCAttemptObjectiveProgressChild());
lfSequencingImpl.setCAttemptAttemptProgressChild(lfSequencing.isCAttemptAttemptProgressChild());
lfSequencingImpl.setAttemptLimit(lfSequencing.getAttemptLimit());
lfSequencingImpl.setDurationLimitInMilliseconds(lfSequencing.getDurationLimitInMilliseconds());
lfSequencingImpl.setRollupContributionID(lfSequencing.getRollupContributionID());
lfSequencingImpl.setPreventChildrenActivation(lfSequencing.isPreventChildrenActivation());
lfSequencingImpl.setConstrainChoice(lfSequencing.isConstrainChoice());
return lfSequencingImpl;
}