001// Generated by delombok at Sun Jul 30 17:21:56 UTC 2023 002package de.cuioss.test.jsf.converter; 003 004import de.cuioss.test.jsf.validator.TestItem; 005 006/** 007 * Extension to {@link TestItem} that contains the the additional field 008 * "stringValue" 009 * 010 * @author Oliver Wolff 011 * @param <T> is the Type of value which will be checked 012 */ 013public class ConverterTestItem<T> extends TestItem<T> { 014 private String stringValue; 015 016 @java.lang.Override 017 @java.lang.SuppressWarnings("all") 018 @lombok.Generated 019 public boolean equals(final java.lang.Object o) { 020 if (o == this) return true; 021 if (!(o instanceof ConverterTestItem)) return false; 022 final ConverterTestItem<?> other = (ConverterTestItem<?>) o; 023 if (!other.canEqual((java.lang.Object) this)) return false; 024 if (!super.equals(o)) return false; 025 final java.lang.Object this$stringValue = this.getStringValue(); 026 final java.lang.Object other$stringValue = other.getStringValue(); 027 if (this$stringValue == null ? other$stringValue != null : !this$stringValue.equals(other$stringValue)) return false; 028 return true; 029 } 030 031 @java.lang.SuppressWarnings("all") 032 @lombok.Generated 033 protected boolean canEqual(final java.lang.Object other) { 034 return other instanceof ConverterTestItem; 035 } 036 037 @java.lang.Override 038 @java.lang.SuppressWarnings("all") 039 @lombok.Generated 040 public int hashCode() { 041 final int PRIME = 59; 042 int result = super.hashCode(); 043 final java.lang.Object $stringValue = this.getStringValue(); 044 result = result * PRIME + ($stringValue == null ? 43 : $stringValue.hashCode()); 045 return result; 046 } 047 048 @java.lang.Override 049 @java.lang.SuppressWarnings("all") 050 @lombok.Generated 051 public java.lang.String toString() { 052 return "ConverterTestItem(super=" + super.toString() + ", stringValue=" + this.getStringValue() + ")"; 053 } 054 055 @java.lang.SuppressWarnings("all") 056 @lombok.Generated 057 public String getStringValue() { 058 return this.stringValue; 059 } 060 061 @java.lang.SuppressWarnings("all") 062 @lombok.Generated 063 public void setStringValue(final String stringValue) { 064 this.stringValue = stringValue; 065 } 066}