Class SourceObjectPosition

java.lang.Object
com.esri.arcgisruntime.tasks.networkanalysis.SourceObjectPosition

public final class SourceObjectPosition extends Object
Represents the SourceObjectPosition.
Since:
100.0.0
  • 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