Class BaseTrivialIdTransformer<E extends Entity>

    • Constructor Detail

      • BaseTrivialIdTransformer

        public BaseTrivialIdTransformer()
    • Method Detail

      • fromEntity

        public final Long fromEntity​(E entity)
        Description copied from interface: IdTransformer
        Transform an internal Neo4j node ID of a Entity to a custom ID.
        Parameters:
        entity - to take the ID to transform from. Must not be null.
        Returns:
        transformed custom ID. Never null.