org.jvnet.hyperjaxb3.ejb.util
Class EntityUtils

java.lang.Object
  extended by org.jvnet.hyperjaxb3.ejb.util.EntityUtils

public class EntityUtils
extends Object


Method Summary
static Object getId(javax.persistence.EntityManager entityManager, Object entity)
           
static Object getId(Object entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getId

public static Object getId(Object entity)
                    throws IllegalArgumentException,
                           IllegalAccessException,
                           InvocationTargetException
Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException

getId

public static Object getId(javax.persistence.EntityManager entityManager,
                           Object entity)
                    throws IllegalArgumentException,
                           IllegalAccessException,
                           InvocationTargetException
Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException


Copyright © 2005-2014. All Rights Reserved.