Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.team;
 
 import java.util.Date;
 
 
    private static final long serialVersionUID = -4891040362567811255L;
    private Summoner summoner;

    

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

    
Date that team member was invited to team

Returns:
date that team member was invited to team
    public Date getInviteDate() {
        return super.getDate(.getInviteDate());
    }

    
Date that team member joined team

Returns:
date that team member joined team
    public Date getJoinDate() {
        return super.getDate(.getJoinDate());
    }

    
The status of the player

Returns:
the status of the player
    public String getStatus() {
        return super.getString(.getStatus());
    }

    
The summoner

Returns:
the summoner
    public Summoner getSummoner() {
        if( != null) {
            return ;
        }
        final Long l = .getPlayerId();
        if(l == null) {
            throw new MissingDataException("Player ID is null.");
        }
         = RiotAPI.getSummonerByID(l.longValue());
        return ;
    }

    
The summoner's ID

Returns:
the summoner's ID
    public long getSummonerID() {
        return super.getLong(.getPlayerId());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "TeamMemberInfo (" + getSummoner() + ")";
    }
New to GrepCode? Check out our FAQ X