Package com.cloudforgeci.api.core.rules
Record Class AuditManagerControl.FrameworkControl
java.lang.Object
java.lang.Record
com.cloudforgeci.api.core.rules.AuditManagerControl.FrameworkControl
- Record Components:
framework- Compliance framework name (SOC2, PCI-DSS, HIPAA, GDPR)controlId- Framework-specific control ID (e.g., "CC6.1", "Req3.4")controlName- Human-readable control name
- Enclosing class:
AuditManagerControl
public static record AuditManagerControl.FrameworkControl(String framework, String controlId, String controlName)
extends Record
Framework-specific control mapping.
-
Constructor Summary
ConstructorsConstructorDescriptionFrameworkControl(String framework, String controlId, String controlName) Creates an instance of aFrameworkControlrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontrolIdrecord component.Returns the value of thecontrolNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theframeworkrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FrameworkControl
Creates an instance of aFrameworkControlrecord class.- Parameters:
framework- the value for theframeworkrecord componentcontrolId- the value for thecontrolIdrecord componentcontrolName- the value for thecontrolNamerecord component
-
-
Method Details
-
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). -
framework
Returns the value of theframeworkrecord component.- Returns:
- the value of the
frameworkrecord component
-
controlId
Returns the value of thecontrolIdrecord component.- Returns:
- the value of the
controlIdrecord component
-
controlName
Returns the value of thecontrolNamerecord component.- Returns:
- the value of the
controlNamerecord component
-