Package ch.so.agi.mcp.constraint
Record Class ConstraintInteractionAnalysis.ContextResult
java.lang.Object
java.lang.Record
ch.so.agi.mcp.constraint.ConstraintInteractionAnalysis.ContextResult
- Enclosing class:
ConstraintInteractionAnalysis
public static record ConstraintInteractionAnalysis.ContextResult(String contextFqn, ConstraintInteractionAnalysis.Status status, List<String> constraintFqns, List<ConstraintInteractionAnalysis.Gap> unsupported, List<ConstraintInteractionAnalysis.Domain> domains, int examinedStates, Map<String,Object> scalarAssignment, List<String> undefinedAttributes, String reasonCode)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionContextResult(String contextFqn, ConstraintInteractionAnalysis.Status status, List<String> constraintFqns, List<ConstraintInteractionAnalysis.Gap> unsupported, List<ConstraintInteractionAnalysis.Domain> domains, int examinedStates, Map<String, Object> scalarAssignment, List<String> undefinedAttributes, String reasonCode) Creates an instance of aContextResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstraintFqnsrecord component.Returns the value of thecontextFqnrecord component.domains()Returns the value of thedomainsrecord component.final booleanIndicates whether some other object is "equal to" this one.intReturns the value of theexaminedStatesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thereasonCoderecord component.Returns the value of thescalarAssignmentrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theundefinedAttributesrecord component.Returns the value of theunsupportedrecord component.
-
Constructor Details
-
ContextResult
public ContextResult(String contextFqn, ConstraintInteractionAnalysis.Status status, List<String> constraintFqns, List<ConstraintInteractionAnalysis.Gap> unsupported, List<ConstraintInteractionAnalysis.Domain> domains, int examinedStates, Map<String, Object> scalarAssignment, List<String> undefinedAttributes, String reasonCode) Creates an instance of aContextResultrecord class.- Parameters:
contextFqn- the value for thecontextFqnrecord componentstatus- the value for thestatusrecord componentconstraintFqns- the value for theconstraintFqnsrecord componentunsupported- the value for theunsupportedrecord componentdomains- the value for thedomainsrecord componentexaminedStates- the value for theexaminedStatesrecord componentscalarAssignment- the value for thescalarAssignmentrecord componentundefinedAttributes- the value for theundefinedAttributesrecord componentreasonCode- the value for thereasonCoderecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
contextFqn
Returns the value of thecontextFqnrecord component.- Returns:
- the value of the
contextFqnrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
constraintFqns
Returns the value of theconstraintFqnsrecord component.- Returns:
- the value of the
constraintFqnsrecord component
-
unsupported
Returns the value of theunsupportedrecord component.- Returns:
- the value of the
unsupportedrecord component
-
domains
Returns the value of thedomainsrecord component.- Returns:
- the value of the
domainsrecord component
-
examinedStates
public int examinedStates()Returns the value of theexaminedStatesrecord component.- Returns:
- the value of the
examinedStatesrecord component
-
scalarAssignment
Returns the value of thescalarAssignmentrecord component.- Returns:
- the value of the
scalarAssignmentrecord component
-
undefinedAttributes
Returns the value of theundefinedAttributesrecord component.- Returns:
- the value of the
undefinedAttributesrecord component
-
reasonCode
Returns the value of thereasonCoderecord component.- Returns:
- the value of the
reasonCoderecord component
-