Packagecom.esri.ags.layers.supportClasses
Classpublic class Field
InheritanceField Inheritance flash.events.EventDispatcher

Contains information about each field in a layer.



Public Properties
 PropertyDefined By
  alias : String
The alias of the Field.
Field
  domain : Domain
Used when FeatureLayer is using a Feature Service layer.
Field
  editable : Boolean
True if the field can be edited; false otherwise.
Field
  length : int
The maximum length of the Field.
Field
  name : String
The name of the Field.
Field
  type : String
The type of the Field.
Field
Public Constants
 ConstantDefined By
  TYPE_BLOB : String = esriFieldTypeBlob
[static] Binary Large Object.
Field
  TYPE_DATE : String = esriFieldTypeDate
[static] Date.
Field
  TYPE_DOUBLE : String = esriFieldTypeDouble
[static] Double-precision floating-point number.
Field
  TYPE_GEOMETRY : String = esriFieldTypeGeometry
[static] ESRI Geometry.
Field
  TYPE_GLOBAL_ID : String = esriFieldTypeGlobalID
[static] ESRI Global ID.
Field
  TYPE_GUID : String = esriFieldTypeGUID
[static] Globally Unique Identifier.
Field
  TYPE_INTEGER : String = esriFieldTypeInteger
[static] Long Integer.
Field
  TYPE_OID : String = esriFieldTypeOID
[static] Long Integer representing an object identifier.
Field
  TYPE_RASTER : String = esriFieldTypeRaster
[static] Raster.
Field
  TYPE_SINGLE : String = esriFieldTypeSingle
[static] Single-precision floating-point number.
Field
  TYPE_SMALL_INTEGER : String = esriFieldTypeSmallInteger
[static] Integer.
Field
  TYPE_STRING : String = esriFieldTypeString
[static] Character string.
Field
  TYPE_XML : String = esriFieldTypeXML
[static] XML Document.
Field
Property Detail
aliasproperty
alias:String

The alias of the Field.

This property can be used as the source for data binding.


Implementation
    public function get alias():String
    public function set alias(value:String):void
domainproperty 
domain:Domain

Used when FeatureLayer is using a Feature Service layer.

This property can be used as the source for data binding.


Implementation
    public function get domain():Domain
    public function set domain(value:Domain):void
editableproperty 
editable:Boolean

True if the field can be edited; false otherwise.

This property can be used as the source for data binding.


Implementation
    public function get editable():Boolean
    public function set editable(value:Boolean):void
lengthproperty 
length:int

The maximum length of the Field.

This property can be used as the source for data binding.


Implementation
    public function get length():int
    public function set length(value:int):void
nameproperty 
name:String

The name of the Field.

This property can be used as the source for data binding.


Implementation
    public function get name():String
    public function set name(value:String):void
typeproperty 
type:String

The type of the Field.

This property can be used as the source for data binding.


Implementation
    public function get type():String
    public function set type(value:String):void
Constant Detail
TYPE_BLOBConstant
public static const TYPE_BLOB:String = esriFieldTypeBlob

Binary Large Object.

TYPE_DATEConstant 
public static const TYPE_DATE:String = esriFieldTypeDate

Date.

TYPE_DOUBLEConstant 
public static const TYPE_DOUBLE:String = esriFieldTypeDouble

Double-precision floating-point number.

TYPE_GEOMETRYConstant 
public static const TYPE_GEOMETRY:String = esriFieldTypeGeometry

ESRI Geometry.

TYPE_GLOBAL_IDConstant 
public static const TYPE_GLOBAL_ID:String = esriFieldTypeGlobalID

ESRI Global ID.

TYPE_GUIDConstant 
public static const TYPE_GUID:String = esriFieldTypeGUID

Globally Unique Identifier.

TYPE_INTEGERConstant 
public static const TYPE_INTEGER:String = esriFieldTypeInteger

Long Integer.

TYPE_OIDConstant 
public static const TYPE_OID:String = esriFieldTypeOID

Long Integer representing an object identifier.

TYPE_RASTERConstant 
public static const TYPE_RASTER:String = esriFieldTypeRaster

Raster.

TYPE_SINGLEConstant 
public static const TYPE_SINGLE:String = esriFieldTypeSingle

Single-precision floating-point number.

TYPE_SMALL_INTEGERConstant 
public static const TYPE_SMALL_INTEGER:String = esriFieldTypeSmallInteger

Integer.

TYPE_STRINGConstant 
public static const TYPE_STRING:String = esriFieldTypeString

Character string.

TYPE_XMLConstant 
public static const TYPE_XML:String = esriFieldTypeXML

XML Document.