LabelConstraint

case class LabelConstraint(constraintsMap: Map[Lang, Option[StringConstraint]]) extends TermConstraint
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

override def matchTerm(ed: EntityDoc, current: EntityDoc): Either[MatchingError, EntityDoc]

matchTerm attempts to match a termed document with a termConstraint

matchTerm attempts to match a termed document with a termConstraint

Value parameters:
current

current termed document that is being matched

ed

termed document to match

Returns:

Right(newterm) if matches adds, the matched term to current

Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product