Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.dto.team;
  
  import java.util.HashSet;
  import java.util.List;
  import java.util.Set;
  
  
  public class Team extends OriannaDto {
     private static final long serialVersionUID = 7937264447395600368L;
     private String fullIdnamestatustag;
     private Roster roster;
     private List<TeamStatDetailteamStatDetails;
 
     /*
      * (non-Javadoc)
      * @see java.lang.Object#equals(java.lang.Object)
      */
     @Override
     public boolean equals(final Object obj) {
         if(this == obj) {
             return true;
         }
         if(obj == null) {
             return false;
         }
         if(!(obj instanceof Team)) {
             return false;
         }
         final Team other = (Team)obj;
         if( == null) {
             if(other.fullId != null) {
                 return false;
             }
         }
         else if(!.equals(other.fullId)) {
             return false;
         }
         return true;
     }

    

Returns:
the createDate
 
     public Long getCreateDate() {
         return ;
     }

    

Returns:
the fullId
 
     public String getFullId() {
         return ;
     }

    

Returns:
the lastGameDate
 
     public Long getLastGameDate() {
         return ;
     }

    

Returns:
the lastJoinDate
 
     public Long getLastJoinDate() {
         return ;
     }

    

Returns:
the lastJoinedRankedTeamQueueDate
 
         return ;
     }

    

Returns:
the matchHistory
 
     public List<MatchHistorySummarygetMatchHistory() {
         return ;
     }

    

Returns:
the modifyDate
 
     public Long getModifyDate() {
         return ;
     }

    

Returns:
the name
 
     public String getName() {
         return ;
     }

    

Returns:
the roster
    public Roster getRoster() {
        return ;
    }

    

Returns:
the secondLastJoinDate
    public Long getSecondLastJoinDate() {
        return ;
    }

    

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

    
Gets all stored summoner IDs for batch lookup

Returns:
the summoner IDs
    public Set<LonggetSummonerIDs() {
        final Set<Longset = new HashSet<>();
        set.add(.getOwnerId());
        for(final TeamMemberInfo member : .getMemberList()) {
            set.add(member.getPlayerId());
        }
        return set;
    }

    

Returns:
the tag
    public String getTag() {
        return ;
    }

    

Returns:
the teamStatDetails
        return ;
    }

    

Returns:
the thirdLastJoinDate
    public Long getThirdLastJoinDate() {
        return ;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ( == null ? 0 : .hashCode());
        return result;
    }

    

Parameters:
createDate the createDate to set
    public void setCreateDate(final Long createDate) {
        this. = createDate;
    }

    

Parameters:
fullId the fullId to set
    public void setFullId(final String fullId) {
        this. = fullId;
    }

    

Parameters:
lastGameDate the lastGameDate to set
    public void setLastGameDate(final Long lastGameDate) {
        this. = lastGameDate;
    }

    

Parameters:
lastJoinDate the lastJoinDate to set
    public void setLastJoinDate(final Long lastJoinDate) {
        this. = lastJoinDate;
    }

    

Parameters:
lastJoinedRankedTeamQueueDate the lastJoinedRankedTeamQueueDate to set
    public void setLastJoinedRankedTeamQueueDate(final Long lastJoinedRankedTeamQueueDate) {
        this. = lastJoinedRankedTeamQueueDate;
    }

    

Parameters:
matchHistory the matchHistory to set
    public void setMatchHistory(final List<MatchHistorySummarymatchHistory) {
        this. = matchHistory;
    }

    

Parameters:
modifyDate the modifyDate to set
    public void setModifyDate(final Long modifyDate) {
        this. = modifyDate;
    }

    

Parameters:
name the name to set
    public void setName(final String name) {
        this. = name;
    }

    

Parameters:
roster the roster to set
    public void setRoster(final Roster roster) {
        this. = roster;
    }

    

Parameters:
secondLastJoinDate the secondLastJoinDate to set
    public void setSecondLastJoinDate(final Long secondLastJoinDate) {
        this. = secondLastJoinDate;
    }

    

Parameters:
status the status to set
    public void setStatus(final String status) {
        this. = status;
    }

    

Parameters:
tag the tag to set
    public void setTag(final String tag) {
        this. = tag;
    }

    

Parameters:
teamStatDetails the teamStatDetails to set
    public void setTeamStatDetails(final List<TeamStatDetailteamStatDetails) {
        this. = teamStatDetails;
    }

    

Parameters:
thirdLastJoinDate the thirdLastJoinDate to set
    public void setThirdLastJoinDate(final Long thirdLastJoinDate) {
        this. = thirdLastJoinDate;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "Team [createDate=" +  + ", lastGameDate=" +  + ", lastJoinDate=" +  + ", lastJoinedRankedTeamQueueDate="
                +  + ", modifyDate=" +  + ", secondLastJoinDate=" +  + ", thirdLastJoinDate="
                +  + ", fullId=" +  + ", name=" +  + ", status=" +  + ", tag=" +  + ", matchHistory=" + 
                + ", roster=" +  + ", teamStatDetails=" +  + "]";
    }
New to GrepCode? Check out our FAQ X