Package net.cloudcodex.shared.dto.home

Examples of net.cloudcodex.shared.dto.home.CharacterSummaryDTO


      return null;
    }

    final Data.Character character = summary.getCharacter();
   
    final CharacterSummaryDTO dto = new CharacterSummaryDTO();
    dto.setId(character.getKey().getId());
    dto.setCampaign(mapCampaignPublicSummary(summary.getCampaign()));
    dto.setName(character.getName());
    dto.setDescription(character.getDescription());
    dto.setIcon(character.getIcon());
    dto.setNotifications(mapNotification(
        summary.getNotifications(), NotificationType.CHARACTER));
    dto.setCreationDate(character.getDate());
    dto.setDead(character.getDead() == null ? false : character.getDead());
    dto.setLocked(character.getLocked() == null ? false : character.getLocked());
   
    return dto;
  }
View Full Code Here

TOP

Related Classes of net.cloudcodex.shared.dto.home.CharacterSummaryDTO

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.