Record Class ComplianceProfile
java.lang.Object
java.lang.Record
org.j7m.middleware.compliance.api.ComplianceProfile
- Record Components:
id- stable profile idname- display nameframeworks- mapped frameworksrequirements- profile requirementsmappings- implementation mappingscertificationDisclaimer- explicit non-certification disclaimer
public record ComplianceProfile(String id, String name, List<ControlFramework> frameworks, List<ControlRequirement> requirements, List<ControlMapping> mappings, String certificationDisclaimer)
extends Record
Named conservative compliance profile.
-
Constructor Summary
ConstructorsConstructorDescriptionComplianceProfile(String id, String name, List<ControlFramework> frameworks, List<ControlRequirement> requirements, List<ControlMapping> mappings, String certificationDisclaimer) Creates immutable profile values. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecertificationDisclaimerrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theframeworksrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.mappings()Returns the value of themappingsrecord component.name()Returns the value of thenamerecord component.Returns the value of therequirementsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ComplianceProfile
public ComplianceProfile(String id, String name, List<ControlFramework> frameworks, List<ControlRequirement> requirements, List<ControlMapping> mappings, String certificationDisclaimer) Creates immutable profile values.
-
-
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). -
id
-
name
-
frameworks
Returns the value of theframeworksrecord component.- Returns:
- the value of the
frameworksrecord component
-
requirements
Returns the value of therequirementsrecord component.- Returns:
- the value of the
requirementsrecord component
-
mappings
-
certificationDisclaimer
Returns the value of thecertificationDisclaimerrecord component.- Returns:
- the value of the
certificationDisclaimerrecord component
-