|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.synyx.hades.dao.orm.GenericDaoSupport.ReflectiveIsNewStrategy
public static class GenericDaoSupport.ReflectiveIsNewStrategy
GenericDaoSupport.IsNewStrategy implementation that reflectively checks a
Field or Method annotated with Id.
| Constructor Summary | |
|---|---|
GenericDaoSupport.ReflectiveIsNewStrategy(java.lang.Class<?> domainClass)
Creates a new GenericDaoSupport.ReflectiveIsNewStrategy by inspecting the given
class for a Field or Method for and Id
annotation. |
|
| Method Summary | |
|---|---|
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.ReflectiveIsNewStrategy(java.lang.Class<?> domainClass)
GenericDaoSupport.ReflectiveIsNewStrategy 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.IsNewStrategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||