org.onebusaway.gtfs_transformer.factory
Class EntityRetentionGraph
java.lang.Object
org.onebusaway.gtfs_transformer.factory.EntityRetentionGraph
public class EntityRetentionGraph
- extends java.lang.Object
We have the concept of retaining up and retaining down.
Retain up: retain things that depend on the target object
Retain down: retain things that the target object depends on
Usually, we start by retaining some object, which starts as series of
"retain up" operations to grab everything that depends on that object. As
each object is retained up, it typically at this point also starts a
subsequent chain of retain down operations, so that the dependencies of that
object are retained as well.
- Author:
- bdferris
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityRetentionGraph
public EntityRetentionGraph(GtfsRelationalDao dao)
setRetainBlocks
public void setRetainBlocks(boolean retainBlocks)
setRetainAllStopTimesForTrip
public void setRetainAllStopTimesForTrip(boolean retainAllStopTimesForTrip)
retain
public void retain(java.lang.Object object)
isRetained
public boolean isRetained(java.lang.Object object)
getSize
public int getSize()
Copyright © 2011 OneBusAway. All Rights Reserved.