Class RestrictionBuilderImpl
java.lang.Object
org.aksw.jena_sparql_api.concept.builder.impl.RestrictionBuilderImpl
- All Implemented Interfaces:
Supplier<RestrictionExpr>,RestrictionBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.jena.sparql.core.Varprotected ConceptBuilderprotected org.apache.jena.graph.Nodeprotected ConceptBuilderImpl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionas(org.apache.jena.sparql.core.Var var) build()Build a new range axiom from the current state of the builder.destroy()Remove this restriction from its owning concept.exists()forAll()get()on(org.apache.jena.graph.Node node) The predicate the restriction applies toMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jena_sparql_api.concept.builder.api.RestrictionBuilder
as, on
-
Field Details
-
parent
-
on
protected org.apache.jena.graph.Node on -
alias
protected org.apache.jena.sparql.core.Var alias -
conceptBuilder
-
-
Constructor Details
-
RestrictionBuilderImpl
-
-
Method Details
-
on
Description copied from interface:RestrictionBuilderThe predicate the restriction applies to- Specified by:
onin interfaceRestrictionBuilder
-
forAll
- Specified by:
forAllin interfaceRestrictionBuilder
-
exists
- Specified by:
existsin interfaceRestrictionBuilder
-
as
- Specified by:
asin interfaceRestrictionBuilder
-
destroy
Remove this restriction from its owning concept. Returns the parent concept- Specified by:
destroyin interfaceRestrictionBuilder
-
getParent
- Specified by:
getParentin interfaceRestrictionBuilder
-
get
- Specified by:
getin interfaceSupplier<RestrictionExpr>
-
build
Description copied from interface:RestrictionBuilderBuild a new range axiom from the current state of the builder. This should not be called as part of the construction process, but by visitors that e.g. construct the SPARQL concept / query- Specified by:
buildin interfaceRestrictionBuilder- Returns:
-