Record Class AccessibilityChecker.AccessibilityIssue
java.lang.Object
java.lang.Record
org.episteme.social.architecture.AccessibilityChecker.AccessibilityIssue
- All Implemented Interfaces:
Serializable
- Enclosing class:
AccessibilityChecker
public static record AccessibilityChecker.AccessibilityIssue(String element, String requirement, String violation, AccessibilityChecker.Severity severity)
extends Record
implements Serializable
Detail of a specific accessibility non-compliance.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAccessibilityIssue(String element, String requirement, String violation, AccessibilityChecker.Severity severity) Creates an instance of aAccessibilityIssuerecord class. -
Method Summary
Modifier and TypeMethodDescriptionelement()Returns the value of theelementrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of therequirementrecord component.severity()Returns the value of theseverityrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theviolationrecord component.
-
Constructor Details
-
AccessibilityIssue
public AccessibilityIssue(String element, String requirement, String violation, AccessibilityChecker.Severity severity) Creates an instance of aAccessibilityIssuerecord class.- Parameters:
element- the value for theelementrecord componentrequirement- the value for therequirementrecord componentviolation- the value for theviolationrecord componentseverity- the value for theseverityrecord component
-
-
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). -
element
Returns the value of theelementrecord component.- Returns:
- the value of the
elementrecord component
-
requirement
Returns the value of therequirementrecord component.- Returns:
- the value of the
requirementrecord component
-
violation
Returns the value of theviolationrecord component.- Returns:
- the value of the
violationrecord component
-
severity
Returns the value of theseverityrecord component.- Returns:
- the value of the
severityrecord component
-