com.adaptrex.core.persistence.jpa
Class JPAModelInstance
java.lang.Object
com.adaptrex.core.persistence.jpa.JPAModelInstance
- All Implemented Interfaces:
- ORMModelInstance
public class JPAModelInstance
- extends Object
- implements ORMModelInstance
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAModelInstance
public JPAModelInstance(ExtConfig extConfig)
JPAModelInstance
public JPAModelInstance(ExtConfig extConfig,
Object entity)
JPAModelInstance
public JPAModelInstance(ExtConfig extConfig,
Object entity,
javax.persistence.EntityManager db)
getData
public Map<String,Object> getData()
- Specified by:
getData in interface ORMModelInstance
getId
public Object getId()
- Specified by:
getId in interface ORMModelInstance
update
public ORMModelInstance update(Map<String,Object> data)
- Specified by:
update in interface ORMModelInstance
delete
public ORMModelInstance delete()
- Specified by:
delete in interface ORMModelInstance
Copyright © 2012 Adaptrex, LLC. All Rights Reserved.