Record Class RiskAcceptance
java.lang.Object
java.lang.Record
org.j7m.middleware.compliance.api.RiskAcceptance
- Record Components:
controlId- affected controlacceptedBy- safe approver identityreason- safe reasonexpiresAt- expiration timestamp
-
Constructor Summary
ConstructorsConstructorDescriptionRiskAcceptance(ControlId controlId, String acceptedBy, String reason, Instant expiresAt) Creates normalized immutable values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theacceptedByrecord component.Returns the value of thecontrolIdrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RiskAcceptance
-
-
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). -
controlId
-
acceptedBy
Returns the value of theacceptedByrecord component.- Returns:
- the value of the
acceptedByrecord component
-
reason
-
expiresAt
-