Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.core.team;
  
  import java.util.Date;
  import java.util.List;
  
 
 public class Team extends OriannaObject<com.robrua.orianna.type.dto.team.Team> {
     private static final long serialVersionUID = -6729037169787253289L;
     private Roster roster;
     private List<TeamStatDetailstatDetails;

    

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

    
Date that team was created

Returns:
date that team was created
 
     public Date getCreateDate() {
         return super.getDate(.getCreateDate());
     }

    
The team ID

Returns:
the team ID
 
     public String getID() {
         return super.getString(.getFullId());
     }

    
Date that last game played by team ended

Returns:
date that last game played by team ended
 
     public Date getLastGameDate() {
         return super.getDate(.getLastGameDate());
     }

    
Date that last member joined

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

    
Date that team last joined the ranked team queue

Returns:
date that team last joined the ranked team queue
 
     public Date getLastQueueDate() {
         return super.getDate(.getLastJoinedRankedTeamQueueDate());
     }

    
The team's league entries

Returns:
the team's league entries
 
     public List<LeaguegetLeagueEntries() {
         return RiotAPI.getLeagueEntriesByTeamID(getID());
     }

    
The team's leagues

Returns:
the team's leagues
 
     public List<LeaguegetLeagues() {
         return RiotAPI.getLeaguesByTeamID(getID());
     }

    
The match history

Returns:
the match history
 
     public List<MatchHistorySummarygetMatchHistory() {
         if( == null) {
              = new ArrayList<>();
             for(final com.robrua.orianna.type.dto.team.MatchHistorySummary match : .getMatchHistory()) {
                 .add(new MatchHistorySummary(match));
             }
        }
        return Collections.unmodifiableList();
    }

    
Date that team was last modified

Returns:
date that team was last modified
    public Date getModifyDate() {
        return super.getDate(.getModifyDate());
    }

    
The team name

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

    
The roster

Returns:
the roster
    public Roster getRoster() {
        if( == null) {
             = new Roster(.getRoster());
        }
        return ;
    }

    
Date that second to last member joined

Returns:
date that second to last member joined
    public Date getSecondLastJoinDate() {
        return super.getDate(.getSecondLastJoinDate());
    }

    
The team stat details

Returns:
the team stat details
    public List<TeamStatDetailgetStatDetails() {
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.team.TeamStatDetail d : .getTeamStatDetails()) {
                .add(new TeamStatDetail(d));
            }
        }
        return Collections.unmodifiableList();
    }

    
The status

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

    
The team tag

Returns:
the team tag
    public String getTag() {
        return super.getString(.getTag());
    }

    
Date that third to last member joined

Returns:
date that third to last member joined
    public Date getThirdLastJoinDate() {
        return super.getDate(.getThirdLastJoinDate());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return getName();
    }
New to GrepCode? Check out our FAQ X