public class JpaTimeUnitDao extends org.eurekaclinical.standardapis.dao.GenericDao<TimeUnit,Long> implements TimeUnitDao
| Modifier | Constructor and Description |
|---|---|
protected |
JpaTimeUnitDao(com.google.inject.Provider<javax.persistence.EntityManager> inManagerProvider) |
| Modifier and Type | Method and Description |
|---|---|
List<TimeUnit> |
getAllAsc() |
TimeUnit |
getByName(String inName)
Gets a value comparator based on the name attribute.
|
TimeUnit |
getDefault() |
create, getAll, getEntityManager, getListAsc, getListByAttribute, getListByAttribute, getListByAttribute, getUniqueByAttribute, getUniqueByAttribute, refresh, remove, retrieve, update@Inject protected JpaTimeUnitDao(com.google.inject.Provider<javax.persistence.EntityManager> inManagerProvider)
public TimeUnit getByName(String inName)
TimeUnitDaogetByName in interface TimeUnitDaoinName - the name to search for in the databaseTimeUnit with the given name if found, null
otherwisepublic TimeUnit getDefault()
getDefault in interface TimeUnitDaopublic List<TimeUnit> getAllAsc()
getAllAsc in interface TimeUnitDaoCopyright © 2012–2016 Emory University. All rights reserved.