TripleConstraintLocal

case class TripleConstraintLocal(property: PropertyId, value: WNodeConstraint, min: Int, max: IntOrUnbounded, qs: Option[QualifierSpec], refs: Option[ReferencesSpec]) extends TripleConstraint
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Definition Classes
override def withMin(min: Int): TripleConstraint
Definition Classes
override def withQs(qs: Option[QualifierSpec]): TripleConstraint
Definition Classes
override def withRefs(refs: Option[ReferencesSpec]): TripleConstraint
Definition Classes

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
def dependsOn(): Set[ShapeLabel]
Inherited from:
TripleExpr
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
Inherited from:
TripleExpr

Inherited fields

Inherited from:
TripleExpr
Inherited from:
TripleExpr