| Package | com.esri.baserver.tasks.segmentation |
| Class | public class CoreDevelopSegmentsParameters |
| Inheritance | CoreDevelopSegmentsParameters StandardReportParameters StandardReportParameters BATaskParameters Object |
Two tapestry segmentation profiles should be specified—the base profile
(baseProfile parameter) is used for calculating the index and the target profile
(targetProfile parameter) is used for calculating the percent composition
for each Tapestry segment.
Two variations of the report creation are supported: with and without a target group.
Without target group (useExistingTargetGroup=false), the
percentThreshold and the indexThreshold parameters specify the percent
composition and index thresholds, respectively.
With a target group (useExistingTargetGroup=true), the targetGroup
parameter specifies the target group and the coreTargetName and
developmentalTargetName parameters specify the Core and Developmental summary groups
of the target group, respectively.
Output options for this task include creating a report (outputTypes.getReport). You need not specify the output options for this task because the getReport output type is set by default.
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | activeDatasetID : String
Active dataset ID. | BATaskParameters | |
| baseProfile : ProfileData
Base segmentation profile (required). | CoreDevelopSegmentsParameters | ||
| coreTargetName : String
Core summary group name (required if useExistingTargetGroup=true). | CoreDevelopSegmentsParameters | ||
| developmentalTargetName : String
Developmental summary group name (required if useExistingTargetGroup=true). | CoreDevelopSegmentsParameters | ||
| indexThreshold : Number
Index threshold (required if useExistingTargetGroup=false). | CoreDevelopSegmentsParameters | ||
![]() | outputReportItem : FolderItem
Configuration options for storing the output report in the repository. | StandardReportParameters | |
![]() | outputTypes : OutputTypes
Task output types. | BATaskParameters | |
| percentThreshold : Number
Percent composition threshold (required if useExistingTargetGroup=false). | CoreDevelopSegmentsParameters | ||
![]() | resultType : BAResultType [read-only]
Type of the result returned by the task associated with these parameters. | BATaskParameters | |
![]() | standardReportOptions : ReportOptions
Standard report options. | StandardReportParameters | |
| targetGroup : TargetGroupData
Target group (required if useExistingTargetGroup=true). | CoreDevelopSegmentsParameters | ||
| targetProfile : ProfileData
Target segmentation profile (required). | CoreDevelopSegmentsParameters | ||
![]() | taskName : String [read-only]
Name of a Community Analyst Task associated with these parameters. | BATaskParameters | |
| useExistingTargetGroup : Boolean
Option specifying the use of the existing target group. | CoreDevelopSegmentsParameters | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new instance of the CoreDevelopSegmentsParameters class. | CoreDevelopSegmentsParameters | ||
| baseProfile | property |
baseProfile:ProfileDataBase segmentation profile (required).
public function get baseProfile():ProfileData public function set baseProfile(value:ProfileData):void| coreTargetName | property |
coreTargetName:String
Core summary group name (required if useExistingTargetGroup=true).
public function get coreTargetName():String public function set coreTargetName(value:String):void| developmentalTargetName | property |
developmentalTargetName:String
Developmental summary group name (required if useExistingTargetGroup=true).
public function get developmentalTargetName():String public function set developmentalTargetName(value:String):void| indexThreshold | property |
indexThreshold:Number
Index threshold (required if useExistingTargetGroup=false).
The default value is NaN.
public function get indexThreshold():Number public function set indexThreshold(value:Number):void| percentThreshold | property |
percentThreshold:Number
Percent composition threshold (required if useExistingTargetGroup=false).
The default value is NaN.
public function get percentThreshold():Number public function set percentThreshold(value:Number):void| targetGroup | property |
targetGroup:TargetGroupData
Target group (required if useExistingTargetGroup=true).
public function get targetGroup():TargetGroupData public function set targetGroup(value:TargetGroupData):void| targetProfile | property |
targetProfile:ProfileDataTarget segmentation profile (required).
public function get targetProfile():ProfileData public function set targetProfile(value:ProfileData):void| useExistingTargetGroup | property |
useExistingTargetGroup:BooleanOption specifying the use of the existing target group.
The default value is false.
public function get useExistingTargetGroup():Boolean public function set useExistingTargetGroup(value:Boolean):void| CoreDevelopSegmentsParameters | () | Constructor |
public function CoreDevelopSegmentsParameters()Creates a new instance of the CoreDevelopSegmentsParameters class.
var parameters : CoreDevelopSegmentsParameters = new CoreDevelopSegmentsParameters();
// The ProfileData type could take either data as an XML string
// or as com.esri.baserver.FolderItem type, e.g.
//var baseProfile:FolderItem = new FolderItem(workspaceName, projectName, FolderType.SEGMENTATION_PROFILES, profileName);
// Set a base segmentation profile.
parameters.baseProfile = new ProfileData(baseProfile);
// Set a target segmentation profile.
parameters.targetProfile = new ProfileData(targetProfile);
// Set the use of existing target group.
parameters.useExistingTargetGroup = true;
// The TargetGroupData type could take either data as an XML string
// or as com.esri.baserver.FolderItem type, e.g.
//var targetGroup:FolderItem = new FolderItem(workspaceName, projectName, FolderType.SEGMENTATION_TARGET_GROUPS, tgName);
// Set a target group to be used.
parameters.targetGroup = new TargetGroupData(targetGroup);
// Set a core summary group name.
parameters.coreTargetName = "U1. Principal Urban Centers I";
// Set a developmental summary group name.
parameters.developmentalTargetName = "U11. Rural II";
// Set report parameters.
parameters.standardReportOptions = new ReportOptions("PDF");
coreDevelopSegmentsTask.execute(parameters, new Responder(resultHandler, faultHandler));