public static ProfileEntry toProfileEntry(final SProfileEntry sProfileEntry) { final ProfileEntryImpl profileEntryImpl = new ProfileEntryImpl(sProfileEntry.getName(), sProfileEntry.getProfileId()); profileEntryImpl.setId(sProfileEntry.getId()); profileEntryImpl.setDescription(sProfileEntry.getDescription()); profileEntryImpl.setIndex(sProfileEntry.getIndex()); profileEntryImpl.setPage(sProfileEntry.getPage()); profileEntryImpl.setParentId(sProfileEntry.getParentId()); profileEntryImpl.setType(sProfileEntry.getType()); profileEntryImpl.setCustom(sProfileEntry.isCustom()); return profileEntryImpl; }
public static ProfileEntry toProfileEntry(final SProfileEntry sProfileEntry) { final ProfileEntryImpl profileEntryImpl = new ProfileEntryImpl(sProfileEntry.getName(), sProfileEntry.getProfileId()); profileEntryImpl.setId(sProfileEntry.getId()); profileEntryImpl.setDescription(sProfileEntry.getDescription()); profileEntryImpl.setIndex(sProfileEntry.getIndex()); profileEntryImpl.setPage(sProfileEntry.getPage()); profileEntryImpl.setParentId(sProfileEntry.getParentId()); profileEntryImpl.setType(sProfileEntry.getType()); profileEntryImpl.setCustom(sProfileEntry.isCustom()); return profileEntryImpl; }