org.topbraid.spin.model
Interface Variable

All Superinterfaces:
Printable

public interface Variable
extends Printable

A variable in a SPIN query.

Author:
Holger Knublauch

Method Summary
 java.lang.String getName()
          Gets the name of this variable (without the '?').
 java.util.Set<TriplePattern> getTriplePatterns()
          Gets all TriplePatterns where this Variable is mentioned.
 boolean isBlankNodeVar()
          Checks if this represents a blank node var.
 
Methods inherited from interface org.topbraid.spin.model.print.Printable
print
 

Method Detail

getName

java.lang.String getName()
Gets the name of this variable (without the '?').

Returns:
the variable name

getTriplePatterns

java.util.Set<TriplePattern> getTriplePatterns()
Gets all TriplePatterns where this Variable is mentioned.

Returns:
the TriplePatterns

isBlankNodeVar

boolean isBlankNodeVar()
Checks if this represents a blank node var.

Returns:
true if a blank node var