Field

class Field

An object that defines a field.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(fieldType: FieldType, name: String, alias: String, length: Int = 0, domain: Domain? = null, isEditable: Boolean = true, isNullable: Boolean = true)

Creates a new field object with the following parameters.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The field's alias.

Link copied to clipboard

The field's domain.

Link copied to clipboard

The field as not being editable.

Link copied to clipboard

The field's data type. Warning: Shapefile fields of type date do not store a time.

Link copied to clipboard
val length: Int

The length of the field.

Link copied to clipboard

The field's name.

Link copied to clipboard

True if the field is nullable.

Functions

Link copied to clipboard
fun toJson(): String

Serializes this object to a JSON string.