return the id of the given entity cast to a specific type . delegates to persistenceunitutil #getidentifier object . concode_field_sep EntityManagerFactory entityManagerFactory concode_field_sep E persistFlushFind concode_elem_sep void flush concode_elem_sep E find concode_elem_sep Object persistAndGetId concode_elem_sep T persistAndGetId concode_elem_sep E merge concode_elem_sep void clear concode_elem_sep E refresh concode_elem_sep void detach concode_elem_sep E persist concode_elem_sep EntityManager getEntityManager concode_elem_sep void remove concode_elem_sep E persistAndFlush
T function ( Object arg0 , Class < T > arg1 ) { Object loc0 = getId ( arg0 ) ; Assert . isInstanceOf ( arg1 , loc0 , "srini_string" ) ; return ( T ) loc0 ; }