Record Class ContractFinding
java.lang.Object
java.lang.Record
org.odpi.openmetadata.adapters.connectors.integration.bitol.contractevaluator.ContractFinding
- Record Components:
kind- what sort of finding this issubject- name of the schema object, property or quality rule that was checkedmessage- description of what was found
public record ContractFinding(ContractFinding.Kind kind, String subject, String message)
extends Record
ContractFinding is one result from checking an asset against its contract.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionContractFinding(ContractFinding.Kind kind, String subject, String message) Creates an instance of aContractFindingrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.kind()Returns the value of thekindrecord component.message()Returns the value of themessagerecord component.subject()Returns the value of thesubjectrecord component.toString()Describe the finding in one line.
-
Constructor Details
-
Method Details
-
toString
Describe the finding in one line. -
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). -
kind
Returns the value of thekindrecord component.- Returns:
- the value of the
kindrecord component
-
subject
Returns the value of thesubjectrecord component.- Returns:
- the value of the
subjectrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-