Class RoutedTripImpl

    • Constructor Detail

      • RoutedTripImpl

        public RoutedTripImpl​(IdGroupingToken tokenId)
        Constructor
        Parameters:
        tokenId - to use for id generation
      • RoutedTripImpl

        public RoutedTripImpl​(RoutedTripImpl routedTripImpl)
        Copy constructor
        Parameters:
        routedTripImpl - to copy
    • Method Detail

      • generateId

        protected static long generateId​(IdGroupingToken tokenId)
        Generate id for instances of this class based on the token and class identifier
        Parameters:
        tokenId - to use
        Returns:
        generated id
      • recreateManagedIds

        public long recreateManagedIds​(IdGroupingToken tokenId)
        recreate the internal id(s) and set them including the Idable id
        Specified by:
        recreateManagedIds in interface ManagedId
        Parameters:
        tokenId - to use
        Returns:
        the updated internal id