Record Class PatternConstraintParseResult
java.lang.Object
java.lang.Record
org.drools.model.codegen.execmodel.generator.visitor.pattern.PatternConstraintParseResult
public record PatternConstraintParseResult(String expression, String patternIdentifier, DrlxParseResult drlxParseResult)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPatternConstraintParseResult(String expression, String patternIdentifier, DrlxParseResult drlxParseResult) Creates an instance of aPatternConstraintParseResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedrlxParseResultrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpressionrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thepatternIdentifierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PatternConstraintParseResult
public PatternConstraintParseResult(String expression, String patternIdentifier, DrlxParseResult drlxParseResult) Creates an instance of aPatternConstraintParseResultrecord class.- Parameters:
expression- the value for theexpressionrecord componentpatternIdentifier- the value for thepatternIdentifierrecord componentdrlxParseResult- the value for thedrlxParseResultrecord 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). -
expression
Returns the value of theexpressionrecord component.- Returns:
- the value of the
expressionrecord component
-
patternIdentifier
Returns the value of thepatternIdentifierrecord component.- Returns:
- the value of the
patternIdentifierrecord component
-
drlxParseResult
Returns the value of thedrlxParseResultrecord component.- Returns:
- the value of the
drlxParseResultrecord component
-