Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.dto.match;
  
  
  public class ParticipantFrame extends OriannaDto {
      private static final long serialVersionUID = 3116174959429857810L;
      private Position position;
  
     /*
      * (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 ParticipantFrame)) {
             return false;
         }
         final ParticipantFrame other = (ParticipantFrame)obj;
         if( == null) {
             if(other.currentGold != null) {
                 return false;
             }
         }
         else if(!.equals(other.currentGold)) {
             return false;
         }
         if( == null) {
             if(other.dominionScore != null) {
                 return false;
             }
         }
         else if(!.equals(other.dominionScore)) {
             return false;
         }
         if( == null) {
             if(other.jungleMinionsKilled != null) {
                 return false;
             }
         }
         else if(!.equals(other.jungleMinionsKilled)) {
             return false;
         }
         if( == null) {
             if(other.level != null) {
                 return false;
             }
         }
         else if(!.equals(other.level)) {
             return false;
         }
         if( == null) {
             if(other.minionsKilled != null) {
                 return false;
             }
         }
         else if(!.equals(other.minionsKilled)) {
             return false;
         }
         if( == null) {
             if(other.participantId != null) {
                 return false;
             }
         }
         else if(!.equals(other.participantId)) {
             return false;
         }
         if( == null) {
             if(other.position != null) {
                 return false;
             }
         }
         else if(!.equals(other.position)) {
             return false;
         }
         if( == null) {
             if(other.teamScore != null) {
                 return false;
             }
         }
         else if(!.equals(other.teamScore)) {
             return false;
         }
         if( == null) {
             if(other.totalGold != null) {
                 return false;
             }
         }
         else if(!.equals(other.totalGold)) {
             return false;
         }
         if( == null) {
             if(other.xp != null) {
                return false;
            }
        }
        else if(!.equals(other.xp)) {
            return false;
        }
        return true;
    }

    

Returns:
the currentGold
    public Integer getCurrentGold() {
        return ;
    }

    

Returns:
the dominionScore
    public Integer getDominionScore() {
        return ;
    }

    

Returns:
the jungleMinionsKilled
    public Integer getJungleMinionsKilled() {
        return ;
    }

    

Returns:
the level
    public Integer getLevel() {
        return ;
    }

    

Returns:
the minionsKilled
    public Integer getMinionsKilled() {
        return ;
    }

    

Returns:
the participantId
    public Integer getParticipantId() {
        return ;
    }

    

Returns:
the position
    public Position getPosition() {
        return ;
    }

    

Returns:
the teamScore
    public Integer getTeamScore() {
        return ;
    }

    

Returns:
the totalGold
    public Integer getTotalGold() {
        return ;
    }

    

Returns:
the xp
    public Integer getXp() {
        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());
        return result;
    }

    

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

    

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

    

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

    

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

    

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

    

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

    

Parameters:
position the position to set
    public void setPosition(final Position position) {
        this. = position;
    }

    

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

    

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

    

Parameters:
xp the xp to set
    public void setXp(final Integer xp) {
        this. = xp;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "ParticipantFrame [currentGold=" +  + ", jungleMinionsKilled=" +  + ", level=" +  + ", minionsKilled="
                +  + ", participantId=" +  + ", totalGold=" +  + ", xp=" +  + ", dominionScore=" + 
                + ", teamScore=" +  + ", position=" +  + "]";
    }
New to GrepCode? Check out our FAQ X