Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.core.staticdata;
  
  import java.util.List;
  
 
     private static final long serialVersionUID = 2135519499374549702L;
     private List<Blockblocks;

    

Parameters:
data the underlying dto
 
     public RecommendedItems(final com.robrua.orianna.type.dto.staticdata.Recommended data) {
         super(datacom.robrua.orianna.type.dto.staticdata.Recommended.class);
     }

    
Blocks

Returns:
blocks
 
     public List<BlockgetBlocks() {
         if( == null) {
              = new ArrayList<>();
             for(final com.robrua.orianna.type.dto.staticdata.Block block : .getBlocks()) {
                 .add(new Block(block));
             }
         }
 
         return Collections.unmodifiableList();
     }

    
Champion

Returns:
champion
 
     public String getChampionName() {
         return super.getString(.getChampion());
     }

    
Map

Returns:
map
 
     public GameMap getMap() {
         return GameMap.forID(Long.parseLong(super.getString(.getMap())));
     }

    
Mode

Returns:
mode
 
     public GameMode getMode() {
         return GameMode.valueOf(super.getString(.getMode()));
     }

    
Priority

Returns:
priority
 
     public boolean getPriority() {
         return super.getBoolean(.getPriority());
     }

    
Title

Returns:
title
 
     public String getTitle() {
         return super.getString(.getTitle());
     }

    
Type

Returns:
type
 
     public String getType() {
         return super.getString(.getType());
     }
 
     /*
      * (non-Javadoc)
      * @see java.lang.Object#toString()
      */
     @Override
     public String toString() {
         return "RecommendedItems (" + getChampionName() + " on " + getMap() + " " + getMode() + ")";
    }
New to GrepCode? Check out our FAQ X