Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.dto.league;
  
  
  public class LeagueEntry extends OriannaDto {
      private static final long serialVersionUID = -1460752030523463013L;
      private String divisionplayerOrTeamIdplayerOrTeamName;
      private Integer leaguePointslosseswins;
     private MiniSeries miniSeries;
 
     /*
      * (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 LeagueEntry)) {
             return false;
         }
         final LeagueEntry other = (LeagueEntry)obj;
         if( == null) {
             if(other.division != null) {
                 return false;
             }
         }
         else if(!.equals(other.division)) {
             return false;
         }
         if( == null) {
             if(other.isFreshBlood != null) {
                 return false;
             }
         }
         else if(!.equals(other.isFreshBlood)) {
             return false;
         }
         if( == null) {
             if(other.isHotStreak != null) {
                 return false;
             }
         }
         else if(!.equals(other.isHotStreak)) {
             return false;
         }
         if( == null) {
             if(other.isInactive != null) {
                 return false;
             }
         }
         else if(!.equals(other.isInactive)) {
             return false;
         }
         if( == null) {
             if(other.isVeteran != null) {
                 return false;
             }
         }
         else if(!.equals(other.isVeteran)) {
             return false;
         }
         if( == null) {
             if(other.leaguePoints != null) {
                 return false;
             }
         }
         else if(!.equals(other.leaguePoints)) {
             return false;
         }
         if( == null) {
             if(other.losses != null) {
                 return false;
             }
         }
         else if(!.equals(other.losses)) {
             return false;
         }
         if( == null) {
             if(other.miniSeries != null) {
                 return false;
             }
         }
         else if(!.equals(other.miniSeries)) {
             return false;
         }
         if( == null) {
             if(other.playerOrTeamId != null) {
                 return false;
             }
         }
         else if(!.equals(other.playerOrTeamId)) {
             return false;
         }
        if( == null) {
            if(other.playerOrTeamName != null) {
                return false;
            }
        }
        else if(!.equals(other.playerOrTeamName)) {
            return false;
        }
        if( == null) {
            if(other.wins != null) {
                return false;
            }
        }
        else if(!.equals(other.wins)) {
            return false;
        }
        return true;
    }

    

Returns:
the division
    public String getDivision() {
        return ;
    }

    

Returns:
the isFreshBlood
    public Boolean getIsFreshBlood() {
        return ;
    }

    

Returns:
the isHotStreak
    public Boolean getIsHotStreak() {
        return ;
    }

    

Returns:
the isInactive
    public Boolean getIsInactive() {
        return ;
    }

    

Returns:
the isVeteran
    public Boolean getIsVeteran() {
        return ;
    }

    

Returns:
the leaguePoints
    public Integer getLeaguePoints() {
        return ;
    }

    

Returns:
the losses
    public Integer getLosses() {
        return ;
    }

    

Returns:
the miniSeries
    public MiniSeries getMiniSeries() {
        return ;
    }

    

Returns:
the playerOrTeamId
    public String getPlayerOrTeamId() {
        return ;
    }

    

Returns:
the playerOrTeamName
    public String getPlayerOrTeamName() {
        return ;
    }

    

Returns:
the wins
    public Integer getWins() {
        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());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        return result;
    }

    

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

    

Parameters:
isFreshBlood the isFreshBlood to set
    public void setIsFreshBlood(final Boolean isFreshBlood) {
        this. = isFreshBlood;
    }

    

Parameters:
isHotStreak the isHotStreak to set
    public void setIsHotStreak(final Boolean isHotStreak) {
        this. = isHotStreak;
    }

    

Parameters:
isInactive the isInactive to set
    public void setIsInactive(final Boolean isInactive) {
        this. = isInactive;
    }

    

Parameters:
isVeteran the isVeteran to set
    public void setIsVeteran(final Boolean isVeteran) {
        this. = isVeteran;
    }

    

Parameters:
leaguePoints the leaguePoints to set
    public void setLeaguePoints(final Integer leaguePoints) {
        this. = leaguePoints;
    }

    

Parameters:
losses the losses to set
    public void setLosses(final Integer losses) {
        this. = losses;
    }

    

Parameters:
miniSeries the miniSeries to set
    public void setMiniSeries(final MiniSeries miniSeries) {
        this. = miniSeries;
    }

    

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

    

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

    

Parameters:
wins the wins to set
    public void setWins(final Integer wins) {
        this. = wins;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "LeagueEntry [division=" +  + ", playerOrTeamId=" +  + ", playerOrTeamName=" +  + ", isFreshBlood="
                +  + ", isHotStreak=" +  + ", isInactive=" +  + ", isVeteran=" +  + ", leaguePoints=" + 
                + ", losses=" +  + ", wins=" +  + ", miniSeries=" +  + "]";
    }
New to GrepCode? Check out our FAQ X