Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.summoner;
 
 import java.util.List;
 
 
    private static final long serialVersionUID = -2950195889947875600L;
    private List<RuneSlotslots;

    

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

    
Indicates if the page is the current page

Returns:
indicates if the page is the current page
    public boolean getCurrent() {
        return super.getBoolean(.getCurrent());
    }

    
Rune page ID

Returns:
rune page ID
    public long getID() {
        return super.getLong(.getId());
    }

    
Rune page name

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

    
Collection of rune slots associated with the rune page

Returns:
collection of rune slots associated with the rune page
    public List<RuneSlotgetSlots() {
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.summoner.RuneSlot slot : .getSlots()) {
                .add(new RuneSlot(slot));
            }
        }
        return Collections.unmodifiableList();
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "RunePage (" + getName() + ")";
    }
New to GrepCode? Check out our FAQ X