Interface RoutedTrip

    • Field Detail

      • ROUTED_TRIP_ID_CLASS

        static final Class<RoutedTrip> ROUTED_TRIP_ID_CLASS
        id class for generating ids
    • Method Detail

      • getIdClass

        default Class<? extends RoutedTrip> getIdClass()
        Each managed id class is expected to generate its ids based on its class signature. To be able to generate the correct id the class used for id generation is to be provided via this method call.
        Specified by:
        getIdClass in interface ManagedId
        Returns:
        idClass to use for generating ids for instances of this idable derived class
      • getUsedServiceNodes

        Set<ServiceNode> getUsedServiceNodes()
        Get all used service nodes along the trip
        Returns:
        used service nodes
      • shallowClone

        RoutedTrip shallowClone()
        Create a shallow copy of this entity
        Specified by:
        shallowClone in interface IdAble
        Returns:
        shallow copy of entity
      • deepClone

        RoutedTrip deepClone()
        An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call. To be used with caution if not called by managed id container related code
        Specified by:
        deepClone in interface IdAble
        Returns:
        deep copy of entity