basics.route
Class ServiceActivity

java.lang.Object
  extended by basics.route.ServiceActivity
All Implemented Interfaces:
TourActivity, TourActivity.JobActivity<Service>

public class ServiceActivity
extends java.lang.Object
implements TourActivity.JobActivity<Service>


Nested Class Summary
 
Nested classes/interfaces inherited from interface basics.route.TourActivity
TourActivity.JobActivity<T extends Job>
 
Field Summary
 double arrTime
           
 int capacityDemand
           
static int counter
           
 double endTime
           
 
Method Summary
static ServiceActivity copyOf(ServiceActivity serviceActivity)
           
 TourActivity duplicate()
           
 boolean equals(java.lang.Object obj)
           
 double getArrTime()
           
 int getCapacityDemand()
           
 double getEndTime()
           
 Service getJob()
           
 java.lang.String getLocationId()
           
 java.lang.String getName()
           
 double getOperationTime()
           
 double getTheoreticalEarliestOperationStartTime()
           
 double getTheoreticalLatestOperationStartTime()
           
 int hashCode()
           
static ServiceActivity newInstance(Service service)
           
 void setArrTime(double arrTime)
           
 void setEndTime(double endTime)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

counter

public static int counter

arrTime

public double arrTime

endTime

public double endTime

capacityDemand

public int capacityDemand
Method Detail

getArrTime

public double getArrTime()
Specified by:
getArrTime in interface TourActivity
Returns:
the arrTime

setArrTime

public void setArrTime(double arrTime)
Specified by:
setArrTime in interface TourActivity
Parameters:
arrTime - the arrTime to set

getEndTime

public double getEndTime()
Specified by:
getEndTime in interface TourActivity
Returns:
the endTime

setEndTime

public void setEndTime(double endTime)
Specified by:
setEndTime in interface TourActivity
Parameters:
endTime - the endTime to set

copyOf

public static ServiceActivity copyOf(ServiceActivity serviceActivity)

newInstance

public static ServiceActivity newInstance(Service service)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getTheoreticalEarliestOperationStartTime

public double getTheoreticalEarliestOperationStartTime()
Specified by:
getTheoreticalEarliestOperationStartTime in interface TourActivity

getTheoreticalLatestOperationStartTime

public double getTheoreticalLatestOperationStartTime()
Specified by:
getTheoreticalLatestOperationStartTime in interface TourActivity

getCapacityDemand

public int getCapacityDemand()
Specified by:
getCapacityDemand in interface TourActivity

getOperationTime

public double getOperationTime()
Specified by:
getOperationTime in interface TourActivity

getLocationId

public java.lang.String getLocationId()
Specified by:
getLocationId in interface TourActivity

getJob

public Service getJob()
Specified by:
getJob in interface TourActivity.JobActivity<Service>

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()
Specified by:
getName in interface TourActivity

duplicate

public TourActivity duplicate()
Specified by:
duplicate in interface TourActivity