Methods
(async, static) createObj() → {Promise.<ExtField>}
构造一个新的 ExtField 对象。
- Source:
Returns:
- Type
- Promise.<ExtField>
(async, static) getAlias() → {Promise.<*>}
获取别名
- Source:
Returns:
别名
- Type
- Promise.<*>
(async, static) getDmnID() → {Promise.<*>}
获取域ID
- Source:
Returns:
ID值
- Type
- Promise.<*>
(async, static) getFieldType() → {Promise.<*>}
获取字段类型
- Source:
Returns:
字段类型
- Type
- Promise.<*>
(async, static) getIsNull() → {Promise.<*>}
获取是否允许为空
- Source:
Returns:
true/false
- Type
- Promise.<*>
(async, static) getShape() → {Promise.<*>}
获取字段形态
- Source:
Returns:
字段形态
- Type
- Promise.<*>
(async, static) getShapeInfoNum() → {Promise.<*>}
获取取离散值数目
- Source:
Returns:
数目
- Type
- Promise.<*>
(async, static) hasDefVal() → {Promise.<*>}
是否设置缺省值
- Source:
Returns:
非0/0 :是/否
- Type
- Promise.<*>
(async, static) hasMaxVal() → {Promise.<*>}
是否设置最大值
- Source:
Returns:
非0/0 :是/否
- Type
- Promise.<*>
(async, static) hasMinVal() → {Promise.<*>}
是否设置最小值
- Source:
Returns:
非0/0 :是/否
- Type
- Promise.<*>
(async, static) setAlias(alias) → {Promise.<void>}
设置别名
Parameters:
| Name | Type | Description |
|---|---|---|
alias |
别名 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setDmnID(value) → {Promise.<void>}
设置域ID
Parameters:
| Name | Type | Description |
|---|---|---|
value |
ID值 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setIsNull(value) → {Promise.<void>}
设置是否允许为空
Parameters:
| Name | Type | Description |
|---|---|---|
value |
true/false |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setShape(shape) → {Promise.<void>}
设置字段形态
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
字段形态 |
- Source:
Returns:
- Type
- Promise.<void>