Class AbstractIdentifiableSingleEntityMergeStrategy<T extends org.onebusaway.gtfs.model.IdentityBean<?>>

Type Parameters:
T - the type of the GTFS entity that this merge strategy handles
All Implemented Interfaces:
EntityMergeStrategy
Direct Known Subclasses:
AgencyMergeStrategy, AreaMergeStrategy, FareAttributeMergeStrategy, FeedInfoMergeStrategy, RouteMergeStrategy, StopMergeStrategy, TripMergeStrategy

public abstract class AbstractIdentifiableSingleEntityMergeStrategy<T extends org.onebusaway.gtfs.model.IdentityBean<?>> extends AbstractSingleEntityMergeStrategy<T>
Abstract base class that defines common methods and properties for merging single GTFS entities with explicit identifiers in a GTFS feed.
Author:
bdferris
  • Field Details

    • _duplicateScoringStrategy

      protected AndDuplicateScoringStrategy<T extends org.onebusaway.gtfs.model.IdentityBean<?>> _duplicateScoringStrategy
      When comparing entities between two feeds to see if they are duplicates, we use the specified scoring strategy to score the amount of duplication between the two entities. Sub-classes can add rules to this scoring strategy specific to their entity type to guide duplication scoring.
  • Constructor Details

    • AbstractIdentifiableSingleEntityMergeStrategy

      public AbstractIdentifiableSingleEntityMergeStrategy(Class<T> entityType)
  • Method Details