protected LFObjectiveMap toUnwrappedModel(LFObjectiveMap lfObjectiveMap) {
if (lfObjectiveMap instanceof LFObjectiveMapImpl) {
return lfObjectiveMap;
}
LFObjectiveMapImpl lfObjectiveMapImpl = new LFObjectiveMapImpl();
lfObjectiveMapImpl.setNew(lfObjectiveMap.isNew());
lfObjectiveMapImpl.setPrimaryKey(lfObjectiveMap.getPrimaryKey());
lfObjectiveMapImpl.setId(lfObjectiveMap.getId());
lfObjectiveMapImpl.setObjectiveID(lfObjectiveMap.getObjectiveID());
lfObjectiveMapImpl.setReadSatisfiedStatusFrom(lfObjectiveMap.getReadSatisfiedStatusFrom());
lfObjectiveMapImpl.setReadNormalizedMeasureFrom(lfObjectiveMap.getReadNormalizedMeasureFrom());
lfObjectiveMapImpl.setWriteSatisfiedStatusTo(lfObjectiveMap.getWriteSatisfiedStatusTo());
lfObjectiveMapImpl.setWriteNormalizedMeasureTo(lfObjectiveMap.getWriteNormalizedMeasureTo());
lfObjectiveMapImpl.setReadRawScoreFrom(lfObjectiveMap.getReadRawScoreFrom());
lfObjectiveMapImpl.setReadMinScoreFrom(lfObjectiveMap.getReadMinScoreFrom());
lfObjectiveMapImpl.setReadMaxScoreFrom(lfObjectiveMap.getReadMaxScoreFrom());
lfObjectiveMapImpl.setReadCompletionStatusFrom(lfObjectiveMap.getReadCompletionStatusFrom());
lfObjectiveMapImpl.setReadProgressMeasureFrom(lfObjectiveMap.getReadProgressMeasureFrom());
lfObjectiveMapImpl.setWriteRawScoreTo(lfObjectiveMap.getWriteRawScoreTo());
lfObjectiveMapImpl.setWriteMinScoreTo(lfObjectiveMap.getWriteMinScoreTo());
lfObjectiveMapImpl.setWriteMaxScoreTo(lfObjectiveMap.getWriteMaxScoreTo());
lfObjectiveMapImpl.setWriteCompletionStatusTo(lfObjectiveMap.getWriteCompletionStatusTo());
lfObjectiveMapImpl.setWriteProgressMeasureTo(lfObjectiveMap.getWriteProgressMeasureTo());
return lfObjectiveMapImpl;
}