Packagecom.esri.baserver
Classpublic class EditFeature
InheritanceEditFeature Inheritance Object
Implements IJsonObject

The EditFeature class provides feature edit parameters.

An instance of this class provides new values for a feature to be edited. If feature geometry is modified, the geometry property should be specified. If some feature attributes are modified, the attributes property should contain new values for modified attributes.

See also

EditFeaturesTask


Public Properties
 PropertyDefined By
  attributes : Object
New values for feature attributes.
EditFeature
  geometry : Geometry
Feature geometry to be edited.
EditFeature
  oid : int
Object ID of feature to be edited.
EditFeature
Public Methods
 MethodDefined By
  
EditFeature(oid:int, geometry:Geometry = null, attributes:Object = null)
Creates a new instance of the EditFeature class.
EditFeature
Property Detail
attributesproperty
attributes:Object

New values for feature attributes.


Implementation
    public function get attributes():Object
    public function set attributes(value:Object):void
geometryproperty 
geometry:Geometry

Feature geometry to be edited.


Implementation
    public function get geometry():Geometry
    public function set geometry(value:Geometry):void
oidproperty 
oid:int

Object ID of feature to be edited.


Implementation
    public function get oid():int
    public function set oid(value:int):void
Constructor Detail
EditFeature()Constructor
public function EditFeature(oid:int, geometry:Geometry = null, attributes:Object = null)

Creates a new instance of the EditFeature class.

Parameters
oid:int — Object ID of feature to be edited.
 
geometry:Geometry (default = null) — Feature geometry to be edited.
 
attributes:Object (default = null) — New values for feature attributes.