Record Class ConditionDirective
java.lang.Object
java.lang.Record
org.aksw.jenax.graphql.sparql.v2.context.ConditionDirective
public record ConditionDirective(String exprStr, List<String> thisVars, List<String> parentVars)
extends Record
Expression by which to filter the parent resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.exprStr()Returns the value of theexprStrrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparentVarsrecord component.thisVars()Returns the value of thethisVarsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConditionDirective
Creates an instance of aConditionDirectiverecord class.- Parameters:
exprStr- the value for theexprStrrecord componentthisVars- the value for thethisVarsrecord componentparentVars- the value for theparentVarsrecord 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). -
exprStr
Returns the value of theexprStrrecord component.- Returns:
- the value of the
exprStrrecord component
-
thisVars
Returns the value of thethisVarsrecord component.- Returns:
- the value of the
thisVarsrecord component
-
parentVars
Returns the value of theparentVarsrecord component.- Returns:
- the value of the
parentVarsrecord component
-