Package org.eclipse.rdf4j.query
Interface Binding
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BindingImpl
,SimpleBinding
public interface Binding extends Serializable
A named value binding.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
equals(Object o)
Compares a binding object to another object.String
getName()
Gets the name of the binding (e.g.Value
getValue()
Gets the value of the binding.int
hashCode()
The hash code of a binding is defined as the bit-wise XOR of the hash codes of its name and value:
-
-
-
Method Detail
-
getName
String getName()
Gets the name of the binding (e.g. the variable name).- Returns:
- The name of the binding.
-
getValue
Value getValue()
Gets the value of the binding. The returned value is never equal to null, such a "binding" is considered to be unbound.- Returns:
- The value of the binding, never null.
-
equals
boolean equals(Object o)
Compares a binding object to another object.
-
-