LFObjectiveState lfObjectiveState) {
if (lfObjectiveState instanceof LFObjectiveStateImpl) {
return lfObjectiveState;
}
LFObjectiveStateImpl lfObjectiveStateImpl = new LFObjectiveStateImpl();
lfObjectiveStateImpl.setNew(lfObjectiveState.isNew());
lfObjectiveStateImpl.setPrimaryKey(lfObjectiveState.getPrimaryKey());
lfObjectiveStateImpl.setId(lfObjectiveState.getId());
lfObjectiveStateImpl.setSatisfied(lfObjectiveState.getSatisfied());
lfObjectiveStateImpl.setNormalizedMeasure(lfObjectiveState.getNormalizedMeasure());
lfObjectiveStateImpl.setMapKey(lfObjectiveState.getMapKey());
lfObjectiveStateImpl.setActivityStateID(lfObjectiveState.getActivityStateID());
lfObjectiveStateImpl.setObjectiveID(lfObjectiveState.getObjectiveID());
return lfObjectiveStateImpl;
}