public < T > Key < T > manualRefToKey ( final Class < T > type , final Object id ) { return id == null ? null : new Key < T > ( type , getCollectionName ( type ) , id ) ; }
Creates a Key for a type and an ID value