Record Class Finding
java.lang.Object
java.lang.Record
com.arc_e_tect.gradle.apionly.transcriberj.model.Finding
- Record Components:
location- the JSON pointer, into the bundled contract, of the schema or object the construct occurs inconstruct- what occurs theretreatment- how generated code treats itdetail- what exactly was found, for a human reading the report
public record Finding(String location, Construct construct, Treatment treatment, String detail)
extends Record
One occurrence of a classified construct.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstructrecord component.detail()Returns the value of thedetailrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.location()Returns the value of thelocationrecord component.remedy()What a specification author can do so the construct is represented in full.final StringtoString()Returns a string representation of this record class.Returns the value of thetreatmentrecord component.
-
Constructor Details
-
Method Details
-
remedy
What a specification author can do so the construct is represented in full.- Returns:
- the remedy, or
nullwhen there is nothing to remedy
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
construct
Returns the value of theconstructrecord component.- Returns:
- the value of the
constructrecord component
-
treatment
Returns the value of thetreatmentrecord component.- Returns:
- the value of the
treatmentrecord component
-
detail
Returns the value of thedetailrecord component.- Returns:
- the value of the
detailrecord component
-