java.lang.Object
org.apache.jena.shex.expressions.TripleExpression
org.apache.jena.shex.expressions.TripleConstraint
- All Implemented Interfaces:
ShexPrintable
-
Constructor Summary
ConstructorsConstructorDescriptionTripleConstraint
(Node label, Node predicate, boolean reverse, ShapeExpression valueExpr, Cardinality cardinality, List<SemAct> semActs) -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
label()
int
max()
int
min()
void
print
(org.apache.jena.atlas.io.IndentedWriter iOut, NodeFormatter nFmt) boolean
reverse()
toString()
void
visit
(TripleExprVisitor visitor) Methods inherited from class org.apache.jena.shex.expressions.TripleExpression
getSemActs, setSemActs, testSemanticActions
Methods inherited from interface org.apache.jena.shex.expressions.ShexPrintable
asString, print
-
Constructor Details
-
TripleConstraint
public TripleConstraint(Node label, Node predicate, boolean reverse, ShapeExpression valueExpr, Cardinality cardinality, List<SemAct> semActs)
-
-
Method Details
-
cardinalityString
-
label
-
min
public int min() -
max
public int max() -
getPredicate
-
getShapeExpression
-
reverse
public boolean reverse() -
visit
- Specified by:
visit
in classTripleExpression
-
print
-
hashCode
public int hashCode()- Specified by:
hashCode
in classTripleExpression
-
equals
- Specified by:
equals
in classTripleExpression
-
toString
- Overrides:
toString
in classTripleExpression
-