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 TypeMethodDescriptionbooleaninthashCode()label()intmax()intmin()voidprint(org.apache.jena.atlas.io.IndentedWriter iOut, NodeFormatter nFmt) booleanreverse()toString()voidvisit(TripleExprVisitor visitor) Methods inherited from class org.apache.jena.shex.expressions.TripleExpression
getSemActs, setSemActs, testSemanticActionsMethods 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:
visitin classTripleExpression
-
print
-
hashCode
public int hashCode()- Specified by:
hashCodein classTripleExpression
-
equals
- Specified by:
equalsin classTripleExpression
-
toString
- Overrides:
toStringin classTripleExpression
-