Record Class EvaluationFactory.PromotionScaffold
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.qualification.impl.drools.promotion.EvaluationFactory.PromotionScaffold
- Enclosing interface:
EvaluationFactory
public static record EvaluationFactory.PromotionScaffold(PrimaryKey participantKey, ch.tocco.nice2.optional.qualification.impl.drools.promotion.EvaluationFactory.PromotionScaffold.ContextValues contextValues)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPromotionScaffold(PrimaryKey participantKey, ch.tocco.nice2.optional.qualification.impl.drools.promotion.EvaluationFactory.PromotionScaffold.ContextValues contextValues) Creates an instance of aPromotionScaffoldrecord class. -
Method Summary
Modifier and TypeMethodDescriptionch.tocco.nice2.optional.qualification.impl.drools.promotion.EvaluationFactory.PromotionScaffold.ContextValuesReturns the value of thecontextValuesrecord 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 theparticipantKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PromotionScaffold
public PromotionScaffold(PrimaryKey participantKey, ch.tocco.nice2.optional.qualification.impl.drools.promotion.EvaluationFactory.PromotionScaffold.ContextValues contextValues) Creates an instance of aPromotionScaffoldrecord class.- Parameters:
participantKey- the value for theparticipantKeyrecord componentcontextValues- the value for thecontextValuesrecord 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). -
participantKey
Returns the value of theparticipantKeyrecord component.- Returns:
- the value of the
participantKeyrecord component
-
contextValues
public ch.tocco.nice2.optional.qualification.impl.drools.promotion.EvaluationFactory.PromotionScaffold.ContextValues contextValues()Returns the value of thecontextValuesrecord component.- Returns:
- the value of the
contextValuesrecord component
-