LFGlobalObjectiveState lfGlobalObjectiveState) {
if (lfGlobalObjectiveState instanceof LFGlobalObjectiveStateImpl) {
return lfGlobalObjectiveState;
}
LFGlobalObjectiveStateImpl lfGlobalObjectiveStateImpl = new LFGlobalObjectiveStateImpl();
lfGlobalObjectiveStateImpl.setNew(lfGlobalObjectiveState.isNew());
lfGlobalObjectiveStateImpl.setPrimaryKey(lfGlobalObjectiveState.getPrimaryKey());
lfGlobalObjectiveStateImpl.setId(lfGlobalObjectiveState.getId());
lfGlobalObjectiveStateImpl.setSatisfied(lfGlobalObjectiveState.getSatisfied());
lfGlobalObjectiveStateImpl.setNormalizedMeasure(lfGlobalObjectiveState.getNormalizedMeasure());
lfGlobalObjectiveStateImpl.setAttemptCompleted(lfGlobalObjectiveState.getAttemptCompleted());
lfGlobalObjectiveStateImpl.setMapKey(lfGlobalObjectiveState.getMapKey());
lfGlobalObjectiveStateImpl.setTreeID(lfGlobalObjectiveState.getTreeID());
return lfGlobalObjectiveStateImpl;
}