Record Class DoctorAdvisory.RecommendedAction
java.lang.Object
java.lang.Record
com.shaft.doctor.model.DoctorAdvisory.RecommendedAction
- Record Components:
title- concise action titleaction- safe action textevidenceIds- submitted evidence referencescited- whether at least one submitted evidence item supports the action
- Enclosing class:
DoctorAdvisory
-
Constructor Summary
ConstructorsConstructorDescriptionRecommendedAction(String title, String action, List<String> evidenceIds, boolean cited) Creates an immutable recommended action. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.booleancited()Returns the value of thecitedrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevidenceIdsrecord component.final inthashCode()Returns a hash code value for this object.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RecommendedAction
-
-
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. -
title
-
action
-
evidenceIds
Returns the value of theevidenceIdsrecord component.- Returns:
- the value of the
evidenceIdsrecord component
-
cited
-