Interface PiTranslationStore<T extends PiTranslatable,​E extends PiEntity>

    • Method Detail

      • addOrUpdate

        void addOrUpdate​(PiHandle handle,
                         PiTranslatedEntity<T,​E> entity)
        Adds or update a mapping between the given PI entity handle and translated entity.
        Parameters:
        handle - PI entity handle
        entity - PI translated entity
      • get

        PiTranslatedEntity<T,​E> get​(PiHandle handle)
        Returns a PI translated entity for the given handle. Returns null if this store does not contain a mapping between the two for the given pipeconf ID.
        Parameters:
        handle - PI entity handle
        Returns:
        PI translated entity
      • remove

        void remove​(PiHandle handle)
        Removes a previously added mapping for the given PI entity handle.
        Parameters:
        handle - PI entity handle