Record Class FragmentCxt
java.lang.Object
java.lang.Record
org.aksw.jenax.graphql.sparql.v2.context.FragmentCxt
-
Constructor Summary
ConstructorsConstructorDescriptionFragmentCxt(graphql.language.Node startNode, List<org.apache.jena.sparql.core.Var> connectVars) Creates an instance of aFragmentCxtrecord class. -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.jena.sparql.core.Var>Returns the value of theconnectVarsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.graphql.language.NodeReturns the value of thestartNoderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FragmentCxt
public FragmentCxt(graphql.language.Node startNode, List<org.apache.jena.sparql.core.Var> connectVars) Creates an instance of aFragmentCxtrecord class.- Parameters:
startNode- the value for thestartNoderecord componentconnectVars- the value for theconnectVarsrecord 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). -
startNode
public graphql.language.Node startNode()Returns the value of thestartNoderecord component.- Returns:
- the value of the
startNoderecord component
-
connectVars
Returns the value of theconnectVarsrecord component.- Returns:
- the value of the
connectVarsrecord component
-