Record Class ComplianceSummary
java.lang.Object
java.lang.Record
org.j7m.middleware.examples.regulated.ComplianceSummary
- Record Components:
profile- profile nameevidenceItems- evidence item countcertificationClaim- whether certification is claimedlimitations- safe limitation summary
-
Constructor Summary
ConstructorsConstructorDescriptionComplianceSummary(String profile, int evidenceItems, boolean certificationClaim, String limitations) Creates a compliance summary. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecertificationClaimrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theevidenceItemsrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelimitationsrecord component.profile()Returns the value of theprofilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ComplianceSummary
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
profile
-
evidenceItems
public int evidenceItems()Returns the value of theevidenceItemsrecord component.- Returns:
- the value of the
evidenceItemsrecord component
-
certificationClaim
public boolean certificationClaim()Returns the value of thecertificationClaimrecord component.- Returns:
- the value of the
certificationClaimrecord component
-
limitations
Returns the value of thelimitationsrecord component.- Returns:
- the value of the
limitationsrecord component
-