|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.synyx.hades.dao.orm.GenericDaoSupport.ReflectiveEntityInformation
public static class GenericDaoSupport.ReflectiveEntityInformation
GenericDaoSupport.IsNewAware implementation that reflectively checks a
Field or Method annotated with Id.
| Constructor Summary | |
|---|---|
GenericDaoSupport.ReflectiveEntityInformation(java.lang.Class<?> domainClass)
Creates a new GenericDaoSupport.ReflectiveEntityInformation by inspecting the
given class for a Field or Method for and Id
annotation. |
|
| Method Summary | |
|---|---|
java.lang.Object |
getId(java.lang.Object entity)
|
boolean |
isNew(java.lang.Object entity)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GenericDaoSupport.ReflectiveEntityInformation(java.lang.Class<?> domainClass)
GenericDaoSupport.ReflectiveEntityInformation by inspecting the
given class for a Field or Method for and Id
annotation.
domainClass - not null, must be annotated with
Entity and carry an anootation defining the id
property.| Method Detail |
|---|
public boolean isNew(java.lang.Object entity)
isNew in interface GenericDaoSupport.IsNewAwarepublic java.lang.Object getId(java.lang.Object entity)
getId in interface GenericDaoSupport.IdAware
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||