|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface INAServerDataLayer
Provides access to a data layer containing network locations.
The INAServerDataLayer interface provides access to a feature layer in the associated map service to load as network locations into an input network analysis class.
The NAServerDataLayer object that implements this interface can be passed in to any of the properties of the NAServerSolverParams objects that expect an INAServerLocations interface pointer. For example, Stops, Barriers, Facilities, or Incidents.
If the data layer contains the network location fields "SourceID" (int), "SourceOID" (int), "PosAlong" (double), and "SideOfEdge" (int) the values in these fields will specify the network location rather than performing a spatial search to determine the network location.
Any other fields can be in the data layer may be used when loading network locations. What fields map to NAClass fields is a function of INAServerSolverParams.NAClassCandidateFieldMaps .
Method Summary | |
---|---|
String |
getDataLayerName()
The name of the layer in the map. |
IQueryFilter |
getQueryFilter()
The query filter used to constrain the search. |
void |
setDataLayerName(String pValue)
The name of the layer in the map. |
void |
setQueryFilterByRef(IQueryFilter ppValue)
The query filter used to constrain the search. |
Method Detail |
---|
String getDataLayerName() throws IOException, AutomationException
DataLayerName specifies the name of a data layer in the associate map service to load as network locations.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setDataLayerName(String pValue) throws IOException, AutomationException
DataLayerName specifies the name of a data layer in the associate map service to load as network locations.
pValue
- The pValue (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.IQueryFilter getQueryFilter() throws IOException, AutomationException
QueryFilter specifies an instance of QueryFilter or SpatialFilter used to constrain the input features.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.void setQueryFilterByRef(IQueryFilter ppValue) throws IOException, AutomationException
QueryFilter specifies an instance of QueryFilter or SpatialFilter used to constrain the input features.
ppValue
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |