Class: Domain

Description

Class added v2.0.

Domains define constraints on a layer field. There are two types of domains, coded values and range domains.

Samples

Search for samples that use this class.  

Class hierarchy

esri.layers.Domain

Properties

Property Type Description
name String The domain name.
type String The domain type. Valid values are "range" or "codedValue".

Methods

Method Return Value Description
toJson() Object Converts object to its ArcGIS Server JSON representation.
Properties Detail

<String> name

The domain name.

<String> type

The domain type. Valid values are "range" or "codedValue".
Methods Detail

toJson()

Converts object to its ArcGIS Server JSON representation. (As of v2.1)
Return value: Object