Class: Equals

olympe.dc.api.predicates. Equals


new Equals(property, truthValue, db)

Parameters:
Name Type Description
property olympe.dc.Tag
truthValue *
db olympe.dc.DBView
Implements:

Methods


clear(tag, index)

Unregister callback

Parameters:
Name Type Description
tag string
index string
Implements:

execute(tag)

Apply the predicate to given value

Parameters:
Name Type Description
tag string

of instance to test predicate

Implements:
Returns:

if predicates passes

Type
boolean

getProperty()

Returns:
Type
olympe.dc.Tag

getTruthValue()

Returns:
Type
*

observe(tag, index, callback)

Define testing on a dataflow string

Parameters:
Name Type Description
tag string
index string
callback olympe.dc.api.Predicate.PredicateCallback
Implements:

serialize()

Serialize the predicate

Implements:
Returns:
Type
Object

toString()

Implements:
Returns:
Type
string