# Class: ExtField

## ExtField()

#### new ExtField()

扩展字段头

Source:
  - ExtField.js, line 9

### Methods

#### (async, static) createObj() → {Promise.<ExtField>}

构造一个新的 ExtField 对象。

Source:
  - ExtField.js, line 19

##### Returns:

Type
  Promise.<ExtField>

#### (async, static) getAlias() → {Promise.<*>}

获取别名

Source:
  - ExtField.js, line 40

##### Returns:

别名

Type
  Promise.<*>

#### (async, static) getDmnID() → {Promise.<*>}

获取域ID

Source:
  - ExtField.js, line 94

##### Returns:

ID值

Type
  Promise.<*>

#### (async, static) getFieldType() → {Promise.<*>}

获取字段类型

Source:
  - ExtField.js, line 161

##### Returns:

字段类型

Type
  Promise.<*>

#### (async, static) getIsNull() → {Promise.<*>}

获取是否允许为空

Source:
  - ExtField.js, line 67

##### Returns:

true/false

Type
  Promise.<*>

#### (async, static) getShape() → {Promise.<*>}

获取字段形态

Source:
  - ExtField.js, line 121

##### Returns:

字段形态

Type
  Promise.<*>

#### (async, static) getShapeInfoNum() → {Promise.<*>}

获取取离散值数目

Source:
  - ExtField.js, line 148

##### Returns:

数目

Type
  Promise.<*>

#### (async, static) hasDefVal() → {Promise.<*>}

是否设置缺省值

Source:
  - ExtField.js, line 174

##### Returns:

非0/0 ：是/否

Type
  Promise.<*>

#### (async, static) hasMaxVal() → {Promise.<*>}

是否设置最大值

Source:
  - ExtField.js, line 187

##### Returns:

非0/0 ：是/否

Type
  Promise.<*>

#### (async, static) hasMinVal() → {Promise.<*>}

是否设置最小值

Source:
  - ExtField.js, line 200

##### Returns:

非0/0 ：是/否

Type
  Promise.<*>

#### (async, static) setAlias(alias) → {Promise.<void>}

设置别名

##### Parameters:

Name | Type | Description
--- | --- | ---
`alias` |  | 别名

Source:
  - ExtField.js, line 54

##### Returns:

Type
  Promise.<void>

#### (async, static) setDmnID(value) → {Promise.<void>}

设置域ID

##### Parameters:

Name | Type | Description
--- | --- | ---
`value` |  | ID值

Source:
  - ExtField.js, line 108

##### Returns:

Type
  Promise.<void>

#### (async, static) setIsNull(value) → {Promise.<void>}

设置是否允许为空

##### Parameters:

Name | Type | Description
--- | --- | ---
`value` |  | true/false

Source:
  - ExtField.js, line 81

##### Returns:

Type
  Promise.<void>

#### (async, static) setShape(shape) → {Promise.<void>}

设置字段形态

##### Parameters:

Name | Type | Description
--- | --- | ---
`shape` |  | 字段形态

Source:
  - ExtField.js, line 135

##### Returns:

Type
  Promise.<void>