Interface IdAble

    • Method Detail

      • generateId

        static long generateId​(Class<?> classIdentifier,
                               IdGroupingToken idtoken)
        Convenience method to generate an id using a unique class identifier and idToken which in turn delegates to the IdGenerator.generateId()
        Parameters:
        classIdentifier - to use
        idtoken - to use
        Returns:
        generated id
      • getId

        long getId()
        Collect id of the entity
        Returns:
        id found
      • clone

        IdAble clone()
        Create a shallow copy of this entity
        Returns:
        shallow copy of entity