Record Class ArtCritiqueEngine.CritiqueResult
java.lang.Object
java.lang.Record
org.episteme.social.arts.ArtCritiqueEngine.CritiqueResult
- All Implemented Interfaces:
Serializable
- Enclosing class:
ArtCritiqueEngine
public static record ArtCritiqueEngine.CritiqueResult(String technique, ArtCritiqueEngine.CritiqueVerdict verdict, String explanation)
extends Record
implements Serializable
The result of a technical examination of a specific technique.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCritiqueResult(String technique, ArtCritiqueEngine.CritiqueVerdict verdict, String explanation) Creates an instance of aCritiqueResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theexplanationrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thetechniquerecord component.final StringtoString()Returns a string representation of this record class.verdict()Returns the value of theverdictrecord component.
-
Constructor Details
-
CritiqueResult
public CritiqueResult(String technique, ArtCritiqueEngine.CritiqueVerdict verdict, String explanation) Creates an instance of aCritiqueResultrecord class.- Parameters:
technique- the value for thetechniquerecord componentverdict- the value for theverdictrecord componentexplanation- the value for theexplanationrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
technique
Returns the value of thetechniquerecord component.- Returns:
- the value of the
techniquerecord component
-
verdict
Returns the value of theverdictrecord component.- Returns:
- the value of the
verdictrecord component
-
explanation
Returns the value of theexplanationrecord component.- Returns:
- the value of the
explanationrecord component
-