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 = -1285569935446443640L;
     private List<StringallyTipsenemyTipstags;
     private Image image;
     private Info info;
     private Passive passive;
     private List<RecommendedItemsrecommended;
     private List<Skinskins;
     private List<ChampionSpellspells;
     private Stats stats;

    

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

    
Ally tips

Returns:
ally tips
 
     public List<StringgetAllyTips() {
         if( == null) {
              = new ArrayList<>();
             .addAll(.getAllytips());
         }
 
         return Collections.unmodifiableList();
     }

    
Blurb

Returns:
blurb
 
     public String getBlurb() {
         return super.getString(.getBlurb());
     }

    
Enemy tips

Returns:
enemy tips
 
     public List<StringgetEnemyTips() {
         if( == null) {
              = new ArrayList<>();
             .addAll(.getEnemytips());
         }
 
         return Collections.unmodifiableList();
     }

    
ID

Returns:
ID
 
     public long getID() {
         return super.getInteger(.getId());
     }

    
Image

Returns:
image
 
     public Image getImage() {
         if( == null) {
              = new Image(.getImage());
         }
 
         return ;
     }

    
Info

Returns:
info
 
     public Info getInfo() {
         if( == null) {
              = new Info(.getInfo());
         }
 
         return ;
    }

    
Key

Returns:
key
    public String getKey() {
        return super.getString(.getKey());
    }

    
Lore

Returns:
lore
    public String getLore() {
        return super.getString(.getLore());
    }

    
Name

Returns:
name
    public String getName() {
        return super.getString(.getName());
    }

    
Partype

Returns:
partype
    public String getPartype() {
        return super.getString(.getPartype());
    }

    
Passive

Returns:
passive
    public Passive getPassive() {
        if( == null) {
             = new Passive(.getPassive());
        }
        return ;
    }

    
Recommended items

Returns:
recommended items
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.staticdata.Recommended rec : .getRecommended()) {
                .add(new RecommendedItems(rec));
            }
        }
        return Collections.unmodifiableList();
    }

    
Skins

Returns:
skins
    public List<SkingetSkins() {
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.staticdata.Skin skin : .getSkins()) {
                .add(new Skin(skin));
            }
        }
        return Collections.unmodifiableList();
    }

    
Spells

Returns:
spells
    public List<ChampionSpellgetSpells() {
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.staticdata.ChampionSpell spell : .getSpells()) {
                .add(new ChampionSpell(spell));
            }
        }
        return Collections.unmodifiableList();
    }

    
Stats

Returns:
stats
    public Stats getStats() {
        if( == null) {
             = new Stats(.getStats());
        }
        return ;
    }

    
Status

Returns:
status
    public ChampionStatus getStatus() {
        return RiotAPI.getChampionStatus(getID());
    }

    
Tags

Returns:
tags
    public List<StringgetTags() {
        if( == null) {
             = new ArrayList<>();
            .addAll(.getTags());
        }
        return Collections.unmodifiableList();
    }

    
Title

Returns:
title
    public String getTitle() {
        return super.getString(.getTitle());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return getName();
    }
New to GrepCode? Check out our FAQ X