Class ConceptBuilderImpl
java.lang.Object
org.aksw.jena_sparql_api.concept.builder.impl.ConceptBuilderImpl
- All Implemented Interfaces:
ConceptBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ConceptExprnull if there is no base concept exprprotected Set<org.apache.jena.sparql.expr.Expr>protected booleanprotected Map<org.apache.jena.graph.Node,RestrictionBuilder> protected RestrictionBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddExpr(org.apache.jena.sparql.expr.Expr expr) clone()findRestrictions(org.apache.jena.graph.Node node) Retrieves the baseConceptBuilder.Set<org.apache.jena.sparql.expr.Expr>getExprs()voidremoveExpr(org.apache.jena.sparql.expr.Expr expr) setBaseConceptExpr(ConceptExpr baseConceptExpr) Sets a baseConceptBuilder and returns this (i.e.setNegated(boolean status) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.jena_sparql_api.concept.builder.api.ConceptBuilder
getRoot
-
Field Details
-
parent
-
isNegated
protected boolean isNegated -
nodeToRestrictionBuilder
-
baseConceptExpr
null if there is no base concept expr -
exprs
-
-
Constructor Details
-
ConceptBuilderImpl
public ConceptBuilderImpl() -
ConceptBuilderImpl
-
-
Method Details
-
getBaseConceptExpr
Description copied from interface:ConceptBuilderRetrieves the baseConceptBuilder. May be null- Specified by:
getBaseConceptExprin interfaceConceptBuilder- Returns:
-
setBaseConceptExpr
Sets a baseConceptBuilder and returns this (i.e. NOT the argument)- Specified by:
setBaseConceptExprin interfaceConceptBuilder- Parameters:
baseConceptBuilder-- Returns:
-
newRestriction
- Specified by:
newRestrictionin interfaceConceptBuilder
-
findRestrictions
- Specified by:
findRestrictionsin interfaceConceptBuilder
-
setNegated
- Specified by:
setNegatedin interfaceConceptBuilder
-
isNegated
public void isNegated()- Specified by:
isNegatedin interfaceConceptBuilder
-
addExpr
- Specified by:
addExprin interfaceConceptBuilder
-
getParent
- Specified by:
getParentin interfaceConceptBuilder
-
clone
- Specified by:
clonein interfaceConceptBuilder- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
removeExpr
- Specified by:
removeExprin interfaceConceptBuilder
-
getExprs
- Specified by:
getExprsin interfaceConceptBuilder
-
listRestrictions
- Specified by:
listRestrictionsin interfaceConceptBuilder
-