A class to represent a conjunction of two Domains
A trait to specify Domains for com.tactix4.t4openerp.connector.OESession queries
A trait to specify Domains for com.tactix4.t4openerp.connector.OESession queries
Used in conjunction with the implicits defined in Domains companion object, a DSL for specifying complex domains is provided
val complexDomain = ("name" === "ABC") AND ("lang" =/= "EN") AND (NOT("department" child_of "HR") OR ("country" like "Germany"))
Associativity is to the LEFT - so parenthesis should be used to make precedence unambiguous
// equates to all all Jim's with ID's of one, OR Jills. val ambig = ("id" === 1) AND ("name" === "jim") OR ("name" == "jill") // equates to any Jim or Jill with an id of 1 val nonAmbig = ("id" === 1) AND (("name" === "jim") OR ("name" == "jill"))
Domain's subclasses com.tactix4.t4openerp.connector.domain.AND and com.tactix4.t4openerp.connector.domain.OR build up tree structures of com.tactix4.t4openerp.connector.domain.DomainTuple expressions, which are constructed from a fieldName, an operator and a value.
A class used to construct DomainTuples - used via the implicit in the Domain's companion object
A class to represent a leaf-node in our tree structure of logical operations
A class to represent a leaf-node in our tree structure of logical operations
It constitutes one unit of domain filtering - to be combined with com.tactix4.t4openerp.connector.domain.AND, com.tactix4.t4openerp.connector.domain.OR, or negated with com.tactix4.t4openerp.connector.domain.NOT
the name of the field on which we are applying a filter
the operator of the filter
the value of the filter
A class to represent a negation of a DomainTuple
A class to represent a negation of a DomainTuple
A class to represent a disjunction of two Domains
A class to represent a disjunction of two Domains
Companion object for com.tactix4.t4openerp.connector.domain.Domain providing some implicit conversions as well as an implicit object for conversion to TransportDataTypes
A class to represent a conjunction of two Domains
the left hand Domain
the right hand Domain