Class ZeroOrOnePath
- java.lang.Object
-
- org.eclipse.rdf4j.sparqlbuilder.constraint.propertypath.ZeroOrOnePath
-
- All Implemented Interfaces:
PropertyPath
,QueryElement
,RdfPredicate
public class ZeroOrOnePath extends Object implements PropertyPath
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
-
Field Summary
-
Fields inherited from interface org.eclipse.rdf4j.sparqlbuilder.rdf.RdfPredicate
a
-
-
Constructor Summary
Constructors Constructor Description ZeroOrOnePath(PropertyPath path)
-
-
-
Constructor Detail
-
ZeroOrOnePath
public ZeroOrOnePath(PropertyPath path)
-
-
Method Detail
-
getQueryString
public String getQueryString()
- Specified by:
getQueryString
in interfaceQueryElement
- Returns:
- the String representing the SPARQL syntax of this element
-
-