Module com.esri.arcgisruntime
Class SourceObjectPosition
java.lang.Object
com.esri.arcgisruntime.tasks.networkanalysis.SourceObjectPosition
Represents the SourceObjectPosition.
- Since:
- 100.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Gets the position.int
Gets the source index.long
Gets the source ObjectId.void
setPosition
(double position) Sets the position.void
setSourceIndex
(int sourceIndex) Sets the source index.void
setSourceObjectId
(long sourceObjectId) Sets the source ObjectId.
-
Constructor Details
-
SourceObjectPosition
public SourceObjectPosition(int sourceIndex, long sourceObjectId, double position)
-
-
Method Details
-
getSourceIndex
public int getSourceIndex()Gets the source index.- Returns:
- the source index
- Since:
- 100.0.0
-
setSourceIndex
public void setSourceIndex(int sourceIndex) Sets the source index.- Parameters:
sourceIndex
- source index- Since:
- 100.0.0
-
getSourceObjectId
public long getSourceObjectId()Gets the source ObjectId.- Returns:
- the source object id
- Since:
- 100.0.0
-
setSourceObjectId
public void setSourceObjectId(long sourceObjectId) Sets the source ObjectId.- Parameters:
sourceObjectId
- source object id- Since:
- 100.0.0
-
getPosition
public double getPosition()Gets the position.- Returns:
- the position
- Since:
- 100.0.0
-
setPosition
public void setPosition(double position) Sets the position.- Parameters:
position
- position- Since:
- 100.0.0
-