Operator class
Represents a logical expression or predicate, like comparisions or LIKE
predicate.
- appliedTypes
- caption
- caseIns
- constValueFormat
- defaultOperand
- displayFormat
- expr
- id
- isRange
- operands
- paramCount
Constructors
Section titled “Constructors”constructor
Section titled “constructor”The default constructor. ⊕ new Operator(): Operator
Public Properties
Section titled “Public Properties”appliedTypes
Section titled “appliedTypes”● appliedTypes: DataType[]
caption
Section titled “caption”The operator caption.
● caption: string
caseIns
Section titled “caseIns”The value indicating whether the operator is case insensative.
● caseIns: boolean
constValueFormat
Section titled “constValueFormat”● constValueFormat: string
defaultOperand
Section titled “defaultOperand”● defaultOperand: Operand
displayFormat
Section titled “displayFormat”The display format of operator.
● displayFormat: string
● expr: string
The operator ID.
● id: string
isRange
Section titled “isRange”The value indicating whether this operator requires range values so first value must be less than the second one.
● isRange: boolean
operands
Section titled “operands”The operands for this operator.
● operands: Operand[]
paramCount
Section titled “paramCount”The number of parameters which are taken by the operator.
● paramCount: number
Public Methods
Section titled “Public Methods”loadFromData
Section titled “loadFromData”Loads operator from its JSON representation object.
▸ loadFromData(model: DataModel,data: OperatorData): void
Parameters:
Section titled “Parameters:”- model: DataModel - The Data Model.
- data: OperatorData - The JSON representation object.
Returns void