Module com.esri.arcgisruntime
Class SourceObjectPosition
java.lang.Object
com.esri.arcgisruntime.tasks.networkanalysis.SourceObjectPosition
Represents the SourceObjectPosition.
- Since:
- 100.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleGets the position.intGets the source index.longGets the source ObjectId.voidsetPosition(double position) Sets the position.voidsetSourceIndex(int sourceIndex) Sets the source index.voidsetSourceObjectId(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
-