Record Class LineItemHelper.ReviewContext
- Record Components:
reviewSubStep- the sub step information for current user reviewmyLineItemGroupIds- list of lineItemGroup IDs that the current user is a member of
- Enclosing class:
LineItemHelper
public static record LineItemHelper.ReviewContext(LineItemHelper.ReviewSubStep reviewSubStep, List<Integer> myLineItemGroupIds)
extends Record
Context information for review workflow.
-
Constructor Summary
ConstructorsConstructorDescriptionReviewContext(LineItemHelper.ReviewSubStep reviewSubStep, List<Integer> myLineItemGroupIds) Creates an instance of aReviewContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themyLineItemGroupIdsrecord component.Returns the value of thereviewSubSteprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReviewContext
Creates an instance of aReviewContextrecord class.- Parameters:
reviewSubStep- the value for thereviewSubSteprecord componentmyLineItemGroupIds- the value for themyLineItemGroupIdsrecord 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). -
reviewSubStep
Returns the value of thereviewSubSteprecord component.- Returns:
- the value of the
reviewSubSteprecord component
-
myLineItemGroupIds
Returns the value of themyLineItemGroupIdsrecord component.- Returns:
- the value of the
myLineItemGroupIdsrecord component
-