Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package fr.nexion.base.punishment;
- import fr.nexion.base.profiles.BaseProfile;
- public class PunishmentProfile {
- private BaseProfile profile;
- public PunishmentProfile(BaseProfile profile) {
- }
- public void load() {
- }
- public BaseProfile getProfile() {
- return this.profile;
- }
- public void setProfile(BaseProfile profile) {
- this.profile = profile;
- }
- public boolean equals(Object o) {
- if (o == this) {
- return true;
- } else if (!(o instanceof PunishmentProfile)) {
- return false;
- } else {
- PunishmentProfile other = (PunishmentProfile)o;
- if (!other.canEqual(this)) {
- return false;
- } else {
- Object this$profile = this.getProfile();
- Object other$profile = other.getProfile();
- if (this$profile == null) {
- if (other$profile != null) {
- return false;
- }
- } else if (!this$profile.equals(other$profile)) {
- return false;
- }
- return true;
- }
- }
- }
- protected boolean canEqual(Object other) {
- return other instanceof PunishmentProfile;
- }
- public int hashCode() {
- int PRIME = true;
- int result = 1;
- Object $profile = this.getProfile();
- int result = result * 59 + ($profile == null ? 43 : $profile.hashCode());
- return result;
- }
- public String toString() {
- return "PunishmentProfile(profile=" + this.getProfile() + ")";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement