ConditionalOperator
Definição da configuração do objeto Condition para construção de condições com o objeto Where
getColumn
getColumn() : string
Description
Returns the name of the column to which the condition will be applied.
Return
( string )
The name of the column to which the condition will be applied.
getOperator
getOperator() : org.netuno.tritao.db.form.where.ConditionalOperatorType
Description
Returns the condition condition operator.
Return
( org.netuno.tritao.db.form.where.ConditionalOperatorType )
The condition condition operator.
getRelationOperator
getRelationOperator() : RelationalOperator
Description
Returns the relationship settings.
Return
The relationship settings.
getSubCondition
getSubCondition() : Where
Description
Returns the next level of conditions within the current condition.
Return
( Where )
The next level of conditions within the current condition.
hasSubCondition
hasSubCondition() : boolean
Description
Returns whether the current object has subconditions or not.
Return
( boolean )
Whether you have it or not.
setColumn
setColumn(column: string) : ConditionalOperator
Description
Defines the name of the column to which the condition will be applied.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | string | The name of the column to which the condition will be applied. |
Return
Current Condition object.
setOperator
setOperator(column: org.netuno.tritao.db.form.where.ConditionalOperatorType) : ConditionalOperator
Description
Defines the condition condition operator.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
column | org.netuno.tritao.db.form.where.ConditionalOperatorType | The condition condition operator. |
Return
Current Condition object.
setRelationOperator
setRelationOperator(relationOperator: RelationalOperator) : ConditionalOperator
Description
Defines the relationship settings.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
relationOperator | RelationalOperator | The relationship settings. |
Return
Current Condition object.
setSubCondition
setSubCondition(subcondition: Where) : ConditionalOperator
Description
Defines the next level of conditions within the current condition.
Attributes
NAME | TYPE | DESCRIPTION |
---|---|---|
subcondition | Where | The next level of conditions within the current condition. |
Return
Current Condition object.