Class: Dataset

Dataset()

データセットクラス

Constructor

new Dataset()

Properties:
Name Type Description
fn.name string 画面名
fn.synchro boolean 同期フラッグ(デフォルト:false)
fn.data object dataset json
fn.formno number フォームNo
fn.elementno number element番号
Source:

Extends

Methods

(static) getData()

データセット情報取得処理
Source:
Returns:
dataset json

(static) getDatasetJSON(appspec)

dataset JSONファイルを読み込む
Parameters:
Name Type Description
appspec object AppSpecクラス
Source:

(static) getElementData(name, index)

要素情報取得処理(名前指定)
Parameters:
Name Type Description
name string 項目名
index number 項目データのindex
Source:
Returns:
取得結果

(static) getElementValue(name)

要素値取得処理(名前指定)
Parameters:
Name Type Description
name string 名前
Source:
Returns:
値(指定要素がない場合は"")

(static) getIdElementData(id, name, index)

要素情報取得処理(ID+名前指定)
Parameters:
Name Type Description
id string ID名
name string 項目名
index number 項目データのindex
Source:
Returns:
取得結果

(static) isMultilineByName(name)

マルチライン情報取得処理
Parameters:
Name Type Description
name string 項目名
Source:
Returns:
マルチライン情報(true:マルチライン)

(static) setData(dataset)

データセット情報設定処理
Parameters:
Name Type Description
dataset object データセット設定情報
Source:

(static) setElementData(value, name, index)

要素情報設定処理(名前指定)
Parameters:
Name Type Description
value object
name string 項目名
index number 項目データのindex
Source:
Returns:
値(指定要素がない場合は"")

(static) setIdElementData(value, id, name, index)

要素情報取得処理(ID+名前指定)
Parameters:
Name Type Description
value object
id string ID
name string 項目名
index number 項目データのindex
Source:
Returns:
値(指定要素がない場合は"")

(static) synchroData(self, startFnc)

同期処理
Parameters:
Name Type Description
self object 呼び出し元
startFnc string callback関数
Source: