protected UserTrackerPath toUnwrappedModel(UserTrackerPath userTrackerPath) { if (userTrackerPath instanceof UserTrackerPathImpl) { return userTrackerPath; } UserTrackerPathImpl userTrackerPathImpl = new UserTrackerPathImpl(); userTrackerPathImpl.setNew(userTrackerPath.isNew()); userTrackerPathImpl.setPrimaryKey(userTrackerPath.getPrimaryKey()); userTrackerPathImpl.setMvccVersion(userTrackerPath.getMvccVersion()); userTrackerPathImpl.setUserTrackerPathId(userTrackerPath.getUserTrackerPathId()); userTrackerPathImpl.setUserTrackerId(userTrackerPath.getUserTrackerId()); userTrackerPathImpl.setPath(userTrackerPath.getPath()); userTrackerPathImpl.setPathDate(userTrackerPath.getPathDate()); return userTrackerPathImpl; }