Package org.aksw.facete.v3.impl
Class FacetConstraintImpl
java.lang.Object
org.apache.jena.enhanced.Polymorphic<org.apache.jena.rdf.model.RDFNode>
org.apache.jena.enhanced.EnhNode
org.apache.jena.rdf.model.impl.ResourceImpl
org.aksw.facete.v3.impl.FacetConstraintImpl
- All Implemented Interfaces:
FacetConstraint,FacetConstraintControl,org.apache.jena.graph.FrontsNode,org.apache.jena.rdf.model.RDFNode,org.apache.jena.rdf.model.Resource
public class FacetConstraintImpl
extends org.apache.jena.rdf.model.impl.ResourceImpl
implements FacetConstraint
-
Field Summary
Fields inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
factory, rdfNodeFactoryFields inherited from class org.apache.jena.enhanced.EnhNode
enhGraph, node -
Constructor Summary
ConstructorsConstructorDescriptionFacetConstraintImpl(org.apache.jena.graph.Node n, org.apache.jena.enhanced.EnhGraph m) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.jena.graph.NodeblankNodeToVar(org.apache.jena.graph.Node node) booleanenabled()enabled(boolean onOrOff) org.apache.jena.sparql.expr.Exprexpr()expr(org.apache.jena.sparql.expr.Expr expr) Applies an expression-based constraint to the given facet nodeexprOld(org.apache.jena.sparql.expr.Expr expr) static voidtoString()static IntegertryGetBnodeAsInt(org.apache.jena.graph.Node n) voidunlink()static org.apache.jena.graph.NodevarToBlankNode(org.apache.jena.graph.Node node) Methods inherited from class org.apache.jena.rdf.model.impl.ResourceImpl
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, addProperty, asLiteral, asResource, asStatementTerm, begin, commit, getId, getLocalName, getModel, getModelCom, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, mustHaveModel, removeAll, removeProperties, visitWithMethods inherited from class org.apache.jena.enhanced.EnhNode
as, asNode, canAs, canSupport, convertTo, equals, getGraph, getPersonality, hashCode, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, isValid, viewAsMethods inherited from class org.apache.jena.enhanced.Polymorphic
addView, alreadyHasView, asInternal, supportsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jena.graph.FrontsNode
asNodeMethods inherited from interface org.apache.jena.rdf.model.RDFNode
as, asLiteral, asResource, asStatementTerm, canAs, getModel, isAnon, isLiteral, isResource, isStatementTerm, isURIResource, visitWithMethods inherited from interface org.apache.jena.rdf.model.Resource
abort, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addLiteral, addProperty, addProperty, addProperty, addProperty, begin, commit, equals, getId, getLocalName, getNameSpace, getProperty, getProperty, getPropertyResourceValue, getRequiredProperty, getRequiredProperty, getURI, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasLiteral, hasProperty, hasProperty, hasProperty, hasProperty, hasURI, inModel, listProperties, listProperties, listProperties, removeAll, removeProperties
-
Constructor Details
-
FacetConstraintImpl
public FacetConstraintImpl(org.apache.jena.graph.Node n, org.apache.jena.enhanced.EnhGraph m)
-
-
Method Details
-
enabled
public boolean enabled()- Specified by:
enabledin interfaceFacetConstraintControl
-
enabled
- Specified by:
enabledin interfaceFacetConstraint- Specified by:
enabledin interfaceFacetConstraintControl
-
expr
public org.apache.jena.sparql.expr.Expr expr()- Specified by:
exprin interfaceFacetConstraintControl
-
tryGetBnodeAsInt
-
getBnodeMap
-
varToBlankNode
public static org.apache.jena.graph.Node varToBlankNode(org.apache.jena.graph.Node node) -
blankNodeToVar
public static org.apache.jena.graph.Node blankNodeToVar(org.apache.jena.graph.Node node) -
expr
Applies an expression-based constraint to the given facet node- Specified by:
exprin interfaceFacetConstraint
-
exprOld
-
toString
- Specified by:
toStringin interfaceorg.apache.jena.rdf.model.RDFNode- Specified by:
toStringin interfaceorg.apache.jena.rdf.model.Resource- Overrides:
toStringin classorg.apache.jena.rdf.model.impl.ResourceImpl
-
main
-
unlink
public void unlink()- Specified by:
unlinkin interfaceFacetConstraintControl
-