JOpt.SDK
Interface IResource

All Superinterfaces:
IDistanceMatrixEntry
All Known Subinterfaces:
ICapacityResource, IGeoResource
All Known Implementing Classes:
CapacityResource

public interface IResource
extends IDistanceMatrixEntry

IResource provides access to the resources' basic attributes. Resources are required to execute an optimization. A resource can be a vehicle, an employee or an abstract working unit.


Method Summary
 java.lang.String getResourceId()
           
 void setResourceId(java.lang.String resourceId)
           
 
Methods inherited from interface JOpt.SDK.IDistanceMatrixEntry
getDistMatrixId, setDistMatrixId
 

Method Detail

setResourceId

public void setResourceId(java.lang.String resourceId)
Parameters:
resourceId - the resource's unique id

getResourceId

public java.lang.String getResourceId()
Returns:
the resource's unique id