Class JoinedRouteDetailController
java.lang.Object
com.dna.jopt.member.bucket.shared.AbstractJoinedDetailController
com.dna.jopt.member.bucket.route.controller.detail.JoinedRouteDetailController
- All Implemented Interfaces:
IJoinedRouteDetailController
,IJoinedDetailController
,Serializable
,Cloneable
public class JoinedRouteDetailController
extends AbstractJoinedDetailController
implements IJoinedRouteDetailController
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCurProductiveTime
(INode curNode, long productiveTime) Adds the cur productive time.copy()
Copy.int
getCountByColorCode
(int colorCode) long
Gets the cur productive time.Gets the end anchor depature.Gets the present color codes.long
getProductiveTimeByColorCode
(int colorCode) Gets the productive time by color code.boolean
Checks if is node color coding in use.void
reset()
Reset.void
setEndAnchorDeparture
(long endAnchorDepatureMillis) Sets the end anchor departure.void
setProductiveTimeColorCountMap
(Map<Integer, Integer> productiveColorCountMap) void
setProductiveTimeColorMap
(Map<Integer, Long> productiveColorMap) Methods inherited from class com.dna.jopt.member.bucket.shared.AbstractJoinedDetailController
addCurAbsoluteClockTime, addCurDistance, addCurFlexTimeUsage, addCurIdleTime, addCurInducedIdleTime, addCurPostFlexTimeUsage, addCurTransitTime, addCurWhiteSpaceIdleTime, addTerminationTransitDistance, addTerminationTransitTime, getCurAbsoluteClockTime, getCurDistance, getCurFlexTimeUsage, getCurFlexTimeUsage, getCurIdleTime, getCurInducedIdleTime, getCurPostFlexTimeUsage, getCurPostFlexTimeUsage, getCurResourceDepot, getCurTransitTime, getCurVisitorCapacity, getCurVisitorLoad, getCurWhitSpaceIdleTime, getDistances, getTerminationTransitDistance, getTerminationTransitTime, getUnassignNodeManager, setCurAbsoluteClockTime, setCurDistance, setCurFlexTimeUsage, setCurIdleTime, setCurInducedIdleTime, setCurPostFlexTimeUsage, setCurResourceDepot, setCurTransitTime, setCurVisitorCapacity, setCurVisitorLoad, setCurWhiteSpaceIdleTime, setTerminationTransitDistance, setTerminationTransitTime, setUnassignNodeManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.dna.jopt.member.bucket.shared.IJoinedDetailController
addCurAbsoluteClockTime, addCurDistance, addCurFlexTimeUsage, addCurIdleTime, addCurInducedIdleTime, addCurPostFlexTimeUsage, addCurTransitTime, addCurWhiteSpaceIdleTime, addTerminationTransitDistance, addTerminationTransitTime, getCurAbsoluteClockTime, getCurDistance, getCurFlexTimeUsage, getCurFlexTimeUsage, getCurIdleTime, getCurInducedIdleTime, getCurPostFlexTimeUsage, getCurPostFlexTimeUsage, getCurResourceDepot, getCurTransitTime, getCurVisitorCapacity, getCurVisitorLoad, getCurWhitSpaceIdleTime, getDistances, getTerminationTransitDistance, getTerminationTransitTime, getUnassignNodeManager, setCurAbsoluteClockTime, setCurDistance, setCurFlexTimeUsage, setCurIdleTime, setCurInducedIdleTime, setCurPostFlexTimeUsage, setCurResourceDepot, setCurTransitTime, setCurVisitorCapacity, setCurVisitorLoad, setCurWhiteSpaceIdleTime, setTerminationTransitDistance, setTerminationTransitTime, setUnassignNodeManager
-
Constructor Details
-
JoinedRouteDetailController
public JoinedRouteDetailController()
-
-
Method Details
-
reset
public void reset()Description copied from interface:IJoinedDetailController
Reset.- Specified by:
reset
in interfaceIJoinedDetailController
-
setProductiveTimeColorMap
-
setProductiveTimeColorCountMap
-
addCurProductiveTime
Description copied from interface:IJoinedRouteDetailController
Adds the cur productive time.- Specified by:
addCurProductiveTime
in interfaceIJoinedRouteDetailController
- Parameters:
curNode
- the cur nodeproductiveTime
- the productive time
-
getProductiveTimes
- Specified by:
getProductiveTimes
in interfaceIJoinedRouteDetailController
-
isNodeColorCodingInUse
public boolean isNodeColorCodingInUse()Description copied from interface:IJoinedRouteDetailController
Checks if is node color coding in use.- Specified by:
isNodeColorCodingInUse
in interfaceIJoinedRouteDetailController
- Returns:
- true, if is node color coding in use
-
getPresentColorCodes
Description copied from interface:IJoinedRouteDetailController
Gets the present color codes.- Specified by:
getPresentColorCodes
in interfaceIJoinedRouteDetailController
- Returns:
- the present color codes
-
getProductiveTimeByColorCode
public long getProductiveTimeByColorCode(int colorCode) Description copied from interface:IJoinedRouteDetailController
Gets the productive time by color code.- Specified by:
getProductiveTimeByColorCode
in interfaceIJoinedRouteDetailController
- Parameters:
colorCode
- the color code- Returns:
- the productive time by color code
-
getCountByColorCode
public int getCountByColorCode(int colorCode) - Specified by:
getCountByColorCode
in interfaceIJoinedRouteDetailController
-
getCurProductiveTime
public long getCurProductiveTime()Description copied from interface:IJoinedDetailController
Gets the cur productive time.- Specified by:
getCurProductiveTime
in interfaceIJoinedDetailController
- Returns:
- the cur productive time
-
copy
Description copied from interface:IJoinedDetailController
Copy.- Specified by:
copy
in interfaceIJoinedDetailController
- Returns:
- the i joined detail controller
-
setEndAnchorDeparture
public void setEndAnchorDeparture(long endAnchorDepatureMillis) Description copied from interface:IJoinedRouteDetailController
Sets the end anchor departure.- Specified by:
setEndAnchorDeparture
in interfaceIJoinedRouteDetailController
- Parameters:
endAnchorDepatureMillis
- the new end anchor departure
-
getEndAnchorDepature
Description copied from interface:IJoinedRouteDetailController
Gets the end anchor depature.- Specified by:
getEndAnchorDepature
in interfaceIJoinedRouteDetailController
- Returns:
- the end anchor depature
-