Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.dto.staticdata;
  
  import java.util.List;
  
  
  public class MasteryTree extends OriannaDto {
      private static final long serialVersionUID = -7530057902542747774L;
      private List<MasteryTreeListDefenseOffenseUtility;
 
     /*
      * (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 MasteryTree)) {
             return false;
         }
         final MasteryTree other = (MasteryTree)obj;
         if( == null) {
             if(other.Defense != null) {
                 return false;
             }
         }
         else if(!.equals(other.Defense)) {
             return false;
         }
         if( == null) {
             if(other.Offense != null) {
                 return false;
             }
         }
         else if(!.equals(other.Offense)) {
             return false;
         }
         if( == null) {
             if(other.Utility != null) {
                 return false;
             }
         }
         else if(!.equals(other.Utility)) {
             return false;
         }
         return true;
     }

    

Returns:
the defense
 
     public List<MasteryTreeListgetDefense() {
         return ;
     }

    

Returns:
the offense
 
     public List<MasteryTreeListgetOffense() {
         return ;
     }

    

Returns:
the utility
 
     public List<MasteryTreeListgetUtility() {
         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());
         return result;
     }

    

Parameters:
defense the defense to set
 
     public void setDefense(final List<MasteryTreeListdefense) {
          = defense;
     }

    

Parameters:
offense the offense to set
    public void setOffense(final List<MasteryTreeListoffense) {
         = offense;
    }

    

Parameters:
utility the utility to set
    public void setUtility(final List<MasteryTreeListutility) {
         = utility;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "MasteryTree [Defense=" +  + ", Offense=" +  + ", Utility=" +  + "]";
    }
New to GrepCode? Check out our FAQ X