TripleConstraintLocal
case class TripleConstraintLocal(property: PropertyId, value: WNodeConstraint, min: Int, max: IntOrUnbounded, qs: Option[QualifierSpec], refs: Option[ReferencesSpec]) extends TripleConstraint
class TripleConstraint
class TripleExpr
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Value members
Inherited methods
def checkLocal(entity: Entity, fromLabel: ShapeLabel, closed: Boolean, extra: List[PropertyId]): Either[Reason, Set[ShapeLabel]]
- Inherited from:
- TripleExpr
def checkLocalCoded(entity: Entity, fromLabel: ShapeLabel, closed: Boolean, extra: List[PropertyId]): Either[ReasonCode, Set[ShapeLabel]]
- Inherited from:
- TripleExpr
def checkLocalOpen(entity: Entity, fromLabel: ShapeLabel): Either[Reason, Either[Set[ShapeLabel], (PropertyId, Int, Int)]]
Checks local statements of an entity allowing extra values
Checks local statements of an entity allowing extra values
- Returns:
either an error or either a set of pendingLabels or a list of (property, matches, failed) values
- Inherited from:
- TripleConstraint
def checkLocalOpenCoded(entity: Entity, fromLabel: ShapeLabel): Either[ReasonCode, Either[Set[ShapeLabel], (PropertyId, Int, Int)]]
- Inherited from:
- TripleConstraint