Field

构造函数

构造函数

Field

构造函数

new Field(properties?)

参数

返回:Field Field对象

属性

alias

字段显示名称

alias: string

类型: string

defaultValue

字段默认值

defaultValue: string | number

类型: string | number

description

字段描述

description: string

类型: string

editable

字段可编辑性

editable: boolean

类型: boolean

length

字段长度

length: number

类型: number

name

字段名称

name: string

类型: string

nullable

字段空值允许性

nullable: boolean

类型: boolean

type

字段数据类型

type: "string" | "single" | "date" | "small-integer" | "integer" | "big-integer" | "double" | "long" | "date-only" | "time-only" | "timestamp-offset" | "oid" | "geometry" | "blob" | "raster" | "guid" | "global-id" | "xml"

类型: "string" | "single" | "date" | "small-integer" | "integer" | "big-integer" | "double" | "long" | "date-only" | "time-only" | "timestamp-offset" | "oid" | "geometry" | "blob" | "raster" | "guid" | "global-id" | "xml"

valueType

字段值类型

valueType: "none" | "binary" | "coordinate" | "count-or-amount" | "date-and-time" | "description" | "location-or-place-name" | "measurement" | "name-or-title" | "ordered-or-ranked" | "percentage-or-ratio" | "type-or-category" | "unique-identifier"

类型: "none" | "binary" | "coordinate" | "count-or-amount" | "date-and-time" | "description" | "location-or-place-name" | "measurement" | "name-or-title" | "ordered-or-ranked" | "percentage-or-ratio" | "type-or-category" | "unique-identifier"

访问器

domain

字段域

get domain(): CodedValueDomain | RangeDomain | InheritedDomain
set domain(value: CodedValueDomainProperties & object | RangeDomainProperties & object | InheritedDomainProperties & object): void

返回: void

方法

toJSON

转换为JSON

toJSON(): any

返回:any

BIMFlux AI