Package com.sap.cds.services.impl.draft
Record Class DraftScenarioAnalyzer.AnalysisResult
java.lang.Object
java.lang.Record
com.sap.cds.services.impl.draft.DraftScenarioAnalyzer.AnalysisResult
- Enclosing class:
- DraftScenarioAnalyzer
public static record DraftScenarioAnalyzer.AnalysisResult(DraftScenarioAnalyzer.Scenario scenario, com.sap.cds.ql.cqn.CqnPredicate predicate, com.sap.cds.ql.cqn.CqnStructuredTypeRef ref)
extends Record
-
Constructor Summary
ConstructorDescriptionAnalysisResult
(DraftScenarioAnalyzer.Scenario scenario, com.sap.cds.ql.cqn.CqnPredicate predicate, com.sap.cds.ql.cqn.CqnStructuredTypeRef ref) Creates an instance of aAnalysisResult
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.com.sap.cds.ql.cqn.CqnPredicate
Returns the value of thepredicate
record component.com.sap.cds.ql.cqn.CqnStructuredTypeRef
ref()
Returns the value of theref
record component.scenario()
Returns the value of thescenario
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AnalysisResult
public AnalysisResult(DraftScenarioAnalyzer.Scenario scenario, com.sap.cds.ql.cqn.CqnPredicate predicate, com.sap.cds.ql.cqn.CqnStructuredTypeRef ref) Creates an instance of aAnalysisResult
record class.- Parameters:
scenario
- the value for thescenario
record componentpredicate
- the value for thepredicate
record componentref
- the value for theref
record 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)
. -
scenario
Returns the value of thescenario
record component.- Returns:
- the value of the
scenario
record component
-
predicate
public com.sap.cds.ql.cqn.CqnPredicate predicate()Returns the value of thepredicate
record component.- Returns:
- the value of the
predicate
record component
-
ref
public com.sap.cds.ql.cqn.CqnStructuredTypeRef ref()Returns the value of theref
record component.- Returns:
- the value of the
ref
record component
-