Packagecom.esri.bacore.domain
Classpublic class GeographyFeature
InheritanceGeographyFeature Inheritance flash.events.EventDispatcher
Implements IGeographyFeature

Since : Business Analyst API for Flex 2.2.

The GeographyFeature class is the default implementation of IGeographyFeature interface.



Public Properties
 PropertyDefined By
  id : String
Feature ID.
GeographyFeature
  levelId : String
ID of a geography level.
GeographyFeature
  name : String
Feature name.
GeographyFeature
Public Methods
 MethodDefined By
  
Creates a new instance of the GeographyFeature class.
GeographyFeature
  
readExternal(input:IDataInput):void
The class implements this method to decode itself from a data stream by calling the methods of the IDataInput interface.
GeographyFeature
  
[static] Converts the geography feature to a new instance of the StandardLayer class.
GeographyFeature
  
writeExternal(output:IDataOutput):void
The class implements this method to encode itself for a data stream by calling the methods of the IDataOutput interface.
GeographyFeature
Property Detail
idproperty
id:String

Feature ID.


Implementation
    public function get id():String
    public function set id(value:String):void
levelIdproperty 
levelId:String

ID of a geography level.


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

Feature name.


Implementation
    public function get name():String
    public function set name(value:String):void
Constructor Detail
GeographyFeature()Constructor
public function GeographyFeature()

Creates a new instance of the GeographyFeature class.

Method Detail
readExternal()method
public function readExternal(input:IDataInput):void

The class implements this method to decode itself from a data stream by calling the methods of the IDataInput interface.

Parameters

input:IDataInput

toStandardLayer()method 
public static function toStandardLayer(feature:IGeographyFeature):StandardLayer

Converts the geography feature to a new instance of the StandardLayer class.

If feature level ID or feature ID is missing, the BARequestError error is thrown.

Parameters

feature:IGeographyFeature — Geography feature to be converted.

Returns
StandardLayer — A new instance of the standard layer.
writeExternal()method 
public function writeExternal(output:IDataOutput):void

The class implements this method to encode itself for a data stream by calling the methods of the IDataOutput interface.

Parameters

output:IDataOutput