SHARE
TWEET

Untitled

a guest Jan 24th, 2020 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package fr.nexion.base.punishment;
  2.  
  3. import fr.nexion.base.profiles.BaseProfile;
  4.  
  5. public class PunishmentProfile {
  6.     private BaseProfile profile;
  7.  
  8.     public PunishmentProfile(BaseProfile profile) {
  9.     }
  10.  
  11.     public void load() {
  12.     }
  13.  
  14.     public BaseProfile getProfile() {
  15.         return this.profile;
  16.     }
  17.  
  18.     public void setProfile(BaseProfile profile) {
  19.         this.profile = profile;
  20.     }
  21.  
  22.     public boolean equals(Object o) {
  23.         if (o == this) {
  24.             return true;
  25.         } else if (!(o instanceof PunishmentProfile)) {
  26.             return false;
  27.         } else {
  28.             PunishmentProfile other = (PunishmentProfile)o;
  29.             if (!other.canEqual(this)) {
  30.                 return false;
  31.             } else {
  32.                 Object this$profile = this.getProfile();
  33.                 Object other$profile = other.getProfile();
  34.                 if (this$profile == null) {
  35.                     if (other$profile != null) {
  36.                         return false;
  37.                     }
  38.                 } else if (!this$profile.equals(other$profile)) {
  39.                     return false;
  40.                 }
  41.  
  42.                 return true;
  43.             }
  44.         }
  45.     }
  46.  
  47.     protected boolean canEqual(Object other) {
  48.         return other instanceof PunishmentProfile;
  49.     }
  50.  
  51.     public int hashCode() {
  52.         int PRIME = true;
  53.         int result = 1;
  54.         Object $profile = this.getProfile();
  55.         int result = result * 59 + ($profile == null ? 43 : $profile.hashCode());
  56.         return result;
  57.     }
  58.  
  59.     public String toString() {
  60.         return "PunishmentProfile(profile=" + this.getProfile() + ")";
  61.     }
  62. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top