WhereFilterNodeBuilder

単一の Where フィルター条件を設定する Where フィルターノードビルダー

メソッド

constructor

定義:

constructor(yMap: Y.Map<any>)

パラメータ:

パラメータ説明
yMapY.Map-

getId

ノード ID を取得

定義:

getId(): string

戻り値: string

getField

フィールド名を取得

定義:

getField(): string

戻り値: string

setField

フィールド名を設定

定義:

setField(field: string): this

戻り値: this

パラメータ:

パラメータ説明
fieldstring- フィールド名

getOperator

フィルター演算子を取得

定義:

getOperator(): string | undefined

戻り値: string \| undefined

setOperator

フィルター演算子を設定

定義:

setOperator(operator: string): this

戻り値: this

パラメータ:

パラメータ説明
operatorstring- 演算子

setValue

フィルター値を設定

定義:

setValue(value: unknown): this

戻り値: this

パラメータ:

パラメータ説明
valueunknown- フィルター値

setDate

日付フィルター条件を設定

定義:

setDate(predicate: VBIWhereDatePredicate): this

戻り値: this

パラメータ:

パラメータ説明
predicateVBIWhereDatePredicate- 日付述語

getDate

日付フィルター条件を取得。日付フィルターでない場合は undefined を返す

定義:

getDate(): VBIWhereDatePredicate | undefined

戻り値: VBIWhereDatePredicate \| undefined

toJSON

JSON としてエクスポート

定義:

toJSON(): VBIWhereFilter

戻り値: VBIWhereFilter